UISelectItem is a component that may be
nested inside a UISelectMany or UISelectOne component, and causes the addition of a
SelectItem instance to the list of available options for the parent component. The contents of the
SelectItem can be specified in one of the following ways:
value attribute's value is an instance of SelectItem.jakarta.el.ValueExpression points at a model data item of type SelectItem.SelectItem instance is synthesized from the values of the itemDescription,
itemDisabled, itemLabel, itemEscaped, and itemValue attributes.| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_FAMILY
The standard component family for this component. |
| public static final String | COMPONENT_TYPE
The standard component type for this component. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFamily()
Implements abstract jakarta. Return the identifier of the component family to which this component belongs. |
| public String | |
| public String | |
| public Object | |
| public Object | |
| public boolean | Returns: true is the item disabled, false otherwise.Return the disabled setting for this selection item. |
| public boolean | Returns: true if the item is escaped, false otherwise.Return the escape setting for the label of this selection item. |
| public boolean | Returns: the no selection option.
Return the value of the |
| public void | setItemDescription(String
The new description itemDescription)Set the description for this selection item. |
| public void | setItemDisabled(boolean
The new disabled flag itemDisabled)Set the disabled value for this selection item. |
| public void | setItemEscaped(boolean
The new disabled flag itemEscaped)Set the escape value for the label of this selection item. |
| public void | setItemLabel(String
The new localized label itemLabel)Set the localized label for this selection item. |
| public void | |
| public void | setNoSelectionOption(boolean
the no selection option. noSelectionOption)
Set the value of the |
| public void |
| COMPONENT_FAMILY | back to summary |
|---|---|
| public static final String COMPONENT_FAMILY The standard component family for this component. | |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE The standard component type for this component. | |
| UISelectItem | back to summary |
|---|---|
| public UISelectItem()
Create a new | |
| getFamily | back to summary |
|---|---|
| public String getFamily() Implements abstract jakarta. Doc from jakarta.
Return the identifier of the component family to which this component belongs. This identifier, in conjunction with
the value of the | |
| getItemDescription | back to summary |
|---|---|
| public String getItemDescription() Return the description for this selection item.
| |
| getItemLabel | back to summary |
|---|---|
| public String getItemLabel() Return the localized label for this selection item.
| |
| getItemValue | back to summary |
|---|---|
| public Object getItemValue() Return the server value for this selection item.
| |
| getValue | back to summary |
|---|---|
| public Object getValue()
Returns the
| |
| isItemDisabled | back to summary |
|---|---|
| public boolean isItemDisabled() Return the disabled setting for this selection item.
| |
| isItemEscaped | back to summary |
|---|---|
| public boolean isItemEscaped() Return the escape setting for the label of this selection item.
| |
| isNoSelectionOption | back to summary |
|---|---|
| public boolean isNoSelectionOption()
Return the value of the
| |
| setItemDescription | back to summary |
|---|---|
| public void setItemDescription(String itemDescription) Set the description for this selection item.
| |
| setItemDisabled | back to summary |
|---|---|
| public void setItemDisabled(boolean itemDisabled) Set the disabled value for this selection item.
| |
| setItemEscaped | back to summary |
|---|---|
| public void setItemEscaped(boolean itemEscaped) Set the escape value for the label of this selection item.
| |
| setItemLabel | back to summary |
|---|---|
| public void setItemLabel(String itemLabel) Set the localized label for this selection item.
| |
| setItemValue | back to summary |
|---|---|
| public void setItemValue(Object itemValue) Set the server value for this selection item.
| |
| setNoSelectionOption | back to summary |
|---|---|
| public void setNoSelectionOption(boolean noSelectionOption)
Set the value of the
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object value)
Sets the
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final UISelectItem. | |
| public static final UISelectItem. | |
| public static final UISelectItem. | |
| public static final UISelectItem. | |
| public static final UISelectItem. | |
| public static final UISelectItem. | |
| public static final UISelectItem. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UISelectItem. | |
| public static UISelectItem. |
| itemDescription | back to summary |
|---|---|
| public static final UISelectItem. | |
| itemDisabled | back to summary |
|---|---|
| public static final UISelectItem. | |
| itemEscaped | back to summary |
|---|---|
| public static final UISelectItem. | |
| itemLabel | back to summary |
|---|---|
| public static final UISelectItem. | |
| itemValue | back to summary |
|---|---|
| public static final UISelectItem. | |
| noSelectionOption | back to summary |
|---|---|
| public static final UISelectItem. | |
| value | back to summary |
|---|---|
| public static final UISelectItem. | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys() | |
| valueOf | back to summary |
|---|---|
| public static UISelectItem. | |
| values | back to summary |
|---|---|
| public static UISelectItem. | |