public class BubbleStackDockComponent extends CombinedStackDockComponent<BubbleTab,BubbleTabMenu,BubbleInfoComponent>
StackDockComponent
used by a BubbleTheme. This component can animate its tabs.CombinedStackDockComponent.MetaLAYOUT_MANAGER, USE_SMALL_MINIMUM_SIZE| Constructor and Description |
|---|
BubbleStackDockComponent(StackDockComponentParent parent)
Creates a new component.
|
| Modifier and Type | Method and Description |
|---|---|
DockStation |
getStation()
Gets the station on which this component is used.
|
boolean |
hasBorder()
Whether this kind of component already has a border.
|
boolean |
isSingleTabComponent()
Tells whether this
StackDockComponent should be shown even if
the StackDockStation has only one child. |
protected void |
menuRemoved(BubbleTabMenu menu)
Informs this pane that
menu will never be used again and
all resources associated with menu should be freed. |
BubbleTabMenu |
newMenu()
Creates a new
TabMenu that has this as parent. |
protected BubbleTab |
newTab(Dockable dockable)
|
void |
setController(DockController controller)
Connects this pane with
controller. |
protected void |
tabRemoved(BubbleTab tab)
Informs this pane that
tab will never be used again and
all resources associated with tab should be freed. |
addStackDockComponentListener, addTab, addToMenu, clearTabs, createBackground, createContentBorderModifier, createContentPane, createDefaultRepresentation, createLayerAt, fireTabChanged, getAvailableArea, getBoundsAt, getComponent, getConfiguration, getContentAt, getDockableAt, getIndexOfTabAt, getInfoHandler, getLayerAt, getMenuHandler, getMinimumSize, getMinimumSize, getOnTab, getPreferredSize, getPreferredSize, getSelectedBounds, getSelectedIndex, getTabAt, getTabCount, getTabHandler, getZOrder, insertTab, moveTab, putOnTab, putTab, remove, removeAll, removeFromMenu, removeStackDockComponentListener, removeTab, repaint, revalidate, setComponentAt, setEnabledAt, setIconAt, setSelectedBounds, setSelectedDockable, setSelectedIndex, setTitleAt, setTooltipAt, setZOrderaddTabPaneListener, createMenu, destroyMenu, discardComponentsAndRebuild, doLayout, fireAdded, fireControllerChanged, fireInfoComponentChanged, fireRemoved, fireSelectionChanged, getController, getDockable, getDockableCount, getDockables, getDockTabPlacement, getInfoComponent, getLayoutManager, getMenu, getMenuList, getMenus, getSelectedDockable, getTab, getTabs, getTabsList, getVisibleTab, getVisibleTabCount, indexOf, indexOfVisible, insert, listeners, move, putInMenu, removeTabPaneListener, setDockTabPlacement, setInfoComponent, setLayoutManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDockTabPlacement, setDockTabPlacementpublic BubbleStackDockComponent(StackDockComponentParent parent)
parent - the station on which this component is usedpublic DockStation getStation()
protected BubbleTab newTab(Dockable dockable)
AbstractTabPaneTab that has this as parent and
represents dockable. The new tab should not be stored in
any collection.newTab in class AbstractTabPane<BubbleTab,BubbleTabMenu,BubbleInfoComponent>dockable - the element for which a new tab is requiredprotected void tabRemoved(BubbleTab tab)
AbstractTabPanetab will never be used again and
all resources associated with tab should be freed. This
method is only called if tab is invisible.tabRemoved in class AbstractTabPane<BubbleTab,BubbleTabMenu,BubbleInfoComponent>tab - the tab to destroypublic BubbleTabMenu newMenu()
AbstractTabPaneTabMenu that has this as parent.newMenu in class AbstractTabPane<BubbleTab,BubbleTabMenu,BubbleInfoComponent>protected void menuRemoved(BubbleTabMenu menu)
AbstractTabPanemenu will never be used again and
all resources associated with menu should be freed. This
method is only called if menu is invisible.menuRemoved in class AbstractTabPane<BubbleTab,BubbleTabMenu,BubbleInfoComponent>menu - the destroyed menupublic void setController(DockController controller)
AbstractTabPanecontroller.setController in interface StackDockComponentsetController in class CombinedStackDockComponent<BubbleTab,BubbleTabMenu,BubbleInfoComponent>controller - the realm in which this pane works, may be nullpublic boolean hasBorder()
StackDockComponenttrue if this has a border, false
if the parent should paint one.public boolean isSingleTabComponent()
StackDockComponentStackDockComponent should be shown even if
the StackDockStation has only one child.true if this component should always be shownCopyright © 2017 Docking Frames. All rights reserved.