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 TypeMethodDescriptionvoid
performPressedAction
(int keycode, int keylocation) void
performReleasedAction
(int keycode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
performPressedAction
in 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:
performReleasedAction
in interfaceCKeyListener
- Parameters:
keycode
- the keycode of the key released by the user
-