01: package org.jreform;
02:
03: /**
04: * An input that has only a single value.
05: *
06: * @author armandino (at) gmail.com
07: */
08: public interface Input<T> extends InputControl<T> {
09: /**
10: * Returns this input's value.
11: */
12: public T getValue();
13:
14: /**
15: * Sets this input's value.
16: */
17: public void setValue(T value);
18:
19: /**
20: * Return's this input's <tt>value</tt> attribute.
21: */
22: public String getValueAttribute();
23:
24: /**
25: * Sets this input's <tt>value</tt> attribute.
26: */
27: public void setValueAttribute(String valueAttribute);
28:
29: }
|