public class DefaultKeyboardController extends AbstractKeyboardController
KeyboardController
that can either use a global AWTEventListener
or
a set of KeyListener
s to receive KeyEvent
s.Constructor and Description |
---|
DefaultKeyboardController(DockController controller,
ControllerSetupCollection setup)
Creates a new controller
|
Modifier and Type | Method and Description |
---|---|
void |
kill()
Stops this controller.
|
addGlobalListener, addListener, fireKeyPressed, fireKeyReleased, fireKeyTyped, getController, removeGlobalListener, removeListener
public DefaultKeyboardController(DockController controller, ControllerSetupCollection setup)
controller
- the realm in which this controller operatessetup
- an observer that informs this object when controller
is set up.public void kill()
KeyboardController