bibliothek.gui.dock.event
Class DockableFocusAdapter

java.lang.Object
  extended by bibliothek.gui.dock.event.DockableFocusAdapter
All Implemented Interfaces:
DockableFocusListener

public class DockableFocusAdapter
extends Object
implements DockableFocusListener

An implementatin of DockableFocusListener containing only empty methods.

Author:
Benjamin Sigg

Constructor Summary
DockableFocusAdapter()
           
 
Method Summary
 void dockableFocused(DockController controller, Dockable dockable)
          Invoked when dockable has gained the focus.
 void dockableSelected(DockController controller, DockStation station, Dockable dockable)
          Called when station changes its selected dockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DockableFocusAdapter

public DockableFocusAdapter()
Method Detail

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 event
dockable - 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 occurred
station - some DockStation
dockable - the currently selected element on station, can be null
See Also:
DockStation.getFrontDockable()