public interface TabPaneListener
TabPane. This listener is informed when
elements are added and removed from the TabPane, and also
when the selection changes.| 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. |
void |
infoComponentChanged(TabPane pane,
LonelyTabPaneComponent oldInfo,
LonelyTabPaneComponent newInfo)
Called if the
TabPane.getInfoComponent() was replaced. |
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 added(TabPane pane, Dockable dockable)
dockable has been added to pane.pane - the parentdockable - the new childvoid removed(TabPane pane, Dockable dockable)
dockable has been removed from pane.pane - the parentdockable - the removed childvoid selectionChanged(TabPane pane)
pane has changed.pane - the TabPane whose selection changedvoid infoComponentChanged(TabPane pane, LonelyTabPaneComponent oldInfo, LonelyTabPaneComponent newInfo)
TabPane.getInfoComponent() was replaced.pane - the source of this eventoldInfo - the old info component, may be nullnewInfo - the new info component, may be nullvoid controllerChanged(TabPane pane, DockController controller)
DockController of pane has changed.pane - TabPanecontroller - the new controller, can be nullCopyright © 2017 Docking Frames. All rights reserved.