litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/CheckBoxInputField.java
|
@@ -1,9 +1,8 @@ |
1 |
1 |
|
package com.temp.client.foundation.widget.input; |
2 |
2 |
|
|
3 |
|
- |
import com.google.gwt.user.client.ui.CheckBox; |
4 |
|
- |
import com.temp.client.foundation.widget.input.fieldsupport.AbstractGeneratedInputField; |
5 |
|
- |
import com.temp.client.foundation.widget.input.fieldsupport.InputFieldAccessor; |
6 |
|
- |
import com.temp.client.foundation.widget.input.support.CheckBoxValueAdapter; |
|
3 |
+ |
import com.google.gwt.user.client.ui.*; |
|
4 |
+ |
import com.temp.client.foundation.widget.input.fieldsupport.*; |
|
5 |
+ |
import com.temp.client.foundation.widget.input.support.*; |
7 |
6 |
|
|
8 |
7 |
|
public class CheckBoxInputField extends AbstractGeneratedInputField<Boolean, CheckBoxInputField> { |
9 |
8 |
|
private static final String STYLE = "field-checkbox"; |
|
@@ -12,6 +11,6 @@ |
12 |
11 |
|
|
13 |
12 |
|
@Override |
14 |
13 |
|
protected InputFieldAccessor<Boolean> createBaseAccessor() { |
15 |
|
- |
return createBaseAccessor(new CheckBoxValueAdapter(field), field, STYLE, field); |
|
14 |
+ |
return createBaseAccessor( new CheckBoxValueAdapter( field ), field, STYLE, field ); |
16 |
15 |
|
} |
17 |
16 |
|
} |