bibliothek.gui.dock.themes.basic
Class BasicStackDockComponent.BasicTab
java.lang.Object
bibliothek.gui.dock.station.stack.DefaultStackDockComponent.Tab
bibliothek.gui.dock.themes.basic.BasicStackDockComponent.BasicTab
- All Implemented Interfaces:
- DockableFocusListener
- Enclosing class:
- BasicStackDockComponent
protected class BasicStackDockComponent.BasicTab
- extends DefaultStackDockComponent.Tab
- implements DockableFocusListener
A basic tab that listens to the DockController
to recognize
when it is focused.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicStackDockComponent.BasicTab
public BasicStackDockComponent.BasicTab(Dockable dockable)
setController
public void setController(DockController controller)
- Description copied from class:
DefaultStackDockComponent.Tab
- 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.
- Overrides:
setController
in class DefaultStackDockComponent.Tab
- Parameters:
controller
- the new source of information, can be null
dockableFocused
public void dockableFocused(DockController controller,
Dockable dockable)
- Description copied from interface:
DockableFocusListener
- Invoked when
dockable
has gained the focus.
- Specified by:
dockableFocused
in interface DockableFocusListener
- Parameters:
controller
- the origin of the eventdockable
- the Dockable
which is now focused, can be null
dockableSelected
public void dockableSelected(DockController controller,
DockStation station,
Dockable dockable)
- Description copied from interface:
DockableFocusListener
- Called when
station
changes its selected dockable
.
- Specified by:
dockableSelected
in interface DockableFocusListener
- Parameters:
controller
- the controller in whose realm the event occurredstation
- some DockStation
dockable
- the currently selected element on station
,
can be null
- See Also:
DockStation.getFrontDockable()