Example usage for Java com.google.gwt.user.client.ui HTML fields, constructors, methods, implement or subclass
The text is from its open source code.
HTML(SafeHtml html) Initializes the widget's HTML from a given SafeHtml object. | |
HTML(String html) Creates an HTML widget with the specified HTML contents. | |
HTML(Element element) This constructor may be used by subclasses to explicitly use an existing element. | |
HTML() Creates an empty HTML widget. | |
HTML(SafeHtml html, Direction dir) Creates an HTML widget with the specified contents and with the specified direction. | |
HTML(SafeHtml html, DirectionEstimator directionEstimator) Creates an HTML widget with the specified HTML contents and specifies a direction estimator. | |
HTML(String html, Direction dir) Creates an HTML widget with the specified HTML contents and with the specified direction. | |
HTML(String html, boolean wordWrap) Creates an HTML widget with the specified contents, optionally treating it as HTML, and optionally disabling word wrapping. |
String | getHTML() |
void | setHTML(String html) Sets the label's content to the given HTML. |
void | setHTML(SafeHtml html) Sets this object's contents via known-safe HTML. |
HTML | wrap(Element element) Creates an HTML widget that wraps an existing <div> or <span> element. |