Class KeyStrokeListener
java.lang.Object
VASSAL.tools.KeyStrokeListener
- Direct Known Subclasses:
NamedKeyStrokeListener
Utility class for associating an Action with a keystroke from multiple
different component sources
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
keyPressed
(KeyStroke stroke) void
void
setKeyStroke
(KeyStroke newKey)
-
Constructor Details
-
KeyStrokeListener
-
KeyStrokeListener
-
-
Method Details
-
setKeyStroke
-
getKeyStroke
-
keyPressed
-
addKeyStrokeSource
-
removeKeyStrokeSource
-