Package com.ijurnove.cpu3d
Class KeyManager
java.lang.Object
java.awt.event.KeyAdapter
com.ijurnove.cpu3d.KeyManager
- All Implemented Interfaces:
KeyListener,EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleana()static booleand()static booleandownArr()static booleaneight()static booleanesc()static booleanfive()static booleanfour()static KeyManagervoidvoidstatic booleanleftArr()static booleannine()static booleanone()static booleanr()static booleanrightArr()static booleans()static booleanseven()static booleanshift()static booleansix()static booleanspace()static booleant()static booleanthree()static booleantwo()static booleanupArr()static booleanw()static booleanzero()Methods inherited from class java.awt.event.KeyAdapter
keyTyped
-
Constructor Details
-
KeyManager
public KeyManager()
-
-
Method Details
-
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
- Specified by:
keyPressedin interfaceKeyListener- Overrides:
keyPressedin classKeyAdapter
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener- Overrides:
keyReleasedin classKeyAdapter
-