|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.answer.webui.SelectItem
org.exoplatform.answer.webui.SelectOption
public class SelectOption
An item in a UIFormInputItemSelector Each item is actually held in a SelectItemCategory, which is held by the UIFormInputItemSelector
SelectItemCategory,
UIFormInputItemSelector| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.exoplatform.answer.webui.SelectItem |
|---|
getLabel, setLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String value_
protected String icon_
protected boolean selected_
protected String description_
protected boolean disabled_
| Constructor Detail |
|---|
public SelectOption(String label,
String value,
String icon)
public SelectOption(String label,
String value,
String desc,
String icon)
public SelectOption(String label,
String value,
String desc,
String icon,
boolean selected)
public SelectOption(String label,
String value)
public SelectOption(String value)
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||