Class WrapperSelectItem

java.lang.Object
javax.faces.model.SelectItem
org.primefaces.component.api.WrapperSelectItem
All Implemented Interfaces:
Serializable

public class WrapperSelectItem extends javax.faces.model.SelectItem
Wraps a SelectItem so its <f:selectitem> passthrough attributes can be used.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WrapperSelectItem(Object value, String label, String description, boolean disabled, boolean escape, boolean noSelectionOption)
     
    WrapperSelectItem(javax.faces.component.UISelectItem component)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.faces.component.UIComponent
     
    void
    setComponent(javax.faces.component.UIComponent component)
     

    Methods inherited from class javax.faces.model.SelectItem

    getDescription, getLabel, getValue, isDisabled, isEscape, isNoSelectionOption, setDescription, setDisabled, setEscape, setLabel, setNoSelectionOption, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WrapperSelectItem

      public WrapperSelectItem()
    • WrapperSelectItem

      public WrapperSelectItem(javax.faces.component.UISelectItem component)
    • WrapperSelectItem

      public WrapperSelectItem(Object value, String label, String description, boolean disabled, boolean escape, boolean noSelectionOption)
  • Method Details

    • getComponent

      public javax.faces.component.UIComponent getComponent()
    • setComponent

      public void setComponent(javax.faces.component.UIComponent component)