Interface CKeyListener
- All Known Implementing Classes:
ArrowSpaceKeyListener,BlankListener,FullscreenListener,NumberListener,RefreshListener
public interface CKeyListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidperformPressedAction(int keycode) default voidperformPressedAction(int keycode, int keylocation) default voidperformReleasedAction(int keycode)
-
Method Details
-
performPressedAction
default void performPressedAction(int keycode) - Parameters:
keycode- the keycode of the key pressed by the user
-
performPressedAction
default void performPressedAction(int keycode, int keylocation) - Parameters:
keycode- the keycode of the key pressed by the userkeylocation- the location of the key (e.g. NumPad-0 or 0)
-
performReleasedAction
default void performReleasedAction(int keycode) - Parameters:
keycode- the keycode of the key released by the user
-