org.jreform.internal
Class MultiSelectImpl<T>

java.lang.Object
  extended by org.jreform.internal.AbstractInputControl<T>
      extended by org.jreform.internal.MultiInputImpl<T>
          extended by org.jreform.internal.MultiSelectImpl<T>
All Implemented Interfaces:
InputControl<T>, MessageOnError, MultiInput<T>, MultiSelect<T>

 class MultiSelectImpl<T>
extends MultiInputImpl<T>
implements MultiSelect<T>

Author:
armandino (at) gmail.com

Field Summary
private  Map<String,SelectableState> stateMap
           
 
Constructor Summary
MultiSelectImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
 
Method Summary
 Map<String,SelectableState> getState()
           
(package private)  boolean validate(javax.servlet.http.HttpServletRequest req)
          Validates this input's value attribute(s).
 
Methods inherited from class org.jreform.internal.MultiInputImpl
getStringValue, getValueAttributes, getValues, setValueAttributes, setValues, toString
 
Methods inherited from class org.jreform.internal.AbstractInputControl
getCriteria, getInputName, getOnError, getType, isGroupInput, isRequired, isValid, setGroupInput, setOnError, setRequired, setValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jreform.MultiInput
getValueAttributes, getValues, setValueAttributes, setValues
 
Methods inherited from interface org.jreform.InputControl
getInputName, getStringValue, getType, isRequired, isValid
 
Methods inherited from interface org.jreform.MessageOnError
getOnError, setOnError
 

Field Detail

stateMap

private Map<String,SelectableState> stateMap
Constructor Detail

MultiSelectImpl

MultiSelectImpl(InputDataType<T> type,
                String name,
                Criterion<T>... criteria)
Method Detail

validate

boolean validate(javax.servlet.http.HttpServletRequest req)
Description copied from class: AbstractInputControl
Validates this input's value attribute(s).

Overrides:
validate in class MultiInputImpl<T>

getState

public Map<String,SelectableState> getState()
Specified by:
getState in interface MultiSelect<T>


Copyright © 2007-2008 jReform