com.google.gwt.user.client.ui.InsertPanel |
Known Indirect Subclasses
AbsolutePanel |
An absolute panel positions all of its children absolutely, allowing them to
overlap. |
DeckPanel |
A panel that displays all of its child widgets in a 'deck', where only one
can be visible at a time. |
DecoratedStackPanel |
A StackPanel that wraps each item in a 2x3 grid (six box), which
allows users to add rounded corners. |
FlowPanel |
A panel that formats its child widgets using the default HTML layout
behavior. |
HorizontalPanel |
A panel that lays all of its widgets out in a single horizontal column. |
InsertPanel.ForIsWidget |
Extends this interface with convenience methods to handle IsWidget . |
RootPanel |
The panel to which all other widgets must ultimately be added. |
StackPanel |
A panel that stacks its children vertically, displaying only one at a time,
with a header for each child which the user can click to display. |
VerticalPanel |
A panel that lays all of its widgets out in a single vertical column. |
|
Class Overview
Implemented by IndexedPanel
s that also allow insertions.
Summary
Nested Classes |
interface |
InsertPanel.ForIsWidget |
Extends this interface with convenience methods to handle IsWidget . |
Public Methods |
abstract
void
|
add(Widget w)
Adds a child widget to this panel.
|
abstract
void
|
insert(Widget w, int beforeIndex)
Inserts a child widget before the specified index.
|
Public Methods
public
abstract
void
add
(Widget w)
Adds a child widget to this panel.
Parameters
w
| the child widget to be added
|
public
abstract
void
insert
(Widget w, int beforeIndex)
Inserts a child widget before the specified index. If the widget is already
a child of this panel, it will be moved to the specified index.
Parameters
w
| the child widget to be inserted |
beforeIndex
| the index before which it will be inserted |