bibliothek.gui.dock.control
Class DefaultMouseFocusObserver
java.lang.Object
bibliothek.gui.dock.control.MouseFocusObserver
bibliothek.gui.dock.control.DefaultMouseFocusObserver
- All Implemented Interfaces:
- DockRelocatorListener
public class DefaultMouseFocusObserver
- extends MouseFocusObserver
A focus controller which adds an AWTEventListener
to the
Toolkit
to receive events which may change the focus.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.control.MouseFocusObserver |
addVetoListener, cancel, check, check, check, drag, drop, fireVetoDockable, fireVetoTitle, getController, getDockable, handleVeto, init, interact, removeVetoListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMouseFocusObserver
public DefaultMouseFocusObserver(DockController controller,
ControllerSetupCollection setup)
- Creates a new focus controller
- Parameters:
controller
- the owner of this controllersetup
- an observer that informs this object when controller
is set up.
kill
public void kill()
- Description copied from class:
MouseFocusObserver
- Stops this FocusController. This controller will remove all
its listeners and become ready for the garbage collector.
- Overrides:
kill
in class MouseFocusObserver
createListener
protected AWTEventListener createListener()
- Creates a listener which will receive mouse-events.
- Returns:
- the listener