y.option
Class PropertiesGuiFactory
java.lang.Object
y.option.AbstractGuiFactory
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesGuiFactory
public PropertiesGuiFactory(Properties properties)
- Creates a new instance of PropertiesGuiFactory.
getString
public String getString(String key)
- Localize a string.
- Parameters:
key
- the key
- Returns:
- the localized value