01: /*
02: * Created on Nov 2, 2005
03: */
04: package uk.org.ponder.rsf.components;
05:
06: import java.util.ArrayList;
07:
08: /** A type-safe list of UIParameter objects */
09:
10: public class ParameterList extends ArrayList {
11: public ParameterList() {
12: }
13:
14: public ParameterList(UIParameter single) {
15: add(single);
16: }
17:
18: public UIParameter parameterAt(int i) {
19: return (UIParameter) get(i);
20: }
21:
22: public boolean add(Object o) {
23: UIParameter cast = (UIParameter) o;
24: return super.add(cast);
25: }
26: }
|