Example usage for Java com.google.gwt.user.client.ui RootPanel fields, constructors, methods, implement or subclass
The text is from its open source code.
void | add(Widget w) |
void | add(Widget w, int left, int top) Adds a widget to the panel at the specified position. |
void | detachNow(Widget widget) Marks a widget as detached and removes it from the detach list. |
void | detachOnWindowClose(Widget widget) Adds a widget to the detach list. |
RootPanel | get() Gets the default root panel. |
RootPanel | get(String id) Gets the root panel associated with a given browser element. |
Element | getBodyElement() |
void | insert(Widget w, int beforeIndex) |
boolean | isInDetachList(Widget widget) Determines whether the given widget is in the detach list. |
boolean | remove(Widget w) Overrides ComplexPanel#remove(Widget) to change the removed Widget's element back to static positioning.This is done so that any positioning changes to the widget that were done by the panel are undone when the widget is disowned from the panel. |