| org.araneaframework.core.BaseWidget org.araneaframework.core.BaseApplicationWidget org.araneaframework.uilib.form.control.BaseControl
All known Subclasses: org.araneaframework.uilib.form.control.ButtonControl, org.araneaframework.uilib.form.control.StringArrayRequestControl, org.araneaframework.uilib.form.control.DisplayControl, org.araneaframework.uilib.form.control.FileUploadControl, org.araneaframework.uilib.form.control.DateTimeControl,
BaseControl | abstract public class BaseControl extends BaseApplicationWidget implements java.io.Serializable,Control(Code) | | This class is a control generalization that provides methods common to all HTML form controls.
The methods include XML output and error handling.
author: Jevgeni Kabanov (ekabanov at araneaframework dot org) |
isReadFromRequest | protected boolean isReadFromRequest(Code) | | |
convert | public void convert()(Code) | | |
convertAndValidate | public void convertAndValidate()(Code) | | |
getLabel | protected String getLabel()(Code) | | Returns control label.
control label. |
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) | | Returns whether the control is disabled.
whether the control is disabled since: 1.1 this method is public and part of Control since: interface |
isMandatory | protected boolean isMandatory()(Code) | | Returns whether the control is mandatory, that is must be inserted by user.
whether the control is mandatory, that is must be inserted by user. |
isRead | public boolean isRead()(Code) | | By default the control is considered read if it has a not null data read from request.
|
isValid | protected boolean isValid()(Code) | | |
validate | public void validate()(Code) | | |
Methods inherited from org.araneaframework.core.BaseApplicationWidget | public Composite.Interface _getComposite()(Code)(Java Doc) public Viewable.Interface _getViewable()(Code)(Java Doc) protected void action(Path path, InputData input, OutputData output) throws Exception(Code)(Java Doc) public void addActionListener(Object actionId, ActionListener listener)(Code)(Java Doc) public void addEventListener(Object eventId, EventListener listener)(Code)(Java Doc) public void addWidget(Object key, Widget child, Environment env)(Code)(Java Doc) public void addWidget(Object key, Widget child)(Code)(Java Doc) public void clearActionListeners(Object actionId)(Code)(Java Doc) public void clearEventlisteners(Object eventId)(Code)(Java Doc) public void clearGlobalEventListener()(Code)(Java Doc) public void disableWidget(Object key)(Code)(Java Doc) public void enableWidget(Object key)(Code)(Java Doc) protected void event(Path path, InputData input) throws Exception(Code)(Java Doc) protected Object getActionId(InputData input)(Code)(Java Doc) final public Environment getChildEnvironment()(Code)(Java Doc) protected Environment getChildWidgetEnvironment() throws Exception(Code)(Java Doc) public Map getChildren()(Code)(Java Doc) public Environment getEnvironment()(Code)(Java Doc) protected String getEventId(InputData input)(Code)(Java Doc) public Object getViewModel() throws Exception(Code)(Java Doc) public Widget getWidget(Object key)(Code)(Java Doc) protected void handleAction(InputData input, OutputData output) throws Exception(Code)(Java Doc) protected void handleEvent(InputData input) throws Exception(Code)(Java Doc) protected void handleUpdate(InputData input) throws Exception(Code)(Java Doc) protected void propagate(Message message) throws Exception(Code)(Java Doc) public void putViewData(String key, Object customDataItem)(Code)(Java Doc) public void putViewDataOnce(String key, Object customDataItem)(Code)(Java Doc) public void removeActionListener(ActionListener listener)(Code)(Java Doc) public void removeEventListener(EventListener listener)(Code)(Java Doc) public void removeViewData(String key)(Code)(Java Doc) public void removeWidget(Object key)(Code)(Java Doc) protected void render(OutputData output) throws Exception(Code)(Java Doc) public void setGlobalEventListener(EventListener eventListener)(Code)(Java Doc) protected void update(InputData input) throws Exception(Code)(Java Doc)
|
|
|