|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasHTML
An object that implements this interface contains text, which can be set and retrieved using these methods. The object's text can be set either as HTML or as text.
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>
Method Summary | |
---|---|
java.lang.String |
getHTML()
Gets this object's contents as HTML. |
void |
setHTML(java.lang.String html)
Sets this object's contents via HTML. |
Methods inherited from interface com.google.gwt.user.client.ui.HasText |
---|
getText, setText |
Method Detail |
---|
java.lang.String getHTML()
void setHTML(java.lang.String html)
HasText.setText(String)
whenever possible.
html
- the object's new HTML
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |