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 |
---|---|
String |
getHTML()
Gets this object's contents as HTML.
|
void |
setHTML(String html)
Sets this object's contents via HTML.
|
String getHTML()
void setHTML(String html)
HasText.setText(String)
whenever possible.html
- the object's new HTMLCopyright © 2018. All rights reserved.