| java.lang.Object org.araneaframework.uilib.support.DisplayItem
DisplayItem | public class DisplayItem implements java.io.Serializable(Code) | | Represents one item in the combo-box of the select element.
SelectControl and
MultiSelectControl manage a list of them.
Each item is characterized by its value and label.
author: Jevgeni Kabanov (ekabanov at araneaframework dot org) |
disabled | protected boolean disabled(Code) | | |
displayString | protected String displayString(Code) | | Item's label.
|
DisplayItem | public DisplayItem(String value, String displayString)(Code) | | Creates a new instance of
DisplayItem .
Parameters: displayString - the label (or other string to show) of the item. Parameters: value - the value of the item. |
DisplayItem | public DisplayItem(String value, String displayString, boolean disabled)(Code) | | Creates a new instance of
DisplayItem .
Parameters: displayString - the label (or other string to show) of the item. Parameters: value - the value of the item. Parameters: disabled - whether item is disabled |
getDisplayString | public java.lang.String getDisplayString()(Code) | | Getter for property label .
value of property label . |
isDisabled | public boolean isDisabled()(Code) | | |
setDisabled | public void setDisabled(boolean disabled)(Code) | | |
|
|