bibliothek.gui.dock.control
Class DefaultMouseFocusObserver
java.lang.Object
bibliothek.gui.dock.control.focus.AbstractMouseFocusObserver
bibliothek.gui.dock.control.DefaultMouseFocusObserver
- All Implemented Interfaces:
- MouseFocusObserver
public class DefaultMouseFocusObserver
- extends AbstractMouseFocusObserver
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 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:
AbstractMouseFocusObserver
- Stops this FocusController. This controller will remove all
its listeners and become ready for the garbage collector.
- Specified by:
kill
in interface MouseFocusObserver
- Overrides:
kill
in class AbstractMouseFocusObserver
createListener
protected AWTEventListener createListener()
- Creates a listener which will receive mouse-events.
- Returns:
- the listener