Package doodlepad
Interface PadKeyListener
public interface PadKeyListener
The interface to be implemented when handling PadKeyListener events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onKeyPressed
(String keyText, String keyModifiers) The onKeyPressed method is invoked by PadKeyListenersvoid
onKeyReleased
(String keyText, String keyModifiers) The onKeyReleased method is invoked by PadKeyListenersvoid
onKeyTyped
(char keyChar) The onKeyTyped method is invoked by PadKeyListeners
-
Method Details
-
onKeyTyped
void onKeyTyped(char keyChar) The onKeyTyped method is invoked by PadKeyListeners- Parameters:
keyChar
- The char typed.
-
onKeyPressed
The onKeyPressed method is invoked by PadKeyListeners- Parameters:
keyText
- A String describing the keyCode, such as "HOME", "F1" or "A".keyModifiers
- A String describing the modifier key(s), such as "Shift", or "Ctrl+Shift".
-
onKeyReleased
The onKeyReleased method is invoked by PadKeyListeners- Parameters:
keyText
- A String describing the keyCode, such as "HOME", "F1" or "A".keyModifiers
- A String describing the modifier key(s), such as "Shift", or "Ctrl+Shift".
-