public class ValueLabel<T> extends Label implements Value.Listener<T>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasDirection.DirectionHasHorizontalAlignment.AutoHorizontalAlignmentConstant, HasHorizontalAlignment.HorizontalAlignmentConstantDEFAULT_DIRECTION_ESTIMATORDEBUG_ID_PREFIXALIGN_CONTENT_END, ALIGN_CONTENT_STARTALIGN_CENTER, ALIGN_DEFAULT, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_LOCALE_END, ALIGN_LOCALE_START, ALIGN_RIGHT| Constructor and Description |
|---|
ValueLabel(Value<T> value,
String... styles)
Creates a value label with the supplied value and CSS styles.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ValueLabel<T> |
create(Value<T> value,
String... styles)
Creates a value label for the supplied value with the specified CSS styles.
|
void |
onLoad() |
void |
onUnload() |
void |
valueChanged(T value)
Called when the value has changed.
|
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setText, wrapgetAutoHorizontalAlignment, getDirectionEstimator, getHorizontalAlignment, getWordWrap, setAutoHorizontalAlignment, setDirectionEstimator, setDirectionEstimator, setHorizontalAlignment, setWordWrapaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfireEventpublic static <T> ValueLabel<T> create(Value<T> value, String... styles)
public void valueChanged(T value)
Value.ListenervalueChanged in interface Value.Listener<T>Copyright © 2013. All Rights Reserved.