Class SelectItem

java.lang.Object
jakarta.faces.model.SelectItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SelectItemGroup

public class SelectItem extends Object implements Serializable
see Javadoc of Faces Specification
See Also:
  • Constructor Details

    • SelectItem

      public SelectItem()
    • SelectItem

      public SelectItem(Object value)
    • SelectItem

      public SelectItem(Object value, String label)
    • SelectItem

      public SelectItem(Object value, String label, String description)
    • SelectItem

      public SelectItem(Object value, String label, String description, boolean disabled)
    • SelectItem

      public SelectItem(Object value, String label, String description, boolean disabled, boolean escape)
    • 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

      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)