litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/fieldsupport/InputFieldAccessor.java
|
@@ -1,8 +1,6 @@ |
1 |
1 |
|
package com.temp.client.foundation.widget.input.fieldsupport; |
2 |
2 |
|
|
3 |
|
- |
import com.google.gwt.user.client.ui.Focusable; |
4 |
|
- |
import com.google.gwt.user.client.ui.HasEnabled; |
5 |
|
- |
import com.google.gwt.user.client.ui.Widget; |
|
3 |
+ |
import com.google.gwt.user.client.ui.*; |
6 |
4 |
|
|
7 |
5 |
|
public class InputFieldAccessor<T> implements HasEnabled { |
8 |
6 |
|
protected final Widget inputWidget; |
|
@@ -11,7 +9,8 @@ |
11 |
9 |
|
protected final InputWidgetChangeFilter<T> input; |
12 |
10 |
|
protected final Focusable[] focusables; |
13 |
11 |
|
|
14 |
|
- |
public InputFieldAccessor(InputWidgetChangeFilter<T> input, InputWidgetValidator<T> validator, InputWidgetValueAdapter<T> valueAdapter, Widget inputWidget, Focusable... focusables) { |
|
12 |
+ |
public InputFieldAccessor( InputWidgetChangeFilter<T> input, InputWidgetValidator<T> validator, InputWidgetValueAdapter<T> valueAdapter, Widget inputWidget, |
|
13 |
+ |
Focusable... focusables ) { |
15 |
14 |
|
this.input = input; |
16 |
15 |
|
this.validator = validator; |
17 |
16 |
|
this.valueAdapter = valueAdapter; |
|
@@ -25,8 +24,8 @@ |
25 |
24 |
|
} |
26 |
25 |
|
|
27 |
26 |
|
@Override |
28 |
|
- |
public void setEnabled(boolean enabled) { |
29 |
|
- |
getEnableable().setEnabled(enabled); |
|
27 |
+ |
public void setEnabled( boolean enabled ) { |
|
28 |
+ |
getEnableable().setEnabled( enabled ); |
30 |
29 |
|
} |
31 |
30 |
|
|
32 |
31 |
|
public Widget getInputWidget() { |
|
@@ -60,7 +59,7 @@ |
60 |
59 |
|
} |
61 |
60 |
|
|
62 |
61 |
|
@Override |
63 |
|
- |
public void setEnabled(boolean enabled) { |
|
62 |
+ |
public void setEnabled( boolean enabled ) { |
64 |
63 |
|
|
65 |
64 |
|
// Whatever |
66 |
65 |
|
} |