Java com.google.gwt.user.client.ui TabBar fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui TabBar fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui TabBar.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.TabBar has subclasses.
Click this link to see all its subclasses.

Constructor

TabBar()
Creates an empty tab bar.

Method

HandlerRegistrationaddBeforeSelectionHandler(BeforeSelectionHandler handler)
HandlerRegistrationaddSelectionHandler(SelectionHandler handler)
voidaddTab(SafeHtml html)
Adds a new tab with the specified text.
voidaddTab(String text)
Adds a new tab with the specified text.
voidaddTab(Widget widget)
Adds a new tab with the specified widget.
voidaddTabListener(TabListener listener)
intgetSelectedTab()
Gets the tab that is currently selected.
TabgetTab(int index)
Gets the given tab.
intgetTabCount()
Gets the number of tabs present.
booleanselectTab(int index)
Programmatically selects the specified tab and fires events.
voidsetTabText(int index, String text)
Sets a tab's text contents.