public interface HasHTML extends HasText
The body of an XML element representing a widget that implements
HasHTML will be parsed as HTML and be used in a call to its
setHTML(String) method.
For example:
<g:PushButton><b>Click me!</b></g:PushButton>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHTML()
Gets this object's contents as HTML.
|
void |
setHTML(java.lang.String html)
Sets this object's contents via HTML.
|
java.lang.String getHTML()
void setHTML(java.lang.String html)
HasText.setText(String) whenever possible.html - the object's new HTML