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 | 
|---|---|
| java.lang.String | getText()Gets this object's text. | 
| void | setText(java.lang.String text)Sets this object's text. |