Package jakarta.faces.model
Class SelectItem
java.lang.Object
jakarta.faces.model.SelectItem
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SelectItemGroup
see Javadoc of Faces Specification
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSelectItem
(Object value) SelectItem
(Object value, String label) SelectItem
(Object value, String label, String description) SelectItem
(Object value, String label, String description, boolean disabled) SelectItem
(Object value, String label, String description, boolean disabled, boolean escape) SelectItem
(Object value, String label, String description, boolean disabled, boolean escape, boolean noSelectionOption) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
getValue()
boolean
boolean
isEscape()
boolean
void
setDescription
(String description) void
setDisabled
(boolean disabled) void
setEscape
(boolean escape) void
void
setNoSelectionOption
(boolean noSelectionOption) void
-
Constructor Details
-
SelectItem
public SelectItem() -
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
public SelectItem(Object value, String label, String description, boolean disabled, boolean escape, boolean noSelectionOption) - Parameters:
value
-label
-description
-disabled
-escape
-noSelectionOption
-- Since:
- 2.0
-
-
Method Details
-
getDescription
-
getLabel
-
getValue
-
isDisabled
public boolean isDisabled() -
isEscape
public boolean isEscape() -
isNoSelectionOption
public boolean isNoSelectionOption()- Returns:
- Since:
- 2.0
-
setDescription
-
setDisabled
public void setDisabled(boolean disabled) -
setEscape
public void setEscape(boolean escape) -
setLabel
-
setNoSelectionOption
public void setNoSelectionOption(boolean noSelectionOption) - Parameters:
noSelectionOption
-- Since:
- 2.0
-
setValue
-