|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.control.Control com.cc.framework.ui.control.TextListControl
TextControl
Field Summary | |
private TextListDesignModel |
designModel
Designmodel |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.Object[] |
value
(Display-) Value |
Fields inherited from class com.cc.framework.ui.control.Control |
log |
Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
Constructor Summary | |
TextListControl()
Constructor |
|
TextListControl(TextListDesignModel designModel)
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. |
DataModel |
getDataModel()
Returns the data model of the Control |
ControlDesignModel |
getDesignModel()
Returns the design model of the control |
int |
getMaxLength()
returns the maximal Number of Characters, which can be inserted into the Control |
int |
getRows()
Returns the number of rows the list element should display |
int |
getSize()
Returns the Size (Number of visible Characters) |
SortOrder |
getSortOrder()
Retrieves the sort order of the control |
StateModel |
getStateModel()
Returns the state model of the control |
java.lang.Object[] |
getValue()
Returns the value |
void |
reset()
Resets the actual state of a control to the initial state |
void |
setDesignModel(TextListDesignModel designModel)
Sets the design model |
void |
setValue(java.lang.Object[] value)
Sets the value |
void |
setValue(RequestContext ctx,
ControlValuePath path,
java.lang.String[] values)
This method is called to set the value of the data model |
Methods inherited from class com.cc.framework.ui.control.Control |
addButton, allowAjaxRendering, execute, execute, execute, execute, execute, execute, execute, getAction, getAjaxId, getButtons, getControlName, getDesignRules, getFrameworkString, getHandler, getHandlers, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getPrincipal, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getUniqueStyleId, getWidth, isAjaxEnabled, isDisabled, isFormElement, markDirty, onHelp, setAjaxAttribute, setHandler, setPrincipal, show, showButton, synchronizeState, synchronizeState |
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.StateModel |
synchronizeState |
Field Detail |
private static final long serialVersionUID
private TextListDesignModel designModel
private java.lang.Object[] value
Constructor Detail |
public TextListControl()
public TextListControl(TextListDesignModel designModel)
designModel
- TextDesignModelMethod Detail |
public void setDesignModel(TextListDesignModel designModel)
designModel
- The design modelpublic DataModel getDataModel()
Control
getDataModel
in class Control
Control.getDataModel()
public ControlDesignModel getDesignModel()
Control
getDesignModel
in class Control
Control.getDesignModel()
public StateModel getStateModel()
Control
getStateModel
in class Control
Control.getStateModel()
public void reset()
StateModel
reset
in interface StateModel
StateModel.reset()
public int getSize()
public int getRows()
public int getMaxLength()
public java.lang.Object[] getValue()
TextListDataModel
getValue
in interface TextListDataModel
TextListDataModel.getValue()
public void setValue(RequestContext ctx, ControlValuePath path, java.lang.String[] values) throws java.lang.Exception
Control
setValue
in class Control
ctx
- The Action Contextpath
- Path Name of the input elementvalues
- the values to set
java.lang.Exception
- a derived class can throw an exception if the value could not
be setControl.setValue(com.cc.framework.adapter.RequestContext,
com.cc.framework.ui.control.ControlValuePath, java.lang.String[])
public void setValue(java.lang.Object[] value)
TextListDataModel
setValue
in interface TextListDataModel
value
- The valueTextListDataModel.setValue(java.lang.Object[])
public boolean filter()
true
if string will be HTML encoded;
false
otherwisepublic Converter getConverter()
null
public SortOrder getSortOrder()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |