y.option
Class PropertiesGuiFactory

java.lang.Object
  |
  +--y.option.AbstractGuiFactory
        |
        +--y.option.PropertiesGuiFactory
All Implemented Interfaces:
GuiFactory

public class PropertiesGuiFactory
extends AbstractGuiFactory

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


Constructor Summary
PropertiesGuiFactory(Properties properties)
          Creates a new instance of PropertiesGuiFactory
 
Method Summary
 String getString(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(Properties properties)
Creates a new instance of PropertiesGuiFactory

Method Detail

getString

public String getString(String key)
Localize a string

Parameters:
key - the key
Returns:
the localized value

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

2003