at.spardat.xma.mdl.list
Interface IListDomWMClient

All Superinterfaces:
IListDomWM, ISelectable, IWModelClient
All Known Implementing Classes:
ListDomWMClient

public interface IListDomWMClient
extends IListDomWM, IWModelClient

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

SHOW_LONG

public static final int SHOW_LONG
The combo box displays the long value of each domain entry.

See Also:
Constant Field Values

SHOW_SHORT_LONG

public static final int SHOW_SHORT_LONG
The combo box displays short and long value of each entry, separated by dash.

See Also:
Constant Field Values

SHOW_SHORT

public static final int SHOW_SHORT
The combo box displays just the short value of each entry.

See Also:
Constant Field Values

ORDER_SHORT

public static final int ORDER_SHORT
The sort order of the combo box entries follows the lexical order of the short value. This is the default order style for SHOW_SHORT_LONG.

See Also:
Constant Field Values

ORDER_LONG

public static final int ORDER_LONG
The sort order of the combo box entries is drawn from the lexical order of the long value. This is the default value for SHOW_LONG.

See Also:
Constant Field Values

ORDER_NATURAL

public static final int ORDER_NATURAL
The sort order is the natural order of the entries in the data source.

See Also:
Constant Field Values

MANDATORY

public static final int MANDATORY
Indicates that a value must be provided on the UI

See Also:
Constant Field Values
Method Detail

getOrderStyle

public int getOrderStyle()
Returns one of the SHOW_* constants.


getShowStyle

public int getShowStyle()
Returns one of the ORDER_* constants.


isMandatory

public boolean isMandatory()
Returns true if the MANDATORY style has been set at construction time


setMandatory

public void setMandatory(boolean what)
Sets the mandatory-property.

Parameters:
what - the new value of the mandatory-value

setShowLongValueToolTips

public 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.