public interface

InsertPanel

implements IndexedPanel
com.google.gwt.user.client.ui.InsertPanel
Known Indirect Subclasses

Class Overview

Implemented by IndexedPanels 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.
[Expand]
Inherited Methods
From interface com.google.gwt.user.client.ui.IndexedPanel

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
Throws
IndexOutOfBoundsException if beforeIndex is out of range