public interface InsertPanel extends IndexedPanel
IndexedPanels that also allow insertions.| Modifier and Type | Interface and Description |
|---|---|
static interface |
InsertPanel.ForIsWidget
Extends this interface with convenience methods to handle
IsWidget. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Widget w)
Adds a child widget to this panel.
|
void |
insert(Widget w,
int beforeIndex)
Inserts a child widget before the specified index.
|
getWidget, getWidgetCount, getWidgetIndex, removevoid add(Widget w)
w - the child widget to be addedvoid insert(Widget w, int beforeIndex)
w - the child widget to be insertedbeforeIndex - the index before which it will be insertedjava.lang.IndexOutOfBoundsException - if beforeIndex is out of
range