Class KeyManager

java.lang.Object
java.awt.event.KeyAdapter
com.ijurnove.cpu3d.KeyManager
All Implemented Interfaces:
KeyListener, EventListener

public class KeyManager extends KeyAdapter
  • Constructor Details

    • KeyManager

      public KeyManager()
  • Method Details

    • getKeyManager

      public static KeyManager getKeyManager()
    • esc

      public static boolean esc()
    • w

      public static boolean w()
    • a

      public static boolean a()
    • s

      public static boolean s()
    • d

      public static boolean d()
    • r

      public static boolean r()
    • leftArr

      public static boolean leftArr()
    • rightArr

      public static boolean rightArr()
    • upArr

      public static boolean upArr()
    • downArr

      public static boolean downArr()
    • shift

      public static boolean shift()
    • space

      public static boolean space()
    • t

      public static boolean t()
    • one

      public static boolean one()
    • two

      public static boolean two()
    • three

      public static boolean three()
    • four

      public static boolean four()
    • five

      public static boolean five()
    • six

      public static boolean six()
    • seven

      public static boolean seven()
    • eight

      public static boolean eight()
    • nine

      public static boolean nine()
    • zero

      public static boolean zero()
    • keyPressed

      public void keyPressed(KeyEvent e)
      Specified by:
      keyPressed in interface KeyListener
      Overrides:
      keyPressed in class KeyAdapter
    • keyReleased

      public void keyReleased(KeyEvent e)
      Specified by:
      keyReleased in interface KeyListener
      Overrides:
      keyReleased in class KeyAdapter