java.lang.Object
org.gjt.sp.jedit.OptionGroup
- Direct Known Subclasses:
GlobalOptionGroup
,PluginOptionGroup
A set of option panes shown in one branch in the options dialog.
Plugins should not create instances of this class directly. See
EditPlugin
for information on how jEdit obtains and constructs
option pane instances.
- Version:
- $Id: OptionGroup.java 21831 2012-06-18 22:54:17Z ezust $
- Author:
- Mike Dillon
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOptionGroup
(String name) Creates an option group.OptionGroup
(String name, String label, String options) Creates an option group. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOptionGroup
(OptionGroup group) void
addOptionPane
(String pane) void
addOptionPane
(OptionPane pane) getLabel()
Returns the option group's human-readable label.getMember
(int index) int
int
getMemberIndex
(Object member) getName()
void
setSort
(boolean sort) Sets if the members of this group should be sorted.
-
Field Details
-
name
-
label
-
members
-
-
Constructor Details
-
OptionGroup
Creates an option group.- Parameters:
name
- The internal name of the option group, used to key a propertyoptions.name.label
which is the label displayed in the options dialog.- See Also:
-
OptionGroup
Creates an option group.- Parameters:
label
- The labeloptions
- A whitespace-separated list of option pane names- Since:
- jEdit 4.2pre2
-
-
Method Details
-
getName
-
getLabel
Returns the option group's human-readable label.- Since:
- jEdit 4.2pre1
-
addOptionGroup
-
addOptionPane
-
addOptionPane
-
getMembers
-
getMember
-
getMemberIndex
-
getMemberCount
public int getMemberCount() -
setSort
public void setSort(boolean sort) Sets if the members of this group should be sorted.- Since:
- jEdit 4.2pre3
-