|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Designmodel for textlist fields.
The interface only defines getter methods for read only access.
| Method Summary | |
boolean |
filter()
Returns if the filter is activated (default=true). |
Converter |
getConverter()
Returns the the Converter that should be used to convert Java Objects into their localized String representation. |
int |
getMaxLength()
Returns the maximal number of input characters which can be inserted into the text field. |
int |
getRows()
Returns the number of visible rows in the list element |
int |
getSize()
Returns the number of visible characters for an input/text field. |
SortOrder |
getSortOrder()
Retrieves the sort order of the control |
java.lang.String |
getTooltip()
Retrieves the optional tooltip text |
void |
setConverter(Converter converter)
Sets the Converter that should be used to convert Java Objects into their localized String representation. |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setMaxLength(int maxLength)
Sets the maximum number of input characters to accept. |
void |
setRows(int rows)
Sets the number of rows the list element will show |
void |
setSize(int size)
Sets the size of the input field. |
void |
setSortOrder(SortOrder sortOrder)
Specifies the sort order: none = no sort order asc = ascending sort order desc = descending sort order |
void |
setTooltip(java.lang.String tooltip)
Sets the optional tooltip text |
| Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel |
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTransaction, setWidth |
| Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
| Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
| Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
| Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
| Method Detail |
public int getSize()
public void setSize(int size)
size - The size of the input field.public int getMaxLength()
public void setMaxLength(int maxLength)
maxLength - The maximum number of input characters to accept.public void setTooltip(java.lang.String tooltip)
setTooltip in interface ControlDesignModeltooltip - Tooltippublic java.lang.String getTooltip()
getTooltip in interface ControlDesignModelnullpublic boolean filter()
true if string will be HTML encoded;
false otherwisepublic void setFilter(boolean filter)
filter - true if strings should be HTML encoded; false
otherwisepublic Converter getConverter()
null
public void setConverter(Converter converter)
converter - Converters instancepublic int getRows()
public void setRows(int rows)
rows - The number of rowspublic void setSortOrder(SortOrder sortOrder)
sortOrder - The sort order of the controlpublic SortOrder getSortOrder()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||