01: package vicazh.hyperpool.stream.net.http;
02:
03: import java.util.*;
04: import vicazh.hyperpool.stream.*;
05:
06: /**
07: * The content selector combo box model for default value
08: *
09: * @author Victor Zhigunov
10: * @version 0.4.0
11: */
12: public class IContentDefModel extends ISelectorDefModel {
13:
14: /**
15: * @param data
16: * data array
17: */
18: public IContentDefModel(final String[] data) {
19: super (new ArrayList<Object>() {
20: public Object get(int index) {
21: return data[index];
22: }
23:
24: public int size() {
25: return data.length;
26: }
27: });
28: }
29:
30: }
|