| org.jreform.Group
All known Subclasses: org.jreform.internal.GroupImpl,
Group | public interface Group extends InputCollection(Code) | | A group of inputs within a form.
author: armandino (at) gmail.com |
Method Summary | |
public String | getName() Returns the name of this group. | public boolean | isEmpty() Checks if this group has input data. | public boolean | isRequired() If required all inputs must satisfy imposed criteria for the
group to be valid. | public boolean | isValid() Checks whether this group is valid. | public void | setRequired(boolean isRequired) Set whether this group is required. |
getName | public String getName()(Code) | | Returns the name of this group.
|
isEmpty | public boolean isEmpty()(Code) | | Checks if this group has input data.
true if all inputs that belong to this groupare blank, false otherwise. |
isRequired | public boolean isRequired()(Code) | | If required all inputs must satisfy imposed criteria for the
group to be valid. If optional either all inputs must be null
OR all inputs must satisfy their criteria for the group to be valid.
|
isValid | public boolean isValid()(Code) | | Checks whether this group is valid.
|
setRequired | public void setRequired(boolean isRequired)(Code) | | Set whether this group is required.
|
|
|