Example usage for Java com.google.gwt.user.client.ui ValueBoxBase fields, constructors, methods, implement or subclass
The text is from its open source code.
HandlerRegistration | addBlurHandler(BlurHandler handler) |
HandlerRegistration | addClickHandler(ClickHandler handler) |
HandlerRegistration | addFocusHandler(FocusHandler handler) |
HandlerRegistration | addKeyDownHandler(KeyDownHandler handler) |
HandlerRegistration | addKeyPressHandler(KeyPressHandler handler) |
HandlerRegistration | addKeyUpHandler(KeyUpHandler handler) |
HandlerRegistration | addMouseUpHandler(MouseUpHandler handler) |
ValueBoxEditor | asEditor() Returns an Editor that is backed by the ValueBoxBase. |
int | getCursorPos() Gets the current position of the cursor (this also serves as the beginning of the text selection). |
String | getSelectedText() Gets the text currently selected within this text box. |
String | getText() |
T | getValue() Return the parsed value, or null if the field is empty or parsing fails. |
void | onBrowserEvent(Event event) |
void | selectAll() Selects all of the text in the box. |
void | setCursorPos(int pos) Sets the cursor position. |
void | setEnabled(boolean enabled) Sets whether this widget is enabled. |
void | setReadOnly(boolean readOnly) Turns read-only mode on or off. |
void | setValue(T value) |