|
qflib 0.98.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--de.qfs.lib.option.OptionGroup
|
+--de.qfs.lib.option.NestedOptionGroup
A NestedOptionGroup represents a NestedOption in an
OptionSet. It is used to edit hierarchies of Options.
See the package documentation for details about the necessary resources.
| Field Summary | |
protected OptionGroup |
nested
The nested OptionGroup. |
protected Option |
option
The option holding the nested OptionSet. |
| Fields inherited from class de.qfs.lib.option.OptionGroup |
disabled, enabled, members, name, options, parent, title, titleBorder |
| Constructor Summary | |
protected |
NestedOptionGroup()
No arg constructor for customized OptionGroups. |
|
NestedOptionGroup(java.lang.String name,
OptionSet options)
Create a new NestedOptionGroup. |
| Method Summary | |
boolean |
checkValues()
Check whether all members of the nested group contain valid values. |
java.awt.Component |
getComponent()
Get the AWT Component for the OptionGroup. |
int |
getIndexOfMember(java.lang.Object member)
Find a member of the OptionGroup and get its index. |
java.lang.Object |
getMember(int index)
Get a member of the group. |
int |
getMemberCount()
Get the number of members of the OptionGroup. |
OptionGroup |
getParentGroup()
Get the parent of the OptionGroup. |
void |
notifyOptionObservers()
Notify the option's Observers. |
void |
readValues()
Read the values from the nested group components and store them into the Options. |
void |
setEnabled(boolean enabled)
Set the enabled state for the nested group. |
void |
setParentGroup(OptionGroup parent)
Set the parent of the OptionGroup. |
void |
setTitle(java.lang.String title)
Set the title of the OptionGroup. |
void |
update(OptionSet options)
Update display for possibly new Options. |
| Methods inherited from class de.qfs.lib.option.OptionGroup |
createMembers, findEdit, findGroup, getBoolean, getGroup, getInt, getName, getString, isDisabled, makeBorder, makeGroup, setDisabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Option option
protected OptionGroup nested
| Constructor Detail |
protected NestedOptionGroup()
public NestedOptionGroup(java.lang.String name,
OptionSet options)
name - The name of the group.options - The options to edit.| Method Detail |
public boolean checkValues()
checkValues in class OptionGrouppublic void readValues()
checkValues
succeeded.readValues in class OptionGrouppublic void notifyOptionObservers()
notifyOptionObservers in class OptionGrouppublic void update(OptionSet options)
update in class OptionGroupoptions - The new OptionSet.public void setEnabled(boolean enabled)
setEnabled in class OptionGroupenabled - The enabled state to set.public java.awt.Component getComponent()
getComponent in class OptionGrouppublic void setTitle(java.lang.String title)
setTitle in class OptionGrouptitle - The title to set.public OptionGroup getParentGroup()
getParentGroup in class OptionGrouppublic void setParentGroup(OptionGroup parent)
setParentGroup in class OptionGroupparent - The parent to set.public int getMemberCount()
getMemberCount in class OptionGrouppublic java.lang.Object getMember(int index)
getMember in class OptionGroupindex - The index of the member.public int getIndexOfMember(java.lang.Object member)
getIndexOfMember in class OptionGroupmember - The member to look for.
|
qflib 0.98.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||