Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.user.client.ui
Class DecoratedTabBar

    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.TabBar
                      com.google.gwt.user.client.ui.DecoratedTabBar

All Implemented Interfaces:
  HasBeforeSelectionHandlers<java.lang.Integer>, HasSelectionHandlers<java.lang.Integer>, HasHandlers, EventListener, ClickListener, KeyboardListener, SourcesTabEvents

    public class DecoratedTabBar

extends TabBar

A `TabBar` that wraps each tab in a 2x3 grid (six box), which allows users to add rounded corners.

### CSS Style Rules

- .gwt-DecoratedTabBar { the tab bar itself }
- .gwt-DecoratedTabBar .gwt-TabBarFirst { the left edge of the bar }
- .gwt-DecoratedTabBar .gwt-TabBarRest { the right edge of the bar }
- .gwt-DecoratedTabBar .gwt-TabBarItem { unselected tabs }
- .gwt-DecoratedTabBar .gwt-TabBarItem-wrapper { table cell around tab }
- .gwt-DecoratedTabBar .gwt-TabBarItem-selected { additional style for selected tabs }
- .gwt-DecoratedTabBar .gwt-TabBarItem-wrapper-selected { table cell around selected tab }
- .gwt-DecoratedTabBar .tabTopLeft { top left corner of the tab}
- .gwt-DecoratedTabBar .tabTopLeftInner { the inner element of the cell}
- .gwt-DecoratedTabBar .tabTopCenter { top center of the tab}
- .gwt-DecoratedTabBar .tabTopCenterInner { the inner element of the cell}
- .gwt-DecoratedTabBar .tabTopRight { top right corner of the tab}
- .gwt-DecoratedTabBar .tabTopRightInner { the inner element of the cell}
- .gwt-DecoratedTabBar .tabMiddleLeft { left side of the tab }
- .gwt-DecoratedTabBar .tabMiddleLeftInner { the inner element of the cell}
- .gwt-DecoratedTabBar .tabMiddleCenter { center of the tab, where the tab text or widget resides }
- .gwt-DecoratedTabBar .tabMiddleCenterInner { the inner element of the cell}
- .gwt-DecoratedTabBar .tabMiddleRight { right side of the tab }
- .gwt-DecoratedTabBar .tabMiddleRightInner { the inner element of the cell}

Nested Class Summary

Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.TabBar
`TabBar.Tab`

Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
`UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled`

Field Summary

Fields inherited from class com.google.gwt.user.client.ui.UIObject
`DEBUG_ID_PREFIX`

Fields inherited from interface com.google.gwt.user.client.ui.KeyboardListener
`KEY_ALT, KEY_BACKSPACE, KEY_CTRL, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ENTER, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RIGHT, KEY_SHIFT, KEY_TAB, KEY_UP, MODIFIER_ALT, MODIFIER_CTRL, MODIFIER_META, MODIFIER_SHIFT`

Constructor Summary
`DecoratedTabBar()` Creates an empty `DecoratedTabBar`.

Method Summary
`protected SimplePanel` | `createTabTextWrapper()` Create a `SimplePanel` that will wrap the contents in a tab.

Methods inherited from class com.google.gwt.user.client.ui.TabBar
`addBeforeSelectionHandler, addSelectionHandler, addTab, addTab, addTab, addTabListener, getSelectedTab, getTab, getTabCount, getTabHTML, insertTab, insertTab, insertTab, insertTabWidget, isTabEnabled, onClick, onEnsureDebugId, onKeyDown, onKeyPress, onKeyUp, removeTab, removeTabListener, selectTab, setTabEnabled, setTabHTML, setTabText`

Methods inherited from class com.google.gwt.user.client.ui.Composite
`getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget`

Methods inherited from class com.google.gwt.user.client.ui.Widget
`addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, sinkEvents`

Methods inherited from class com.google.gwt.user.client.ui.UIObject
`addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface com.google.gwt.event.shared.HasHandlers
`fireEvent`

Methods inherited from interface com.google.gwt.event.shared.HasHandlers
`fireEvent`

Constructor Detail

### DecoratedTabBar

    public DecoratedTabBar()

  Creates an empty `DecoratedTabBar`.

Method Detail

### createTabTextWrapper

    protected SimplePanel createTabTextWrapper()

  Description copied from class: `TabBar`
  Create a `SimplePanel` that will wrap the contents in a tab. Subclasses can use this method to wrap tabs in decorator panels.

  Overrides:
    `createTabTextWrapper` in class `TabBar`
  Returns:
    a `SimplePanel` to wrap the tab contents, or null to leave tabs unwrapped

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD