org.jreform.internal
Class RadioImpl<T>

java.lang.Object
  extended by org.jreform.internal.AbstractInputControl<T>
      extended by org.jreform.internal.InputImpl<T>
          extended by org.jreform.internal.RadioImpl<T>
All Implemented Interfaces:
Input<T>, InputControl<T>, MessageOnError, Radio<T>

 class RadioImpl<T>
extends InputImpl<T>
implements Radio<T>

Author:
armandino (at) gmail.com

Field Summary
private  Map<String,CheckableState> stateMap
           
 
Constructor Summary
RadioImpl(InputDataType<T> type, String name, Criterion<T>... criteria)
           
 
Method Summary
 Map<String,CheckableState> getState()
           
(package private)  boolean validate(javax.servlet.http.HttpServletRequest req)
          Validates this input's value attribute(s).
 
Methods inherited from class org.jreform.internal.InputImpl
getStringValue, getValue, getValueAttribute, setValue, setValueAttribute, 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.Input
getValue, getValueAttribute, setValue, setValueAttribute
 
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,CheckableState> stateMap
Constructor Detail

RadioImpl

RadioImpl(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 InputImpl<T>

getState

public Map<String,CheckableState> getState()
Specified by:
getState in interface Radio<T>


Copyright © 2007-2008 jReform