public interface HasText
The body of an XML element representing a widget that implements
HasText will be parsed as text and be used in a call to its
setText(String)
method. HasText elements must only
contain text. (This behavior is overridden for HasHTML
widgets.)
For example:
<g:Label>Hello.</g:Label>
Modifier and Type | Method and Description |
---|---|
String |
getText()
Gets this object's text.
|
void |
setText(String text)
Sets this object's text.
|
Copyright © 2018. All rights reserved.