public class

DecoratedTabPanel

extends TabPanel
java.lang.Object
   ↳ com.google.gwt.user.client.ui.UIObject
     ↳ com.google.gwt.user.client.ui.Widget
       ↳ com.google.gwt.user.client.ui.Composite
         ↳ com.google.gwt.user.client.ui.TabPanel
           ↳ com.google.gwt.user.client.ui.DecoratedTabPanel

Class Overview

A TabPanel that uses a DecoratedTabBar with rounded corners.

This widget will only work in quirks mode. If your application is in Standards Mode, use TabLayoutPanel instead.

CSS Style Rules

  • .gwt-DecoratedTabPanel { the tab panel itself }
  • .gwt-TabPanelBottom { the bottom section of the tab panel (the deck containing the widget) }

Example

{@example com.google.gwt.examples.TabPanelExample}

See Also

Summary

[Expand]
Inherited Constants
From class com.google.gwt.user.client.ui.UIObject
Public Constructors
DecoratedTabPanel()
Protected Methods
SimplePanel createTabTextWrapper()
Create a SimplePanel that will wrap the contents in a tab.
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.TabPanel
From class com.google.gwt.user.client.ui.Composite
From class com.google.gwt.user.client.ui.Widget
From class com.google.gwt.user.client.ui.UIObject
From class java.lang.Object
From interface com.google.gwt.event.logical.shared.HasAttachHandlers
From interface com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers
From interface com.google.gwt.event.logical.shared.HasSelectionHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.user.client.EventListener
From interface com.google.gwt.user.client.ui.HasAnimation
From interface com.google.gwt.user.client.ui.HasWidgets
From interface com.google.gwt.user.client.ui.IndexedPanel
From interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
From interface com.google.gwt.user.client.ui.IsWidget
From interface com.google.gwt.user.client.ui.SourcesTabEvents
From interface com.google.gwt.user.client.ui.TabListener
From interface java.lang.Iterable

Public Constructors

public DecoratedTabPanel ()

Protected Methods

protected SimplePanel createTabTextWrapper ()

Create a SimplePanel that will wrap the contents in a tab. Subclasses can use this method to wrap tabs in decorator panels.

Returns
  • a SimplePanel to wrap the tab contents, or null to leave tabs unwrapped