Example usage for Java com.google.gwt.user.client.ui TabBar fields, constructors, methods, implement or subclass
The text is from its open source code.
TabBar() Creates an empty tab bar. |
HandlerRegistration | addBeforeSelectionHandler(BeforeSelectionHandler |
HandlerRegistration | addSelectionHandler(SelectionHandler |
void | addTab(SafeHtml html) Adds a new tab with the specified text. |
void | addTab(String text) Adds a new tab with the specified text. |
void | addTab(Widget widget) Adds a new tab with the specified widget. |
void | addTabListener(TabListener listener) |
int | getSelectedTab() Gets the tab that is currently selected. |
Tab | getTab(int index) Gets the given tab. |
int | getTabCount() Gets the number of tabs present. |
boolean | selectTab(int index) Programmatically selects the specified tab and fires events. |
void | setTabText(int index, String text) Sets a tab's text contents. |