public static class ComboBox.Select.Option
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_DISABLED |
static java.lang.String |
PROPERTY_ID |
static java.lang.String |
PROPERTY_LABEL |
static java.lang.String |
PROPERTY_NAME |
static java.lang.String |
PROPERTY_SELECTED |
static java.lang.String |
PROPERTY_VALUE |
Constructor and Description |
---|
ComboBox.Select.Option(java.lang.Object object) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
defineStoreItemObject()
create a javascript item object defined by the dojo/store/api/Store.
For example, item object is like { id="AL", value="AL", name="Alabama"} |
java.lang.Object |
getEmbeddedObject() |
java.lang.String |
getId() |
int |
getIndex() |
java.lang.String |
getLabel() |
java.lang.String |
getValue() |
boolean |
isDisabled() |
boolean |
isSelected() |
void |
setIndex(int index) |
void |
setSelected(boolean selected) |
java.lang.String |
toString() |
public static final java.lang.String PROPERTY_DISABLED
public static final java.lang.String PROPERTY_NAME
public static final java.lang.String PROPERTY_LABEL
public static final java.lang.String PROPERTY_SELECTED
public static final java.lang.String PROPERTY_VALUE
public static final java.lang.String PROPERTY_ID
public boolean isDisabled()
public java.lang.String getLabel()
public boolean isSelected()
public void setSelected(boolean selected)
public java.lang.String getValue()
public int getIndex()
public void setIndex(int index)
public java.lang.Object getEmbeddedObject()
public java.lang.String getId()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String defineStoreItemObject()