Example usage for Java com.google.gwt.user.client.ui TabLayoutPanel fields, constructors, methods, implement or subclass
The text is from its open source code.
TabLayoutPanel(double barHeight, Unit barUnit) Creates an empty tab panel. |
void | add(IsWidget w, IsWidget tab) Convenience overload to allow IsWidget to be used directly. |
void | add(IsWidget w, String text) Convenience overload to allow IsWidget to be used directly. |
void | add(Widget child, String text) Adds a widget to the panel. |
void | add(Widget child, SafeHtml html) Adds a widget to the panel. |
void | add(Widget child, Widget tab) Adds a widget to the panel. |
HandlerRegistration | addSelectionHandler(SelectionHandler |
void | clear() |
Widget | getWidget(int index) Returns the widget at the given index. |
int | getWidgetCount() Returns the number of tabs and widgets. |
void | insert(IsWidget child, IsWidget tab, int beforeIndex) Convenience overload to allow IsWidget to be used directly. |
void | insert(IsWidget child, String text, int beforeIndex) Convenience overload to allow IsWidget to be used directly. |
void | insert(Widget child, SafeHtml html, int beforeIndex) Inserts a widget into the panel. |
void | insert(Widget child, String text, int beforeIndex) Inserts a widget into the panel. |
void | insert(Widget child, Widget tab, int beforeIndex) Inserts a widget into the panel. |
void | insert(final Widget child, Tab tab, int beforeIndex) |
void | selectTab(int index) Programmatically selects the specified tab and fires events. |
void | selectTab(IsWidget child) Convenience overload to allow IsWidget to be used directly. |
void | selectTab(Widget child) Programmatically selects the specified tab and fires events. |
void | setAnimationDuration(int duration) Set the duration of the animated transition between tabs. |