bibliothek.gui.dock.station
Class FlapDockStation.ControllerListener

java.lang.Object
  extended by bibliothek.gui.dock.event.DockControllerAdapter
      extended by bibliothek.gui.dock.station.FlapDockStation.ControllerListener
All Implemented Interfaces:
DockControllerListener, DockRegisterListener, DockRelocatorListener, FocusVetoListener
Enclosing class:
FlapDockStation

private class FlapDockStation.ControllerListener
extends DockControllerAdapter
implements FocusVetoListener


Constructor Summary
private FlapDockStation.ControllerListener()
           
 
Method Summary
 void dockableFocused(DockController controller, Dockable dockable)
          Invoked when dockable has gained the focus.
 boolean vetoFocus(MouseFocusObserver controller, Dockable dockable)
          Invoked when the focus should change because the user did something with dockable.
 boolean vetoFocus(MouseFocusObserver controller, DockTitle title)
          Invoked when the focus should change because the user did something with title.
 
Methods inherited from class bibliothek.gui.dock.event.DockControllerAdapter
dockableDrag, dockablePut, dockableRegistered, dockableRegistering, dockableUnregistered, dockStationRegistered, dockStationRegistering, dockStationUnregistered, titleBinded, titleUnbinded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlapDockStation.ControllerListener

private FlapDockStation.ControllerListener()
Method Detail

vetoFocus

public boolean vetoFocus(MouseFocusObserver controller,
                         Dockable dockable)
Description copied from interface: FocusVetoListener
Invoked when the focus should change because the user did something with dockable.

Specified by:
vetoFocus in interface FocusVetoListener
Parameters:
controller - the controller who will change the focus
dockable - the Dockable from which the focus-change was initialized
Returns:
true if the change should be canceled, false if the focus can be changed

vetoFocus

public boolean vetoFocus(MouseFocusObserver controller,
                         DockTitle title)
Description copied from interface: FocusVetoListener
Invoked when the focus should change because the user did something with title.

Specified by:
vetoFocus in interface FocusVetoListener
Parameters:
controller - the controller who will change the focus
title - the title from which the focus-change was initialized
Returns:
true if the change should be canceled, false if the focus can be changed

dockableFocused

public void dockableFocused(DockController controller,
                            Dockable dockable)
Description copied from interface: DockControllerListener
Invoked when dockable has gained the focus.

Specified by:
dockableFocused in interface DockControllerListener
Overrides:
dockableFocused in class DockControllerAdapter
Parameters:
controller - the origin of the event
dockable - the Dockable which is now focused