|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.HTMLPanel
A panel that contains HTML, and which can attach child widgets to identified elements within that HTML.
| Constructor Summary | |
HTMLPanel(java.lang.String html)
Creates an HTML panel with the specified HTML contents. |
|
| Method Summary | |
void |
add(Widget widget,
java.lang.String id)
Adds a child widget to the panel, contained within the HTML element specified by a given id. |
static java.lang.String |
createUniqueId()
A helper method for creating unique id's for elements within dynamically- generated HTML. |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, getChildren, insert, iterator, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, clear, disown, onAttach, onDetach |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
getParent, isAttached, onBrowserEvent, onLoad, removeFromParent |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HTMLPanel(java.lang.String html)
html - the panel's HTML| Method Detail |
public static java.lang.String createUniqueId()
public void add(Widget widget,
java.lang.String id)
widget - the widget to be addedid - the id of the element within which it will be contained
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||