|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Client side interface of the widged model to represent a list of choises. It adds the functionality of formatters to its super interface.
| Field Summary |
| Fields inherited from interface at.spardat.xma.mdl.list.IListWM |
S_MULTI_SELECT, S_NOT_STRICT |
| Method Summary | |
at.spardat.enterprise.fmt.IFmt |
getFmt()
Returns the associated Formatter or null if none is associated. |
java.lang.String |
getFormattedString()
Provides a string that results from applying the formatter to the internally stored representation of the selected entry. |
boolean |
isDoPrefixSearch()
|
boolean |
isMandatory()
Returns the MANDATORY-property of the associated formatter. |
boolean |
isPrefixSearchCaseSensitive()
|
void |
setDoPrefixSearch(boolean doPrefixSearch)
determine if prefix search has to be done on this model |
void |
setFmt(at.spardat.enterprise.fmt.IFmt formatter)
Sets a new Formatter. |
void |
setMandatory(boolean what)
If there is a formatter attached, this method clones the old formatter, changes the MANDATORY-property of the formatter to the provided value, and sets the formatter. |
void |
setPrefixSearchCaseSensitive(boolean prefixSearchCaseSensitive)
determine if prefix seach has to be done case sensitive or not |
| Methods inherited from interface at.spardat.xma.mdl.list.IListWM |
add, add, add, add, add, add, add, clear, contains, contains, getEntry, getEntry, getStringEntry, indexOf, indexOf, remove, remove, remove, replace, replace, size |
| 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 |
| Method Detail |
public at.spardat.enterprise.fmt.IFmt getFmt()
public void setFmt(at.spardat.enterprise.fmt.IFmt formatter)
formatter - to be set. It must be compatible to the type of the entries.
For type T_STRING, any formatter may be set. For the other types, the type of the
formatter must be compatible with the type specified in the superclass.public java.lang.String getFormattedString()
public boolean isMandatory()
public void setMandatory(boolean what)
public boolean isPrefixSearchCaseSensitive()
public void setPrefixSearchCaseSensitive(boolean prefixSearchCaseSensitive)
prefixSearchCaseSensitive - public boolean isDoPrefixSearch()
public void setDoPrefixSearch(boolean doPrefixSearch)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||