|
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.TabbedOptionGroup
A TabbedOptionGroup uses a JTabbedPane to distribute its OptionGroup members into several tabs. It usees the following resoureces:
Resource name | Usage |
---|---|
option.group.groupname.type |
A TabbedOptionGroup is designated by the type tab . |
option.name.disabled |
If true, the group will be disabled and remain so even if
setEnabled(true) is called (optional,
default false). |
option.group.groupname.numtabs |
The number of tabs in the group. |
option.group.groupname.tabn.group |
The name of the OptionGroup to put on the nth tab, where n is between 1 and numtabs. |
option.group.groupname.tabn.title |
The title for the nth tab, where n is between 1 and numtabs. |
option.group.groupname.frame |
Whether the group should have a framed border (optional, default false). |
option.group.groupname.title |
The title for a framed border of the group. Ignored if no frame is specified(optional, default empty). |
Field Summary | |
protected javax.swing.JTabbedPane |
pane
The JTabbedPane Component. |
Fields inherited from class de.qfs.lib.option.OptionGroup |
disabled, enabled, members, name, options, parent, title, titleBorder |
Constructor Summary | |
protected |
TabbedOptionGroup()
No arg constructor for customized OptionGroups. |
|
TabbedOptionGroup(java.lang.String name,
OptionSet options)
Create a new TabbedOptionGroup. |
Method Summary | |
protected void |
createMembers()
Create the tabs for the TabbedOptionGroup. |
java.awt.Component |
getComponent()
Get the AWT Component for the OptionGroup. |
protected void |
makePane()
Create the JTabbedPane for the tab members. |
Methods inherited from class de.qfs.lib.option.OptionGroup |
checkValues, findEdit, findGroup, getBoolean, getGroup, getIndexOfMember, getInt, getMember, getMemberCount, getName, getParentGroup, getString, isDisabled, makeBorder, makeGroup, notifyOptionObservers, readValues, setDisabled, setEnabled, setParentGroup, setTitle, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.JTabbedPane pane
Constructor Detail |
protected TabbedOptionGroup()
public TabbedOptionGroup(java.lang.String name, OptionSet options)
name
- The name of the group.options
- The Options to edit.Method Detail |
public java.awt.Component getComponent()
getComponent
in class OptionGroup
protected void createMembers()
createMembers
in class OptionGroup
protected void makePane()
|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |