public class TextInput extends AbstractInput
| Constructor and Description |
|---|
TextInput(com.google.gwt.user.client.ui.TextBoxBase textBox)
Creates a new text input that wraps a text box.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
void |
setFocus(boolean focused)
Gives or takes the focus to/from this object.
|
void |
setValue(String value)
Sets this object's value.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic TextInput(com.google.gwt.user.client.ui.TextBoxBase textBox)
textBox - the text box used to collect test from the userpublic void setFocus(boolean focused)
HasFocusfocused - true to give the focus to this object, false to take itpublic String getValue()
Copyright © 2004–2017 XWiki. All rights reserved.