public interface UIAtomicWithEnumerationItem extends UIAtomicWithEnumeration
UIAtomicWithEnumeration
,
which corresponds to an index in the enumeration.Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index for this enumeration item.
|
boolean |
isLabelEnabled()
Returns
true if the item label is to be added next to the component,
otherwise false . |
void |
setIndex(int index)
Sets the index for this enumeration item.
|
void |
setLabelEnabled(boolean isEnabled)
Sets whether the item label is to be added next to the component.
|
getSpecificNomenclature, setSpecificNomenclature
getActionOnAfterValueChanged, isAjaxPrevalidationEnabled, isAjaxValueSynchEnabled, setActionOnAfterValueChanged, setAjaxPrevalidationEnabled, setAjaxValueSynchEnabled
isEditorDisabled, setEditorDisabled
int getIndex()
boolean isLabelEnabled()
true
if the item label is to be added next to the component,
otherwise false
.void setIndex(int index)
Default value is 0
.
index
- the index to use for this enumeration item.void setLabelEnabled(boolean isEnabled)
The label is the formatted value of the enumeration at the specified index. Clicking on the label selects the component, and thus the value corresponding to the index.
Default value is false
.
isEnabled
- enables the label of the value beside the component.