SelectItem represents a single item
in the list of supported items associated with a UISelectMany or UISelectOne component.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private boolean | |
| private String | |
| private boolean | |
| private static final long | |
| private Object |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SelectItem(Object
Value to be delivered to the model if this item is selected by the user value)
Construct a |
| public | SelectItem(Object
Value to be delivered to the model if this item is selected by the user value, String Label to be rendered for this item in the response label)
Construct a |
| public | SelectItem(Object
Value to be delivered to the model if this item is selected by the user value, String Label to be rendered for this item in the response label, String Description of this item, for use in tools description)
Construct a |
| public | SelectItem(Object
Value to be delivered to the model if this item is selected by the user value, String Label to be rendered for this item in the response label, String Description of this item, for use in tools description, boolean Flag indicating that this option is disabled disabled)
Construct a |
| public | SelectItem(Object
Value to be delivered to the model if this item is selected by the user value, String Label to be rendered for this item in the response label, String Description of this item, for use in tools description, boolean Flag indicating that this option is disabled disabled, boolean Flag indicating that the text of this option should be escaped when rendered. escape)
Construct a |
| public | SelectItem(Object
Value to be delivered to the model if this item is selected by the user value, String Label to be rendered for this item in the response label, String Description of this item, for use in tools description, boolean Flag indicating that this option is disabled disabled, boolean Flag indicating that the text of this option should be escaped when rendered. escape, boolean Flag indicating that the current option is a "no selection" option noSelectionOption)
Construct a |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a description of this item, for use in development toolsReturn a description of this item, for use in development tools. |
| public String | Returns: the label of this itemReturn the label of this item, to be rendered visibly for the user. |
| public Object | Returns: the value of this itemReturn the value of this item, to be delivered to the model if this item is selected by the user. |
| public boolean | Returns: the disabled flag for this item
Return the disabled flag for this item, which should modify the rendered output to make this item unavailable for
selection by the user if set to |
| public boolean | Returns: the escape value.
If and only if this returns |
| public boolean | Returns: the value of thenoSelectionOption property
Return the value of the |
| public void | setDescription(String
The new description description)Set the description of this item, for use in development tools. |
| public void | setDisabled(boolean
The new disabled flag disabled)
Set the disabled flag for this item, which should modify the rendered output to make this item unavailable for
selection by the user if set to |
| public void | |
| public void | |
| public void | setNoSelectionOption(boolean
the new value of the noSelectionOption)noSelectionOption property
Set the value of the |
| public void |
| description | back to summary |
|---|---|
| private String description | |
| disabled | back to summary |
|---|---|
| private boolean disabled | |
| escape | back to summary |
|---|---|
| private boolean escape | |
| label | back to summary |
|---|---|
| private String label | |
| noSelectionOption | back to summary |
|---|---|
| private boolean noSelectionOption | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
private Object value
| |
| SelectItem | back to summary |
|---|---|
| public SelectItem()
Construct a | |
| SelectItem | back to summary |
|---|---|
| public SelectItem(Object value)
Construct a
| |
| SelectItem | back to summary |
|---|---|
| public SelectItem(Object value, String label)
Construct a | |
| SelectItem | back to summary |
|---|---|
| public SelectItem(Object value, String label, String description)
Construct a | |
| SelectItem | back to summary |
|---|---|
| public SelectItem(Object value, String label, String description, boolean disabled)
Construct a | |
| SelectItem | back to summary |
|---|---|
| public SelectItem(Object value, String label, String description, boolean disabled, boolean escape)
Construct a
| |
| SelectItem | back to summary |
|---|---|
| public SelectItem(Object value, String label, String description, boolean disabled, boolean escape, boolean noSelectionOption)
Construct a
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Return a description of this item, for use in development tools.
| |
| getLabel | back to summary |
|---|---|
| public String getLabel() Return the label of this item, to be rendered visibly for the user.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Return the value of this item, to be delivered to the model if this item is selected by the user.
| |
| isDisabled | back to summary |
|---|---|
| public boolean isDisabled()
Return the disabled flag for this item, which should modify the rendered output to make this item unavailable for
selection by the user if set to
| |
| isEscape | back to summary |
|---|---|
| public boolean isEscape()
If and only if this returns
| |
| isNoSelectionOption | back to summary |
|---|---|
| public boolean isNoSelectionOption()
Return the value of the
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Set the description of this item, for use in development tools.
| |
| setDisabled | back to summary |
|---|---|
| public void setDisabled(boolean disabled)
Set the disabled flag for this item, which should modify the rendered output to make this item unavailable for
selection by the user if set to
| |
| setEscape | back to summary |
|---|---|
| public void setEscape(boolean escape)
Set the value of the escape property. See
| |
| setLabel | back to summary |
|---|---|
| public void setLabel(String label) Set the label of this item, to be rendered visibly for the user.
| |
| setNoSelectionOption | back to summary |
|---|---|
| public void setNoSelectionOption(boolean noSelectionOption)
Set the value of the
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object value) Set the value of this item, to be delivered to the model if this item is selected by this user.
| |