java.lang.Objectjavax.faces.model.SelectItem
javax.faces.model.SelectItemGroup
All Implemented Interfaces:
Serializable
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.
Constructor: |
---|
Construct a |
Construct a
|
Construct a
|
Method from javax.faces.model.SelectItemGroup Summary: |
---|
getSelectItems, setSelectItems |
Methods from javax.faces.model.SelectItem: |
---|
getDescription, getLabel, getValue, isDisabled, isEscape, isNoSelectionOption, setDescription, setDisabled, setEscape, setLabel, setNoSelectionOption, setValue |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.model.SelectItemGroup Detail: |
---|
Return the set of subordinate SelectItem s for this group. |
Set the set of subordinate SelectItem s for this group. |