| java.lang.Object org.jreform.internal.AbstractInputCollection org.jreform.internal.AbstractForm
All known Subclasses: org.jreform.internal.BaseHtmlForm,
AbstractForm | class AbstractForm extends AbstractInputCollection implements Form(Code) | | A form that contains a set of its own inputs, errors and input groups.
It also contains references to inputs of its child groups.
Input names and input group names must be unique within a form.
author: armandino (at) gmail.com |
AbstractForm | AbstractForm()(Code) | | |
addGroup | final void addGroup(Group group)(Code) | | Adds the passed in group to the form.
throws: DuplicateNameException - if there is an existing groupwith the same name. |
Methods inherited from org.jreform.internal.AbstractInputCollection | void add(InputControl<T> input)(Code)(Java Doc) final public void addError(String errorKey)(Code)(Java Doc) protected void additionalValidate()(Code)(Java Doc) final public InputControlModifier<T> checkbox(InputDataType<T> type, String name, Criterion<T>... criteria)(Code)(Java Doc) final public Checkbox<T> getCheckbox(String name)(Code)(Java Doc) final public Set<String> getErrors()(Code)(Java Doc) final public Input<T> getInput(String name)(Code)(Java Doc) final InputControl> getInputControl(String name)(Code)(Java Doc) final Map<String, InputControl<?>> getInputs()(Code)(Java Doc) final public MultiCheckbox<T> getMultiCheckbox(String name)(Code)(Java Doc) final public MultiSelect<T> getMultiSelect(String name)(Code)(Java Doc) final public Radio<T> getRadio(String name)(Code)(Java Doc) final public Select<T> getSelect(String name)(Code)(Java Doc) final public InputControlModifier<T> input(InputDataType<T> type, String name, Criterion<T>... criteria)(Code)(Java Doc) final public boolean isValid()(Code)(Java Doc) final public InputControlModifier<T> multiCheckbox(InputDataType<T> type, String name, Criterion<T>... criteria)(Code)(Java Doc) final public InputControlModifier<T> multiSelect(InputDataType<T> type, String name, Criterion<T>... criteria)(Code)(Java Doc) final public InputControlModifier<T> radio(InputDataType<T> type, String name, Criterion<T>... criteria)(Code)(Java Doc) final public InputControlModifier<T> select(InputDataType<T> type, String name, Criterion<T>... criteria)(Code)(Java Doc) final void setValid(boolean isValid)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|