|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComplexPanel
com.vaadin.client.ui.VTabsheetPanel
public class VTabsheetPanel
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
VTabsheet.
This class has the same basic functionality as the GWT DeckPanel
com.google.gwt.user.client.ui.DeckPanel, with the exception that it
doesn't manipulate the child widgets' width and height attributes.
| Constructor Summary | |
|---|---|
VTabsheetPanel()
Creates an empty tabsheet panel. |
|
| Method Summary | |
|---|---|
void |
add(Widget w)
Adds the specified widget to the deck. |
void |
fixVisibleTabSize(int width,
int height,
int minWidth)
|
int |
getVisibleWidget()
Gets the index of the currently-visible widget. |
void |
insert(Widget w,
int beforeIndex)
Inserts a widget before the specified index. |
boolean |
remove(Widget w)
|
void |
replaceComponent(Widget oldComponent,
Widget newComponent)
|
void |
showWidget(int index)
Shows the widget at the specified index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VTabsheetPanel()
| Method Detail |
|---|
public void add(Widget w)
w - the widget to be addedpublic int getVisibleWidget()
public void insert(Widget w,
int beforeIndex)
w - the widget to be insertedbeforeIndex - the index before which it will be inserted
java.lang.IndexOutOfBoundsException - if beforeIndex is out of rangepublic boolean remove(Widget w)
public void showWidget(int index)
index - the index of the widget to be shown
public void fixVisibleTabSize(int width,
int height,
int minWidth)
public void replaceComponent(Widget oldComponent,
Widget newComponent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||