A panel that displays all of its child widgets in a 'deck', where only one
can be visible at a time. It is used by
com.google.gwt.user.client.ui.TabPanel .
Once a widget has been added to a DeckPanel, its visibility, width, and
height attributes will be manipulated. When the widget is removed from the
DeckPanel, it will be visible, and its width and height attributes will be
cleared.
Gets the index of the currently-visible widget.
the visible widget's index
insert
public void insert(Widget w, int beforeIndex)(Code)
Inserts a widget before the specified index.
Parameters: w - the widget to be inserted Parameters: beforeIndex - the index before which it will be inserted throws: IndexOutOfBoundsException - if beforeIndex is out ofrange
Shows the widget at the specified index. This causes the currently- visible
widget to be hidden.
Parameters: index - the index of the widget to be shown
Methods inherited from com.google.gwt.user.client.ui.ComplexPanel