public class Text extends Component implements HasText
Constructor and Description |
---|
Text(String text)
Creates an instance using the given text.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Gets the text of the component.
|
void |
setText(String text)
Sets the text of the component.
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElement
addAttachListener
addDetachListener
Copyright © 2020. All rights reserved.