Interface HasHTML

All Superinterfaces:
HasText
All Known Subinterfaces:
DialogBox.Caption, HasDirectionalHtml
All Known Implementing Classes:
Anchor, Button, ButtonBase, CheckBox, CustomButton, CustomButton.Face, DialogBox, DialogBox.CaptionImpl, HTML, Hyperlink, InlineHTML, InlineHyperlink, MenuItem, PushButton, RadioButton, ResetButton, RichTextArea, SubmitButton, ToggleButton, TreeItem

public interface HasHTML extends HasText
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.

Use in UiBinder Templates

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>