public class NullableTextBox extends TextBox
TextBox
that can hold and set a value of null
.Modifier and Type | Class and Description |
---|---|
static interface |
NullableTextBox.NullableTextBoxConstants |
static interface |
NullableTextBox.NullableTextBoxMessages |
static interface |
NullableTextBox.Resources |
static interface |
NullableTextBox.Style |
TextBoxBase.TextAlignConstant
ValueBoxBase.TextAlignment
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
HasDirection.Direction
ALIGN_CENTER, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHT
DEBUG_ID_PREFIX
Constructor and Description |
---|
NullableTextBox() |
Modifier and Type | Method and Description |
---|---|
static String |
getHelpMessage() |
String |
getValue() |
void |
setValue(String value,
boolean fireEvents) |
getMaxLength, getVisibleLength, setMaxLength, setVisibleLength, wrap
addChangeListener, setTextAlignment
addChangeHandler, addValueChangeHandler, asEditor, cancelKey, getCursorPos, getDirection, getDirectionEstimator, getName, getSelectedText, getSelectionLength, getText, getValueOrThrow, isReadOnly, onBrowserEvent, removeChangeListener, selectAll, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setKey, setName, setReadOnly, setSelectionRange, setText, setValue
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getTabIndex, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setEnabled, setFocus, setTabIndex
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
removeChangeListener
addKeyUpHandler
fireEvent
public String getValue()
getValue
in interface TakesValue<String>
getValue
in interface HasValue<String>
getValue
in class TextBoxBase
public void setValue(String value, boolean fireEvents)
public static String getHelpMessage()