public class AbstractTabLayoutManagerPane extends Object implements TabPaneListener
TabPane that gets laid out by a AbstractTabLayoutManager.
This class implements TabPaneListener, the listener is added and removed from the
TabPane automatically.| Constructor and Description |
|---|
AbstractTabLayoutManagerPane(TabPane pane)
Creates a new info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
added(TabPane pane,
Dockable dockable)
Called after
dockable has been added to pane. |
void |
controllerChanged(TabPane pane,
DockController controller)
Called if the
DockController of pane has changed. |
TabPane |
getPane()
Gets the owner of this info.
|
void |
infoComponentChanged(TabPane pane,
LonelyTabPaneComponent oldInfo,
LonelyTabPaneComponent newInfo)
Called if the
TabPane.getInfoComponent() was replaced. |
protected boolean |
isUseSmallMinimumSize() |
void |
removed(TabPane pane,
Dockable dockable)
Called after
dockable has been removed from pane. |
void |
selectionChanged(TabPane pane)
Called when the selection on
pane has changed. |
void |
uninstalled()
Called by the
AbstractTabLayoutManager once this pane is no longer in use. |
public AbstractTabLayoutManagerPane(TabPane pane)
pane - the ownerpublic TabPane getPane()
nullpublic void added(TabPane pane, Dockable dockable)
TabPaneListenerdockable has been added to pane.added in interface TabPaneListenerpane - the parentdockable - the new childpublic void infoComponentChanged(TabPane pane, LonelyTabPaneComponent oldInfo, LonelyTabPaneComponent newInfo)
TabPaneListenerTabPane.getInfoComponent() was replaced.infoComponentChanged in interface TabPaneListenerpane - the source of this eventoldInfo - the old info component, may be nullnewInfo - the new info component, may be nullpublic void removed(TabPane pane, Dockable dockable)
TabPaneListenerdockable has been removed from pane.removed in interface TabPaneListenerpane - the parentdockable - the removed childpublic void selectionChanged(TabPane pane)
TabPaneListenerpane has changed.selectionChanged in interface TabPaneListenerpane - the TabPane whose selection changedpublic void uninstalled()
AbstractTabLayoutManager once this pane is no longer in use.public void controllerChanged(TabPane pane, DockController controller)
TabPaneListenerDockController of pane has changed.controllerChanged in interface TabPaneListenerpane - TabPanecontroller - the new controller, can be nullprotected boolean isUseSmallMinimumSize()
Copyright © 2017 Docking Frames. All rights reserved.