Class NumberListener
java.lang.Object
de.klassenserver7b.danceinterpreter.graphics.listener.NumberListener
- All Implemented Interfaces:
CKeyListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperformPressedAction(int keycode, int keylocation) voidperformReleasedAction(int keycode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.klassenserver7b.danceinterpreter.graphics.listener.CKeyListener
performPressedAction
-
Field Details
-
pressed
private boolean pressed -
numbers
-
log
private final org.slf4j.Logger log
-
-
Constructor Details
-
NumberListener
public NumberListener()
-
-
Method Details
-
performPressedAction
public void performPressedAction(int keycode, int keylocation) - Specified by:
performPressedActionin interfaceCKeyListener- Parameters:
keycode- the keycode of the key pressed by the userkeylocation- the location of the key (e.g. NumPad-0 or 0)
-
performReleasedAction
public void performReleasedAction(int keycode) - Specified by:
performReleasedActionin interfaceCKeyListener- Parameters:
keycode- the keycode of the key released by the user
-