Uses of Interface
org.crosswire.common.config.Choice

Packages that use Choice
org.crosswire.common.config Config allows an application to separate the responsibilities of setting itself up, and providing a user interface from the real work that it needs to do. 
org.crosswire.common.config.swing The Config package is view independent and so needs a view package to be useful in providing a user interface - this package implements a Swing UI for config. 
 

Uses of Choice in org.crosswire.common.config
 

Subinterfaces of Choice in org.crosswire.common.config
 interface MultipleChoice
          MultipleChoice is simply a Choice where there are a number of alternative options.
 

Classes in org.crosswire.common.config that implement Choice
 class AbstractReflectedChoice
          A helper for when we need to be a choice created dynamically.
 class BooleanChoice
          A class to convert between strings and objects of a type.
 class ClassChoice
          A class to convert between strings and objects of a type.
 class DirectoryChoice
          A class to convert between strings and objects of a type.
 class FileChoice
          A class to convert between files and objects of a type.
 class FontChoice
          A class to convert between strings and objects of a type.
 class IntOptionsChoice
          A class to convert between strings and objects of a type.
 class NumberChoice
          A class to convert between strings and objects of a type.
 class PathChoice
          A class to convert between strings and objects of a type.
 class StringArrayChoice
          A class to convert between strings and objects of a type.
 class StringChoice
          A type of Choice that converts between strings and objects.
 class StringOptionsChoice
          A class to convert between strings and objects of a type.
 

Fields in org.crosswire.common.config declared as Choice
private  Choice ConfigEvent.model
          The Choice
 

Methods in org.crosswire.common.config that return Choice
 Choice ConfigEvent.getChoice()
          Returns the choice.
static Choice ChoiceFactory.getChoice(org.jdom.Element option, ResourceBundle configResources)
          Get a ChoiceFactory by element.
 Choice Config.getChoice(String key)
          Step through the keys
 Choice ConfigEvent.getPath()
          Returns the choice.
 

Methods in org.crosswire.common.config with parameters of type Choice
 void Config.add(String key, Choice model)
          Add a key/model pairing
protected  void Config.fireChoiceAdded(String key, Choice model)
          A Choice got added
protected  void Config.fireChoiceRemoved(String key, Choice model)
          A Choice got added
 

Constructors in org.crosswire.common.config with parameters of type Choice
ConfigEvent(Object source, String key, Choice model)
          Constructs an ConfigEvent object.
 

Uses of Choice in org.crosswire.common.config.swing
 

Methods in org.crosswire.common.config.swing with parameters of type Choice
protected  void AbstractConfigEditor.addChoice(String key, Choice model)
          Add a Choice to our set of panels
protected  void AdvancedConfigEditor.addChoice(String key, Choice model)
          Add a Choice to our set of panels
protected  void TreeConfigEditor.addChoice(String key, Choice model)
          Add a Choice to our set of panels
static Field FieldMap.getField(Choice type)
          Get a field from a string
protected  void AbstractConfigEditor.removeChoice(String key, Choice model)
          Add a Choice to our set of panels
protected  void TreeConfigEditor.removeChoice(String key, Choice model)
          Add a Choice to our set of panels
 void BooleanField.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 void ColorField.setChoice(Choice param)
           
 void Field.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 void FileField.setChoice(Choice param)
           
 void FontField.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 void MapField.setChoice(Choice param)
           
 void NumberField.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 void OptionsField.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 void PasswordField.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 void PathField.setChoice(Choice param)
           
 void StringArrayField.setChoice(Choice param)
           
 void TextField.setChoice(Choice param)
          Some fields will need some extra info to display properly like the options in an options field.
 


Copyright ยจ 2003-2005