bibliothek.gui.dock.station.stack
Class DefaultStackDockComponent.Tab

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.DefaultStackDockComponent.Tab
Direct Known Subclasses:
BasicStackDockComponent.BasicTab
Enclosing class:
DefaultStackDockComponent

protected class DefaultStackDockComponent.Tab
extends Object

Representation of a single tab of this StackDockComponent.

Author:
Benjamin Sigg

Field Summary
protected  Dockable dockable
          the element on the tab
 
Constructor Summary
DefaultStackDockComponent.Tab(Dockable dockable)
          Creates a new Tab
 
Method Summary
 Dockable getDockable()
          Gets the Dockable which is represented by this tab.
 void setController(DockController controller)
          Tells this tab which controller is currently used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dockable

protected Dockable dockable
the element on the tab

Constructor Detail

DefaultStackDockComponent.Tab

public DefaultStackDockComponent.Tab(Dockable dockable)
Creates a new Tab

Parameters:
dockable - the element on the tab
Method Detail

getDockable

public Dockable getDockable()
Gets the Dockable which is represented by this tab.

Returns:
the element represented by this tab

setController

public void setController(DockController controller)
Tells this tab which controller is currently used. Set to null if this tab is no longer used, or when the connection to a DockController is lost.

Parameters:
controller - the new source of information, can be null