01: package org.jreform;
02:
03: import java.util.List;
04:
05: /**
06: * An input that can have multiple values.
07: *
08: * @author armandino (at) gmail.com
09: */
10: public interface MultiInput<T> extends InputControl<T> {
11: /**
12: * Returns this input's values.
13: */
14: public List<T> getValues();
15:
16: /**
17: * Sets this input's values.
18: */
19: public void setValues(List<T> value);
20:
21: /**
22: * Return's this input's <tt>value</tt> attributes.
23: */
24: public String[] getValueAttributes();
25:
26: /**
27: * Sets this input's <tt>value</tt> attributes.
28: */
29: public void setValueAttributes(String[] valueAttributes);
30:
31: }
|