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. |
public AbstractTabLayoutManagerPane(TabPane pane)
pane
- the ownerpublic TabPane getPane()
null
public void added(TabPane pane, Dockable dockable)
TabPaneListener
dockable
has been added to pane
.added
in interface TabPaneListener
pane
- the parentdockable
- the new childpublic void infoComponentChanged(TabPane pane, LonelyTabPaneComponent oldInfo, LonelyTabPaneComponent newInfo)
TabPaneListener
TabPane.getInfoComponent()
was replaced.infoComponentChanged
in interface TabPaneListener
pane
- the source of this eventoldInfo
- the old info component, may be null
newInfo
- the new info component, may be null
public void removed(TabPane pane, Dockable dockable)
TabPaneListener
dockable
has been removed from pane
.removed
in interface TabPaneListener
pane
- the parentdockable
- the removed childpublic void selectionChanged(TabPane pane)
TabPaneListener
pane
has changed.selectionChanged
in interface TabPaneListener
pane
- the TabPane
whose selection changedpublic void controllerChanged(TabPane pane, DockController controller)
TabPaneListener
DockController
of pane
has changed.controllerChanged
in interface TabPaneListener
controller
- the new controller, can be null
protected boolean isUseSmallMinimumSize()