|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Optionable.java An object implementing this interface may be in several different states, that is provide options. These options can then be stored or in other ways treated at some time point, and may also need to be set at some point. Essentially this interface was written to provide an easy way of serialising user defined options. The options should be provided in the form of a hashtable. Every Optionable object must provide a name by which it wants to group its options, so that instances of an object do not (necessarily) conflict with each others options Created: Mon Feb 01 16:11:12 1999
Method Summary | |
String |
getOptionGroupName()
This string is used as an identifier for the groups of options. |
OptionHandler |
getOptionHandler()
Get the value of OptionHandler. |
Object |
getOptions()
This method provides the current state of object as a map of objects |
void |
setOptionHandler(OptionHandler OptionHandler)
Set the value of OptionHandler. |
void |
setOptions(Object options)
Sets the options for this object |
Method Detail |
public String getOptionGroupName()
public Object getOptions()
public void setOptions(Object options)
public OptionHandler getOptionHandler()
public void setOptionHandler(OptionHandler OptionHandler)
OptionHandler
- the value to assign to OptionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |