|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The client side API of an IListDomWM. Compared to its super interface, this interface has some more attributes that influence the visual contents of the combo box. Roughly, the combo may either display just long values, or a concatination of short and long values. Sort order may also be influenced. The values of these attributes are set in the UI designer/generator's generated code and may be just queried here.
| Field Summary | |
static int |
MANDATORY
Indicates that a value must be provided on the UI |
static int |
ORDER_LONG
The sort order of the combo box entries is drawn from the lexical order of the long value. |
static int |
ORDER_NATURAL
The sort order is the natural order of the entries in the data source. |
static int |
ORDER_SHORT
The sort order of the combo box entries follows the lexical order of the short value. |
static int |
SHOW_LONG
The combo box displays the long value of each domain entry. |
static int |
SHOW_SHORT
The combo box displays just the short value of each entry. |
static int |
SHOW_SHORT_LONG
The combo box displays short and long value of each entry, separated by dash. |
| Method Summary | |
int |
getOrderStyle()
Returns one of the SHOW_* constants. |
int |
getShowStyle()
Returns one of the ORDER_* constants. |
boolean |
isMandatory()
Returns true if the MANDATORY style has been set at construction time |
void |
setMandatory(boolean what)
Sets the mandatory-property. |
void |
setShowLongValueToolTips()
Changes the behaviour of the combo box to show the long values of the selected value as tooltips, instead of the value entered in the UI-designer. |
| Methods inherited from interface at.spardat.xma.mdl.list.IListDomWM |
getDataSource, isDynamicDataSource, setDataSource |
| Methods inherited from interface at.spardat.xma.mdl.ISelectable |
deselect, deselectAll, getSelected, getSelection, getSelectionCount, isMultiSelect, isSelected, isStrict, select |
| Methods inherited from interface at.spardat.xma.mdl.IWModelClient |
getUIDelegate, isEditable, isEnabled, setEditable, setEnabled |
| Field Detail |
public static final int SHOW_LONG
public static final int SHOW_SHORT_LONG
public static final int SHOW_SHORT
public static final int ORDER_SHORT
public static final int ORDER_LONG
public static final int ORDER_NATURAL
public static final int MANDATORY
| Method Detail |
public int getOrderStyle()
public int getShowStyle()
public boolean isMandatory()
public void setMandatory(boolean what)
what - the new value of the mandatory-valuepublic void setShowLongValueToolTips()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||