|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Group
A group of inputs within a form.
Method Summary | |
---|---|
String |
getName()
Returns the name of this group. |
boolean |
isEmpty()
Checks if this group has input data. |
boolean |
isRequired()
If required all inputs must satisfy imposed criteria for the group to be valid. |
boolean |
isValid()
Checks whether this group is valid. |
void |
setRequired(boolean isRequired)
Set whether this group is required. |
Methods inherited from interface org.jreform.InputCollection |
---|
checkbox, getCheckbox, getInput, getInputValue, getMultiCheckbox, getMultiInputValue, getMultiSelect, getRadio, getSelect, input, multiCheckbox, multiSelect, radio, select |
Methods inherited from interface org.jreform.HttpServletRequestValidator |
---|
getErrors, validate |
Method Detail |
---|
String getName()
boolean isRequired()
void setRequired(boolean isRequired)
boolean isEmpty()
true
if all inputs that belong to this group
are blank, false
otherwise.boolean isValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |