SelectItemGroup is a subclass of SelectItem that
identifies a set of options that will be made available as a subordinate
"submenu" or "options list", depending upon the requirements of the
UISelectMany or UISelectOne renderer that is actually used.
In general, the value property of this instance will be ignored,
and the label property of this instance will be used to label
the submenu.
Although it is feasible to incorporate SelectItemGroup instances
in he selectItems property of this instance (thereby creating
a data structure suitable for cascading submenus), some renderers may place
restrictions on the level of nesting they support. For example, HTML based
renderers that create an <select> element will typically
render this instance as an <optgroup> element, but the
HTML 4.01 Specification disallows nested option groups.
| Modifier and Type | Field and Description |
|---|---|
| private SelectItem[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SelectItemGroup(String
Label to be rendered for this group in the response label)Construct a |
| public | SelectItemGroup(String
Label to be rendered for this group in the response label, String Description of this group, for use in tools description, boolean Flag indicating that this group is disabled disabled, SelectItem[] Array of selectItems)SelectItem describing the
items available in this groupConstruct a |
| Modifier and Type | Method and Description |
|---|---|
| public SelectItem[] | Returns: the set of subordinateSelectItems for this groupReturn the set of subordinate |
| public void | setSelectItems(SelectItem[]
The new set of subordinate items selectItems)Set the set of subordinate |
| selectItems | back to summary |
|---|---|
| private SelectItem[] selectItems | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SelectItemGroup | back to summary |
|---|---|
| public SelectItemGroup() Construct a | |
| SelectItemGroup | back to summary |
|---|---|
| public SelectItemGroup(String label) Construct a
| |
| SelectItemGroup | back to summary |
|---|---|
| public SelectItemGroup(String label, String description, boolean disabled, SelectItem[] selectItems) Construct a
| |
| getSelectItems | back to summary |
|---|---|
| public SelectItem[] getSelectItems() Return the set of subordinate
| |
| setSelectItems | back to summary |
|---|---|
| public void setSelectItems(SelectItem[] selectItems) Set the set of subordinate
| |