|
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.PlainOptionGroup
A PlainOptionGroup packs Options and Subgroups together into a Grid. It uses the following resources:
Resource name | Usage |
---|---|
option.group.groupname.type |
A PlainOptionGroup is designated by the type plain . |
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.members |
The members of the group, a space separated list where name denotes an Option and group.groupname denotes an OptionGroup. |
option.group.groupname.columns |
The number of columns in which to place the members of the group (optional, default 1). |
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 Grid |
grid
The Grid Component that holds the members of the PlainOptionGroup. |
Fields inherited from class de.qfs.lib.option.OptionGroup |
disabled, enabled, members, name, options, parent, title, titleBorder |
Constructor Summary | |
protected |
PlainOptionGroup()
No arg constructor for customized OptionGroups. |
|
PlainOptionGroup(java.lang.String name,
OptionSet options)
Create a new PlainOptionGroup. |
Method Summary | |
java.awt.Component |
getComponent()
Get the AWT Component for the OptionGroup. |
protected void |
makeGrid()
Create the Grid component for the group members. |
Methods inherited from class de.qfs.lib.option.OptionGroup |
checkValues, createMembers, 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 Grid grid
Constructor Detail |
protected PlainOptionGroup()
public PlainOptionGroup(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 makeGrid()
|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |