de.esprit.common.gui.event

## Class KeyController

- java.lang.Object
- - de.esprit.common.gui.event.KeyController

-     public class KeyController
      extends java.lang.Object

  This class stores the state of the SHIFT and CONTROL keys such that they can be requested independently of any KeyEvent.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyController()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `isCtrl()`
    `static boolean` | `isShift()`
    `static boolean` | `isShiftOrCtrl()`
    `static void` | `resetModifiers()`
    `static void` | `setCtrl(boolean state)`
    `static void` | `setShift(boolean state)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KeyController

          public KeyController()

  - ### Method Detail

    - #### setShift

          public static void setShift(boolean state)

    - #### setCtrl

          public static void setCtrl(boolean state)

    - #### isShift

          public static boolean isShift()

    - #### isCtrl

          public static boolean isCtrl()

    - #### isShiftOrCtrl

          public static boolean isShiftOrCtrl()

    - #### resetModifiers

          public static void resetModifiers()

Copyright © 2014 EsprIT-Systems. All Rights Reserved.