Package javax.faces.model
Class SelectItem
- java.lang.Object
-
- javax.faces.model.SelectItem
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SelectItemGroup
public class SelectItem extends Object implements Serializable
see Javadoc of JSF Specification- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectItem()SelectItem(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetLabel()ObjectgetValue()booleanisDisabled()booleanisEscape()booleanisNoSelectionOption()voidsetDescription(String description)voidsetDisabled(boolean disabled)voidsetEscape(boolean escape)voidsetLabel(String label)voidsetNoSelectionOption(boolean noSelectionOption)voidsetValue(Object value)
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
getLabel
public String getLabel()
-
getValue
public Object getValue()
-
isDisabled
public boolean isDisabled()
-
isEscape
public boolean isEscape()
-
isNoSelectionOption
public boolean isNoSelectionOption()
- Returns:
- Since:
- 2.0
-
setDescription
public void setDescription(String description)
-
setDisabled
public void setDisabled(boolean disabled)
-
setEscape
public void setEscape(boolean escape)
-
setLabel
public void setLabel(String label)
-
setNoSelectionOption
public void setNoSelectionOption(boolean noSelectionOption)
- Parameters:
noSelectionOption-- Since:
- 2.0
-
setValue
public void setValue(Object value)
-
-