bibliothek.gui.dock.station.stack.tab
Class AbstractTabLayoutManagerPane

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.tab.AbstractTabLayoutManagerPane
All Implemented Interfaces:
TabPaneListener
Direct Known Subclasses:
MenuLineLayoutPane

public class AbstractTabLayoutManagerPane
extends Object
implements TabPaneListener

Information about a TabPane that gets laid out by a AbstractTabLayoutManager. This class implements TabPaneListener, the listener is added and removed from the TabPane automatically.

Author:
Benjamin Sigg

Constructor Summary
AbstractTabLayoutManagerPane(TabPane pane)
          Creates a new info.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTabLayoutManagerPane

public AbstractTabLayoutManagerPane(TabPane pane)
Creates a new info.

Parameters:
pane - the owner
Method Detail

getPane

public TabPane getPane()
Gets the owner of this info.

Returns:
the owner, not null

added

public void added(TabPane pane,
                  Dockable dockable)
Description copied from interface: TabPaneListener
Called after dockable has been added to pane.

Specified by:
added in interface TabPaneListener
Parameters:
pane - the parent
dockable - the new child

infoComponentChanged

public void infoComponentChanged(TabPane pane,
                                 LonelyTabPaneComponent oldInfo,
                                 LonelyTabPaneComponent newInfo)
Description copied from interface: TabPaneListener
Called if the TabPane.getInfoComponent() was replaced.

Specified by:
infoComponentChanged in interface TabPaneListener
Parameters:
pane - the source of this event
oldInfo - the old info component, may be null
newInfo - the new info component, may be null

removed

public void removed(TabPane pane,
                    Dockable dockable)
Description copied from interface: TabPaneListener
Called after dockable has been removed from pane.

Specified by:
removed in interface TabPaneListener
Parameters:
pane - the parent
dockable - the removed child

selectionChanged

public void selectionChanged(TabPane pane)
Description copied from interface: TabPaneListener
Called when the selection on pane has changed.

Specified by:
selectionChanged in interface TabPaneListener
Parameters:
pane - the TabPane whose selection changed

controllerChanged

public void controllerChanged(TabPane pane,
                              DockController controller)
Description copied from interface: TabPaneListener
Called if the DockController of pane has changed.

Specified by:
controllerChanged in interface TabPaneListener
controller - the new controller, can be null

isUseSmallMinimumSize

protected boolean isUseSmallMinimumSize()