|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Panel com.google.gwt.user.client.ui.ComplexPanel com.google.gwt.user.client.ui.FlowPanel info.magnolia.ui.vaadin.gwt.client.tabsheet.widget.MagnoliaTabSheetViewImpl
public class MagnoliaTabSheetViewImpl
Contains the tabs at the top and the tabs themselves. The tabs are all contained in a ScrollPanel, this enables a single showing tab to be scrolled - or the contents of all the tabs to be scrolled together when they are stacked in the 'ShowAllTabs' mode.
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 |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel |
---|
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
MagnoliaTabSheetViewImpl(com.google.web.bindery.event.shared.EventBus eventBus)
|
Method Summary | |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addActiveTabChangedHandler(ActiveTabChangedEvent.Handler handler)
|
com.google.gwt.event.shared.HandlerRegistration |
addTabSetChangedHandler(TabSetChangedEvent.Handler handler)
|
void |
clearTabs()
|
MagnoliaTabWidget |
getActiveTab()
|
TabBarWidget |
getTabContainer()
|
List<MagnoliaTabWidget> |
getTabs()
|
protected void |
onLoad()
|
void |
removePreloader()
|
void |
removeTab(MagnoliaTabWidget tabToOrphan)
|
void |
setActiveTab(MagnoliaTabWidget tab)
|
void |
setLogo(String logo,
String logoBgColor)
|
void |
setMaxHeight(int height)
|
void |
showAllTabContents(boolean visible)
|
void |
showPreloader()
|
void |
updateTab(MagnoliaTabWidget tab)
|
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
---|
add, clear, insert, insert |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
---|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
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, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
add, clear, iterator, remove |
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget |
---|
asWidget |
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
---|
add |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
---|
getWidgetIndex |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
---|
getWidget, getWidgetCount, getWidgetIndex, remove |
Constructor Detail |
---|
public MagnoliaTabSheetViewImpl(com.google.web.bindery.event.shared.EventBus eventBus)
Method Detail |
---|
public TabBarWidget getTabContainer()
getTabContainer
in interface MagnoliaTabSheetView
public void removeTab(MagnoliaTabWidget tabToOrphan)
removeTab
in interface MagnoliaTabSheetView
public void setActiveTab(MagnoliaTabWidget tab)
setActiveTab
in interface MagnoliaTabSheetView
public MagnoliaTabWidget getActiveTab()
getActiveTab
in interface MagnoliaTabSheetView
public List<MagnoliaTabWidget> getTabs()
getTabs
in interface MagnoliaTabSheetView
public void showAllTabContents(boolean visible)
showAllTabContents
in interface MagnoliaTabSheetView
public void updateTab(MagnoliaTabWidget tab)
updateTab
in interface MagnoliaTabSheetView
protected void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
public com.google.gwt.event.shared.HandlerRegistration addTabSetChangedHandler(TabSetChangedEvent.Handler handler)
addTabSetChangedHandler
in interface TabSetChangedEvent.HasTabSetChangedHandlers
public com.google.gwt.event.shared.HandlerRegistration addActiveTabChangedHandler(ActiveTabChangedEvent.Handler handler)
addActiveTabChangedHandler
in interface ActiveTabChangedEvent.HasActiveTabChangeHandlers
public void setLogo(String logo, String logoBgColor)
setLogo
in interface MagnoliaTabSheetView
public void setMaxHeight(int height)
setMaxHeight
in interface MagnoliaTabSheetView
public void showPreloader()
showPreloader
in interface MagnoliaTabSheetView
public void removePreloader()
removePreloader
in interface MagnoliaTabSheetView
public void clearTabs()
clearTabs
in interface MagnoliaTabSheetView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |