org.jreform.internal
Class MultiCheckboxImpl<T>
java.lang.Object
org.jreform.internal.AbstractInputControl<T>
org.jreform.internal.MultiInputImpl<T>
org.jreform.internal.MultiCheckboxImpl<T>
- All Implemented Interfaces:
- InputControl<T>, MessageOnError, MultiCheckbox<T>, MultiInput<T>
class MultiCheckboxImpl<T>
- extends MultiInputImpl<T>
- implements MultiCheckbox<T>
Method Summary |
Map<String,CheckableState> |
getState()
|
(package private) boolean |
validate(javax.servlet.http.HttpServletRequest req)
Unlike a single value checkbox, multi checkbox cab be required:
i.e. |
Methods inherited from class org.jreform.internal.AbstractInputControl |
getCriteria, getInputName, getOnError, getType, isGroupInput, isRequired, isValid, setGroupInput, setOnError, setRequired, setValid |
stateMap
private Map<String,CheckableState> stateMap
MultiCheckboxImpl
MultiCheckboxImpl(InputDataType<T> type,
String name,
Criterion<T>... criteria)
validate
boolean validate(javax.servlet.http.HttpServletRequest req)
- Unlike a single value checkbox, multi checkbox cab be required:
i.e. user must make one or more selections.
- Overrides:
validate
in class MultiInputImpl<T>
getState
public Map<String,CheckableState> getState()
- Specified by:
getState
in interface MultiCheckbox<T>
Copyright © 2007-2008
jReform