public class TabbedPanel extends NamedPanel
| Constructor and Description |
|---|
TabbedPanel(int width) |
TabbedPanel(int width,
NamedWidget... widgets) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData() |
java.lang.String |
getName() |
int |
put(Widget widget,
java.lang.String name)
Puts widget at first free index
|
TabbedPanel |
put(Widget widget,
java.lang.String name,
int index)
Puts new widget to the container
|
put, putaddTo, attach, getID, handleData, sendElementpublic TabbedPanel(int width)
width - Default width of the containerpublic TabbedPanel(int width,
NamedWidget... widgets)
width - Default width of the containerwidgets - Default widgetspublic TabbedPanel put(Widget widget, java.lang.String name, int index)
put in class NamedPanelwidget - Widget to putname - Name of tabindex - id of 'cell' in the container to put widget to(numbered from 0)public int put(Widget widget, java.lang.String name)
put in class NamedPanelwidget - Widget to putname - Name of tab