01: package org.jreform;
02:
03: import org.jreform.internal.InputControlModifier;
04:
05: /**
06: * @author armandino (at) gmail.com
07: */
08: public interface InputCollection extends HttpServletRequestValidator {
09: public <T> Input<T> getInput(String name);
10:
11: public <T> Checkbox<T> getCheckbox(String name);
12:
13: public <T> MultiCheckbox<T> getMultiCheckbox(String name);
14:
15: public <T> Radio<T> getRadio(String name);
16:
17: public <T> Select<T> getSelect(String name);
18:
19: public <T> MultiSelect<T> getMultiSelect(String name);
20:
21: public <T> InputControlModifier<T> input(InputDataType<T> type,
22: String name, Criterion<T>... criteria);
23:
24: public <T> InputControlModifier<T> checkbox(InputDataType<T> type,
25: String name, Criterion<T>... criteria);
26:
27: public <T> InputControlModifier<T> multiCheckbox(
28: InputDataType<T> type, String name,
29: Criterion<T>... criteria);
30:
31: public <T> InputControlModifier<T> radio(InputDataType<T> type,
32: String name, Criterion<T>... criteria);
33:
34: public <T> InputControlModifier<T> select(InputDataType<T> type,
35: String name, Criterion<T>... criteria);
36:
37: public <T> InputControlModifier<T> multiSelect(
38: InputDataType<T> type, String name,
39: Criterion<T>... criteria);
40:
41: }
|