Package com.opencloud.rem.client.ui
Class ScrolledTabLayoutPanel
- 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.ResizeComposite
-
- com.google.gwt.user.client.ui.TabLayoutPanel
-
- com.opencloud.rem.client.ui.ScrolledTabLayoutPanel
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers<Integer>
,com.google.gwt.event.logical.shared.HasSelectionHandlers<Integer>
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.AnimatedLayout
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,com.google.gwt.user.client.ui.ProvidesResize
,com.google.gwt.user.client.ui.RequiresResize
,Iterable<com.google.gwt.user.client.ui.Widget>
public class ScrolledTabLayoutPanel extends com.google.gwt.user.client.ui.TabLayoutPanel
ATabLayoutPanel
that shows scroll buttons in the tab bar if tabs become wider than the panel width.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
-
Constructor Summary
Constructors Constructor Description ScrolledTabLayoutPanel(double barHeight, com.google.gwt.dom.client.Style.Unit barUnit, com.google.gwt.resources.client.ImageResource leftArrowImage, com.google.gwt.resources.client.ImageResource rightArrowImage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(com.google.gwt.user.client.ui.Widget child, com.google.gwt.user.client.ui.Widget tab)
void
onResize()
boolean
remove(com.google.gwt.user.client.ui.Widget w)
void
selectTab(int index, boolean fireEvents)
-
Methods inherited from class com.google.gwt.user.client.ui.TabLayoutPanel
add, add, add, add, add, add, add, add, addBeforeSelectionHandler, addSelectionHandler, animate, animate, clear, forceLayout, getAnimationDuration, getSelectedIndex, getTabWidget, getTabWidget, getTabWidget, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, insert, insert, insert, insert, insert, insert, insert, isAnimationVertical, iterator, remove, selectTab, selectTab, selectTab, selectTab, selectTab, setAnimationDuration, setAnimationVertical, setTabHTML, setTabHTML, setTabText
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
add
public void add(com.google.gwt.user.client.ui.Widget child, com.google.gwt.user.client.ui.Widget tab)
- Overrides:
add
in classcom.google.gwt.user.client.ui.TabLayoutPanel
-
remove
public boolean remove(com.google.gwt.user.client.ui.Widget w)
- Specified by:
remove
in interfacecom.google.gwt.user.client.ui.HasWidgets
- Overrides:
remove
in classcom.google.gwt.user.client.ui.TabLayoutPanel
-
onResize
public void onResize()
- Specified by:
onResize
in interfacecom.google.gwt.user.client.ui.RequiresResize
- Overrides:
onResize
in classcom.google.gwt.user.client.ui.ResizeComposite
-
selectTab
public void selectTab(int index, boolean fireEvents)
- Overrides:
selectTab
in classcom.google.gwt.user.client.ui.TabLayoutPanel
-
-