|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.ClientHandlerImp
com.cc.framework.ui.model.imp.ControlDesignModelImp
com.cc.framework.ui.model.imp.TextListDesignModelImp
Designmodel for text/input list fields
| Field Summary | |
private Converter |
converter
The converter that should be used to convert Java Objects into their localized String representation. |
private boolean |
filter
Specifies if all String should be converted into there HTML representation |
private int |
maxLength
Maximum number of input characters to accept. |
private int |
rows
Number of rows in the list element |
private static long |
serialVersionUID
Serial Version UID |
private int |
size
Number of character positions to allocate. |
private SortOrder |
sortOrder
Specifies the sort order: none = no sort order asc = ascending sort order desc = descending sort order |
| Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
| Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
| Constructor Summary | |
TextListDesignModelImp()
Constructor |
|
| 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 |
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 |
| Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth, show |
| Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cc.framework.ui.model.TextListDesignModel |
getTooltip, setTooltip |
| 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 |
| Field Detail |
private static final long serialVersionUID
private SortOrder sortOrder
private Converter converter
private int maxLength
private int size
private int rows
private boolean filter
| Constructor Detail |
public TextListDesignModelImp()
| Method Detail |
public int getMaxLength()
TextListDesignModel
getMaxLength in interface TextListDesignModelTextListDesignModel.getMaxLength()public int getSize()
TextListDesignModel
getSize in interface TextListDesignModelTextListDesignModel.getSize()public void setMaxLength(int maxLength)
setMaxLength in interface TextListDesignModelmaxLength - The maximum number of input characters to accept.public void setSize(int size)
setSize in interface TextListDesignModelsize - The size of the input field.public int getRows()
TextListDesignModel
getRows in interface TextListDesignModelTextListDesignModel.getRows()public void setRows(int rows)
TextListDesignModel
setRows in interface TextListDesignModelrows - The number of rowsTextListDesignModel.setRows(int)public boolean filter()
TextListDesignModel
filter in interface TextListDesignModeltrue if string will be HTML encoded;
false otherwiseTextListDesignModel.filter()public void setFilter(boolean filter)
TextListDesignModel
setFilter in interface TextListDesignModelfilter - true if strings should be HTML encoded; false
otherwiseTextListDesignModel.setFilter(boolean)public Converter getConverter()
TextListDesignModel
getConverter in interface TextListDesignModelnullSee Also:TextListDesignModel.getConverter()public void setConverter(Converter converter)
TextListDesignModel
setConverter in interface TextListDesignModelconverter - Converters instanceTextListDesignModel.setConverter(com.cc.framework.convert.Converter)public void setSortOrder(SortOrder sortOrder)
TextListDesignModel
setSortOrder in interface TextListDesignModelsortOrder - The sort order of the controlTextListDesignModel.setSortOrder(com.cc.framework.common.SortOrder)public SortOrder getSortOrder()
TextListDesignModel
getSortOrder in interface TextListDesignModelTextListDesignModel.getSortOrder()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||