| org.araneaframework.uilib.form.Control
All known Subclasses: org.araneaframework.uilib.form.control.BaseControl,
Control | public interface Control extends Widget,Viewable,FormElementAware(Code) | | Control is the widget that does the actual parsing and reading of the request
parameters. It corresponds to the controls found in HTML forms, like textbox,
textarea, selectbox, button …
Control is meant to be used inside
FormElement that provides
type safety and additional
Constraint s to request data.
author: Jevgeni Kabanov (ekabanov at araneaframework dot org) |
Inner Class :public interface ViewModel extends Serializable | |
Method Summary | |
public void | convert() Converts the data submitted by the user. | public Object | getRawValue() Returns the value of the control (value read from the request). | abstract public String | getRawValueType() This method should be overriden by the control, returning the type of the value of this
control. | public boolean | isDisabled() | public boolean | isRead() Returns whether the control data was present in the HTTP request. | public void | setRawValue(Object value) Sets the control value. | public void | validate() Validates the data submitted by the user. |
convert | public void convert()(Code) | | Converts the data submitted by the user.
|
getRawValue | public Object getRawValue()(Code) | | Returns the value of the control (value read from the request). Type of value depends on the
type of control.
Returns the value of the control (value read from the request). |
isDisabled | public boolean isDisabled()(Code) | | since: 1.1 |
isRead | public boolean isRead()(Code) | | Returns whether the control data was present in the HTTP request.
whether the control data was present in the HTTP request. |
validate | public void validate()(Code) | | Validates the data submitted by the user.
|
|
|