|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.gui.utils.OptionsStorage
The OptionsStorage
class stores all of the user's
selected/deselected options in a HashMap
. The map's key
is a unique name for the options and the value is the option(s)
(i.e. JCheckBox
es).
Examples of options are:
Constructor Summary | |
OptionsStorage()
Constructor. |
Method Summary | |
java.lang.Object |
getOptions(java.lang.String key)
Returns the options associated with the given key . |
void |
setOptions(java.lang.String key,
java.lang.Object options)
Puts the given key and the given options
into the OptionsStorage HashMap . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OptionsStorage()
Method Detail |
public java.lang.Object getOptions(java.lang.String key)
key
.
key
- the unique name for the options to retrieve
key
public void setOptions(java.lang.String key, java.lang.Object options)
key
and the given options
into the OptionsStorage HashMap
.
key
- the unique name of the options to storeoptions
- the actual options to store
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |