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-based index. The member option panes will appear as leaf nodes under the group's node. Three simple methods create and populate an option pane:
public OptionGroup
(String name);
The constructor's single parameter represents the internal name of the option group. The internal name is used to key a property where the option group's label is stored; see the section called "Plugin Properties".
public void addOptionPane
(OptionPane pane);
public void addOptionGroup
(OptionGroup group);
This pair of methods adds members to the option group. The second method enables option groups to be nested, for plugins with a particularly large set of configurable options.