|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsxe.options.OptionGroup
A set of option panes shown in one branch in the options dialog.
In those cases where a single option pane is inadequate to present all of a plugin's configuration options, this class can be used to create a group of options panes. The group will appear as a single node in the options dialog tree. The member option panes will appear as leaf nodes under the group's node.
OptionPane
,
OptionsDialog.addOptionGroup(OptionGroup)
Constructor Summary | |
OptionGroup(String name,
String title)
Creates an option group. |
Method Summary | |
void |
addOptionGroup(OptionGroup group)
Adds a group as a child in the option tree. |
void |
addOptionPane(OptionPane pane)
Adds an OptionPane as a leaf node in the option tree. |
Object |
getMember(int index)
Gets a specific member of the option group |
int |
getMemberCount()
Gets the number of members in this group |
int |
getMemberIndex(Object member)
Gets the index of a member |
Enumeration |
getMembers()
Gets the members of this option group |
String |
getName()
Gets the internal name of the option group |
String |
getTitle()
Gets the title for the option group |
void |
save()
Saves the options in all options panes |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OptionGroup(String name, String title)
name
- The internal name of the option group, used to key a
property options.name.label
which is the
label displayed in the options dialog.Method Detail |
public String getName()
public String getTitle()
public void addOptionGroup(OptionGroup group)
group
- the group to addpublic void addOptionPane(OptionPane pane)
pane
- the OptionPane to add to this grouppublic Enumeration getMembers()
public Object getMember(int index)
public int getMemberIndex(Object member)
public int getMemberCount()
public void save()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |