Class SelectItemOption<T>

java.lang.Object
org.exoplatform.webui.core.model.SelectItemOption<T>
Direct Known Subclasses:
UIFormInputIconSelector.IconCategory

public class SelectItemOption<T> extends Object
Created by The eXo Platform SARL Author : Tuan Nguyen tuan08@users.sourceforge.net Jun 26, 2006 An item in a UIFormInputItemSelector Each item is actually held in a SelectItemCategory, which is held by the UIFormInputItemSelector
See Also:
  • Field Details

    • label

      protected String label
      The label of the item
    • value

      protected T value
      THe value of the item
    • icon

      protected String icon
      The icon url of the item
    • selected

      protected boolean selected
      Whether this item is selected
    • description

      protected String description
      A description of the item
  • Constructor Details

    • SelectItemOption

      public SelectItemOption()
    • SelectItemOption

      public SelectItemOption(String label, T value, String icon)
    • SelectItemOption

      public SelectItemOption(String label, T value, String desc, String icon)
    • SelectItemOption

      public SelectItemOption(String label, T value, String desc, String icon, boolean selected)
    • SelectItemOption

      public SelectItemOption(String label, T value)
    • SelectItemOption

      public SelectItemOption(T value)
  • Method Details

    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String s)
    • getValue

      public T getValue()
    • setValue

      public void setValue(T s)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String s)
    • isSelected

      public boolean isSelected()
    • setSelected

      public void setSelected(boolean b)
    • getIcon

      public String getIcon()
    • setIcon

      public void setIcon(String icon)