public class SelectOption extends SelectItem
SelectItemCategory,
UIFormInputItemSelector| Modifier and Type | Field and Description |
|---|---|
protected String |
description_
A description of the item
|
protected boolean |
disabled_
Whether this item is disabled
|
protected String |
icon_
The icon url of the item
|
protected boolean |
selected_
Whether this item is selected
|
protected String |
value_
THe value of the item
|
| Constructor and Description |
|---|
SelectOption(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) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getIcon() |
String |
getValue() |
boolean |
isDisabled() |
boolean |
isSelected() |
void |
setDescription(String s) |
void |
setDisabled(boolean disabled) |
void |
setIcon(String icon) |
void |
setSelected(boolean b) |
void |
setValue(String s) |
getLabel, setLabelprotected String value_
protected String icon_
protected boolean selected_
protected String description_
protected boolean disabled_
public SelectOption(String label, String value, String desc, String icon, boolean selected)
public SelectOption(String value)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public String getValue()
public void setValue(String s)
public String getDescription()
public void setDescription(String s)
public boolean isSelected()
public void setSelected(boolean b)
public String getIcon()
public void setIcon(String icon)
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.