bibliothek.gui.dock.control
Class DefaultKeyboardController

java.lang.Object
  extended by bibliothek.gui.dock.control.AbstractKeyboardController
      extended by bibliothek.gui.dock.control.DefaultKeyboardController
All Implemented Interfaces:
KeyboardController

public class DefaultKeyboardController
extends AbstractKeyboardController

A KeyboardController that can either use a global AWTEventListener or a set of KeyListeners to receive KeyEvents.

Author:
Benjamin Sigg

Constructor Summary
DefaultKeyboardController(DockController controller, ControllerSetupCollection setup)
          Creates a new controller
 
Method Summary
 void kill()
          Stops this controller.
 
Methods inherited from class bibliothek.gui.dock.control.AbstractKeyboardController
addGlobalListener, addListener, fireKeyPressed, fireKeyReleased, fireKeyTyped, getController, removeGlobalListener, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultKeyboardController

public DefaultKeyboardController(DockController controller,
                                 ControllerSetupCollection setup)
Creates a new controller

Parameters:
controller - the realm in which this controller operates
setup - an observer that informs this object when controller is set up.
Method Detail

kill

public void kill()
Description copied from interface: KeyboardController
Stops this controller. This controller has to remove any resources it uses and has not to be useful any further.
This method should no be called by clients