litesoft
Diff Revisions
628
vs
629
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/InputField.java
|
@@ -1,7 +1,6 @@ |
1 |
1 |
|
package com.temp.client.foundation.widget.input; |
2 |
2 |
|
|
3 |
3 |
|
import com.google.gwt.user.client.ui.*; |
4 |
|
- |
import com.temp.client.foundation.widget.*; |
5 |
4 |
|
import com.temp.client.foundation.widget.input.fieldsupport.*; |
6 |
5 |
|
import com.temp.shared.*; |
7 |
6 |
|
import com.temp.shared.externalization.*; |
|
@@ -146,6 +145,11 @@ |
146 |
145 |
|
boolean isChanged(); |
147 |
146 |
|
|
148 |
147 |
|
/** |
|
148 |
+ |
* Return if the Field has Focus (or null indicating that the Focus state is not tracked) |
|
149 |
+ |
*/ |
|
150 |
+ |
Boolean isFocused(); |
|
151 |
+ |
|
|
152 |
+ |
/** |
149 |
153 |
|
* Return if the Current Value is rejected by any of the ValueValidator(s) |
150 |
154 |
|
*/ |
151 |
155 |
|
boolean isErrored(); |
|
@@ -159,6 +163,11 @@ |
159 |
163 |
|
*/ |
160 |
164 |
|
boolean validate(); |
161 |
165 |
|
|
|
166 |
+ |
/** |
|
167 |
+ |
* Pull the Focus to this Field (return false if the field is "thought" to be currently un-focusable, e.g. Not Visible, Disabled, or has no Focusable components) |
|
168 |
+ |
*/ |
|
169 |
+ |
boolean setFocused(); |
|
170 |
+ |
|
162 |
171 |
|
E13nResolver getE13nResolver(); |
163 |
172 |
|
|
164 |
173 |
|
Widget getInputWidget(); |