Search this API

y.option
Class PropertiesGuiFactory

java.lang.Object
  extended by y.option.AbstractGuiFactory
      extended by y.option.PropertiesGuiFactory
All Implemented Interfaces:
GuiFactory

public class PropertiesGuiFactory
extends AbstractGuiFactory

Simple default implementation of GuiFactory which takes the String values from a Map or Properties object.

 

Constructor Summary
PropertiesGuiFactory(java.util.Properties properties)
          Creates a new instance of PropertiesGuiFactory.
 
Method Summary
 java.lang.String getString(java.lang.String key)
          Localize a string.
 
Methods inherited from class y.option.AbstractGuiFactory
createButton, createHelpAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesGuiFactory

public PropertiesGuiFactory(java.util.Properties properties)
Creates a new instance of PropertiesGuiFactory.

Method Detail

getString

public java.lang.String getString(java.lang.String key)
Localize a string.

Parameters:
key - the key
Returns:
the localized value

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.