Java com.google.gwt.user.client.ui HTML fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui HTML fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui HTML.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.HTML has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

StringgetHTML()
voidsetHTML(String html)
Sets the label's content to the given HTML.
voidsetHTML(SafeHtml html)
Sets this object's contents via known-safe HTML.
HTMLwrap(Element element)
Creates an HTML widget that wraps an existing <div> or <span> element.