|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.tab.AbstractTabPane<T,M,I> bibliothek.gui.dock.station.stack.CombinedStackDockComponent<BubbleTab,BubbleTabMenu,BubbleInfoComponent> bibliothek.extension.gui.dock.theme.bubble.BubbleStackDockComponent
public class BubbleStackDockComponent
A StackDockComponent
used by a BubbleTheme
. This component can animate its tabs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.stack.CombinedStackDockComponent |
---|
CombinedStackDockComponent.Meta |
Field Summary |
---|
Fields inherited from interface bibliothek.gui.dock.station.stack.tab.TabPane |
---|
LAYOUT_MANAGER |
Constructor Summary | |
---|---|
BubbleStackDockComponent(StackDockComponentParent parent)
Creates a new component. |
Method Summary | |
---|---|
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)
Creates a new Tab that has this as parent and
represents 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. |
Methods inherited from class bibliothek.gui.dock.station.stack.tab.AbstractTabPane |
---|
addTabPaneListener, createMenu, destroyMenu, discardComponentsAndRebuild, doLayout, fireAdded, fireControllerChanged, fireInfoComponentChanged, fireRemoved, fireSelectionChanged, getController, getDockable, getDockableCount, getDockables, getDockTabPlacement, getInfoComponent, getLayoutManager, getMenu, getMenuList, getMenus, getMinimumSize, getPreferredSize, getSelectedDockable, getTab, getTabs, getTabsList, getVisibleTab, getVisibleTabCount, indexOf, indexOfVisible, insert, listeners, move, putInMenu, removeTabPaneListener, setDockTabPlacement, setInfoComponent, setLayoutManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.station.stack.StackDockComponent |
---|
getDockTabPlacement, setDockTabPlacement |
Constructor Detail |
---|
public BubbleStackDockComponent(StackDockComponentParent parent)
parent
- the station on which this component is usedMethod Detail |
---|
public DockStation getStation()
protected BubbleTab newTab(Dockable dockable)
AbstractTabPane
Tab
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 required
protected void tabRemoved(BubbleTab tab)
AbstractTabPane
tab
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()
AbstractTabPane
TabMenu
that has this
as parent.
newMenu
in class AbstractTabPane<BubbleTab,BubbleTabMenu,BubbleInfoComponent>
protected void menuRemoved(BubbleTabMenu menu)
AbstractTabPane
menu
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)
AbstractTabPane
controller
.
setController
in interface StackDockComponent
setController
in class CombinedStackDockComponent<BubbleTab,BubbleTabMenu,BubbleInfoComponent>
controller
- the realm in which this pane works, may be null
public boolean hasBorder()
StackDockComponent
true
if this has a border, false
if the parent should paint one.public boolean isSingleTabComponent()
StackDockComponent
StackDockComponent
should be shown even if
the StackDockStation
has only one child.
true
if this component should always be shown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |