org.jreform
Interface Input<T>

All Superinterfaces:
InputControl<T>, MessageOnError
All Known Subinterfaces:
Checkbox<T>, Radio<T>, Select<T>
All Known Implementing Classes:
CheckboxImpl, InputImpl, RadioImpl, SelectImpl

public interface Input<T>
extends InputControl<T>

An input that has only a single value.

Author:
armandino (at) gmail.com

Method Summary
 T getValue()
          Returns this input's value.
 String getValueAttribute()
          Return's this input's value attribute.
 void setValue(T value)
          Sets this input's value.
 void setValueAttribute(String valueAttribute)
          Sets this input's value attribute.
 
Methods inherited from interface org.jreform.InputControl
getInputName, getStringValue, getType, isRequired, isValid
 
Methods inherited from interface org.jreform.MessageOnError
getOnError, setOnError
 

Method Detail

getValue

T getValue()
Returns this input's value.


setValue

void setValue(T value)
Sets this input's value.


getValueAttribute

String getValueAttribute()
Return's this input's value attribute.


setValueAttribute

void setValueAttribute(String valueAttribute)
Sets this input's value attribute.



Copyright © 2007-2008 jReform