Example usage for Java com.google.gwt.user.client.ui HTMLPanel fields, constructors, methods, implement or subclass
The text is from its open source code.
HTMLPanel(SafeHtml safeHtml) Initializes the panel's HTML from a given SafeHtml object. | |
HTMLPanel(@IsSafeHtml String html) Creates an HTML panel with the specified HTML contents inside a DIV element. | |
HTMLPanel(Element elem) Construct a new HTMLPanel with the specified element. | |
HTMLPanel(String tag, @IsSafeHtml String html) Creates an HTML panel whose root element has the given tag, and with the specified HTML contents. |
void | add(Widget widget, Element elem) Adds a child widget to the panel, contained within an HTML element. |
void | add(Widget widget, String id) Adds a child widget to the panel, contained within the HTML element specified by a given id. |
void | add(Widget widget) Adds a child widget to the panel. |
void | addAndReplaceElement(IsWidget widget, com.google.gwt.user.client.Element toReplace) Overloaded version for IsWidget. |
void | addAndReplaceElement(IsWidget widget, Element toReplace) Overloaded version for IsWidget. |
void | addAndReplaceElement(IsWidget widget, String id) Overloaded version for IsWidget. |
void | addAndReplaceElement(Widget widget, com.google.gwt.user.client.Element toReplace) Adds a child widget to the panel, replacing the HTML element. |
void | addAndReplaceElement(Widget widget, Element toReplace) Adds a child widget to the panel, replacing the HTML element. |
void | addAndReplaceElement(Widget widget, String id) Adds a child widget to the panel, replacing the HTML element specified by a given id. |
String | createUniqueId() A helper method for creating unique IDs for elements within dynamically- generated HTML. |
Element | getElementById(String id) Finds an Element element within this panel by its id. |
Widget | getWidget(int index) |
int | getWidgetCount() |
Iterator | iterator() |
boolean | remove(int index) |
HTMLPanel | wrap(Element element) Creates an HTML panel that wraps an existing element. |