Interface CKeyListener
- All Known Implementing Classes:
ArrowSpaceKeyListener
,BlankListener
,FullscreenListener
,NumberListener
,RefreshListener
public interface CKeyListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
performPressedAction
(int keycode) default void
performPressedAction
(int keycode, int keylocation) default void
performReleasedAction
(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
-