litesoft
Diff Revisions
949
vs
950
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/fieldsupport/InputType.java
|
@@ -1,29 +1,29 @@ |
1 |
|
- |
package com.temp.client.foundation.widget.input.fieldsupport; |
2 |
|
- |
|
3 |
|
- |
/** |
4 |
|
- |
* Will need to have an adapter for RadioGroup |
5 |
|
- |
*/ |
6 |
|
- |
public enum InputType { |
7 |
|
- |
Choice { |
8 |
|
- |
}, // |
9 |
|
- |
CheckBox { |
10 |
|
- |
}, // |
11 |
|
- |
RadioButton { |
12 |
|
- |
}, // |
13 |
|
- |
Date { |
14 |
|
- |
}, // |
15 |
|
- |
DateRange { |
16 |
|
- |
}, // |
17 |
|
- |
// Time, TimeRange, // |
18 |
|
- |
// Timestamp, TimestampRange, // |
19 |
|
- |
// Length, LengthRange, // |
20 |
|
- |
// Count, CountRange, // |
21 |
|
- |
// wInteger, IntegerRange, // |
22 |
|
- |
Uploader { |
23 |
|
- |
}; |
24 |
|
- |
|
25 |
|
- |
//abstract |
26 |
|
- |
public <T> InputFieldAccessor<T> createAccessor() { |
27 |
|
- |
throw new IllegalStateException( "Accessor not implemented yet for InputType: " + name() ); |
28 |
|
- |
} |
29 |
|
- |
} |
|
1 |
+ |
package com.temp.client.foundation.widget.input.fieldsupport; |
|
2 |
+ |
|
|
3 |
+ |
/** |
|
4 |
+ |
* Will need to have an adapter for RadioGroup |
|
5 |
+ |
*/ |
|
6 |
+ |
public enum InputType { |
|
7 |
+ |
Choice { |
|
8 |
+ |
}, // |
|
9 |
+ |
CheckBox { |
|
10 |
+ |
}, // |
|
11 |
+ |
RadioButton { |
|
12 |
+ |
}, // |
|
13 |
+ |
Date { |
|
14 |
+ |
}, // |
|
15 |
+ |
DateRange { |
|
16 |
+ |
}, // |
|
17 |
+ |
// Time, TimeRange, // |
|
18 |
+ |
// Timestamp, TimestampRange, // |
|
19 |
+ |
// Length, LengthRange, // |
|
20 |
+ |
// Count, CountRange, // |
|
21 |
+ |
// wInteger, IntegerRange, // |
|
22 |
+ |
Uploader { |
|
23 |
+ |
}; |
|
24 |
+ |
|
|
25 |
+ |
//abstract |
|
26 |
+ |
public <T> InputFieldAccessor<T> createAccessor() { |
|
27 |
+ |
throw new IllegalStateException( "Accessor not implemented yet for InputType: " + name() ); |
|
28 |
+ |
} |
|
29 |
+ |
} |