public class Text extends com.google.gwt.user.client.ui.Widget implements com.google.gwt.user.client.ui.HasText
<b:Text>
...
</b:Text>
| Constructor and Description |
|---|
Text()
Creates the default text node with empty text
|
Text(String txt)
Creates a text node with the desired text
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
boolean |
isAttached() |
protected void |
onAttach() |
protected void |
onDetach() |
void |
setText(String txt) |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onBrowserEvent, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic Text()
public void setText(String txt)
setText in interface com.google.gwt.user.client.ui.HasTextpublic String getText()
getText in interface com.google.gwt.user.client.ui.HasTextpublic boolean isAttached()
isAttached in interface com.google.gwt.event.logical.shared.HasAttachHandlersisAttached in class com.google.gwt.user.client.ui.Widgetprotected void onAttach()
onAttach in class com.google.gwt.user.client.ui.Widgetprotected void onDetach()
onDetach in class com.google.gwt.user.client.ui.WidgetCopyright © 2018. All rights reserved.