|
Préférences
Moteurs de recherche
|
||||||||||||||||
| JavaTM Platform, Enterprise Edition, v 5.0
javax.faces.model
|
|||||||||||||||||
| Constructor Summary | |
|---|---|
SelectItemGroup()
Construct a SelectItemGroup with no initialized property
values. |
|
SelectItemGroup(String label)
Construct a SelectItemGroup with the specified label
and no associated selectItems. |
|
SelectItemGroup(String label,
String description,
boolean disabled,
SelectItem[] selectItems)
Construct a SelectItemGroup with the specified
properties. |
|
| Method Summary | |
|---|---|
SelectItem[] |
getSelectItems()
Return the set of subordinate SelectItems for this group. |
void |
setSelectItems(SelectItem[] selectItems)
Set the set of subordinate SelectItems for this group. |
| Methods inherited from class javax.faces.model.SelectItem |
|---|
getDescription, getLabel, getValue, isDisabled, isEscape, setDescription, setDisabled, setEscape, setLabel, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectItemGroup()
Construct a SelectItemGroup with no initialized property
values.
public SelectItemGroup(String label)
Construct a SelectItemGroup with the specified label
and no associated selectItems. The value
property will be set to a zero-length String, the
description property will be set to null,
and the disabled property will be set to false.
label - Label to be rendered for this group in the response
NullPointerException - if label
is falsepublic SelectItemGroup(String label, String description, boolean disabled, SelectItem[] selectItems)
Construct a SelectItemGroup with the specified
properties. The value property will be set to a
zero-length String.
label - Label to be rendered for this group in the responsedescription - Description of this group, for use in toolsdisabled - Flag indicating that this group is disabledselectItems - Array of SelectItem describing the
items available in this group
NullPointerException - if label
or selectItems is false| Method Detail |
|---|
public SelectItem[] getSelectItems()
Return the set of subordinate SelectItems for this group.
public void setSelectItems(SelectItem[] selectItems)
Set the set of subordinate SelectItems for this group.
selectItems - The new set of subordinate items
NullPointerException - if selectItems
is null