Package org.exoplatform.webui.core.model
Class SelectOption
java.lang.Object
org.exoplatform.webui.core.model.SelectItem
org.exoplatform.webui.core.model.SelectOption
Created by The eXo Platform SARL Author : Philippe Aristote philippe.aristote@gmail.com
An item in a UIFormInputItemSelector Each item is actually held in a SelectItemCategory, which is held by the
UIFormInputItemSelector
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSelectOption(String value) SelectOption(String label, String value) SelectOption(String label, String value, String icon) SelectOption(String label, String value, String desc, String icon) SelectOption(String label, String value, String desc, String icon, boolean selected) -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()getValue()booleanbooleanvoidvoidsetDisabled(boolean disabled) voidvoidsetSelected(boolean b) voidMethods inherited from class org.exoplatform.webui.core.model.SelectItem
getLabel, setLabel
-
Field Details
-
value_
THe value of the item -
icon_
The icon url of the item -
selected_
protected boolean selected_Whether this item is selected -
description_
A description of the item -
disabled_
protected boolean disabled_Whether this item is disabled
-
-
Constructor Details
-
SelectOption
-
SelectOption
-
SelectOption
-
SelectOption
-
SelectOption
-
-
Method Details
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled) -
getValue
-
setValue
-
getDescription
-
setDescription
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean b) -
getIcon
-
setIcon
-