litesoft
Diff Revisions
633
vs
635
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/InputField.java
|
@@ -2,9 +2,11 @@ |
2 |
2 |
|
|
3 |
3 |
|
import com.google.gwt.user.client.ui.HasName; |
4 |
4 |
|
import com.google.gwt.user.client.ui.Widget; |
|
5 |
+ |
import com.temp.client.foundation.widget.input.fieldsupport.FocusChangedListener; |
5 |
6 |
|
import com.temp.client.foundation.widget.input.fieldsupport.InputWidgetChangeFilter; |
6 |
7 |
|
import com.temp.client.foundation.widget.input.fieldsupport.InputWidgetValidator; |
7 |
8 |
|
import com.temp.client.foundation.widget.input.support.FormEngineMember; |
|
9 |
+ |
import com.temp.shared.externalization.E13nData; |
8 |
10 |
|
import com.temp.shared.utils.Visible; |
9 |
11 |
|
|
10 |
12 |
|
/** |
|
@@ -57,6 +59,12 @@ |
57 |
59 |
|
|
58 |
60 |
|
// Callable anytime: |
59 |
61 |
|
|
|
62 |
+ |
InputField<T> add(FocusChangedListener focusChangedListener); |
|
63 |
+ |
|
|
64 |
+ |
boolean remove(FocusChangedListener focusChangedListener); |
|
65 |
+ |
|
|
66 |
+ |
void removeAllFocusChangeListeners(); |
|
67 |
+ |
|
60 |
68 |
|
InputField<T> add(ChangeListener<T> changeListener); |
61 |
69 |
|
|
62 |
70 |
|
boolean remove(ChangeListener<T> changeListener); |
|
@@ -80,6 +88,11 @@ |
80 |
88 |
|
// Only callable in Run Mode: |
81 |
89 |
|
|
82 |
90 |
|
/** |
|
91 |
+ |
* Return Current Error Data (or null if not in Error) |
|
92 |
+ |
*/ |
|
93 |
+ |
E13nData getErrorData(); |
|
94 |
+ |
|
|
95 |
+ |
/** |
83 |
96 |
|
* set the Current value and the "Base" value (the "Base" value is what "change" is determined from). |
84 |
97 |
|
* <p/> |
85 |
98 |
|
* Note: The value is "normalized" before giving it to the actual Input Widget |
|
@@ -102,12 +115,4 @@ |
102 |
115 |
|
* @return null possible |
103 |
116 |
|
*/ |
104 |
117 |
|
T getBaseValue(); |
105 |
|
- |
|
106 |
|
- |
InputWidgetChangeFilter<T> getInput(); |
107 |
|
- |
|
108 |
|
- |
InputWidgetValidator<T> getValidator(); |
109 |
|
- |
|
110 |
|
- |
Widget getErrorLabel(); |
111 |
|
- |
|
112 |
|
- |
Widget getHelpWidget(); |
113 |
118 |
|
} |