Class NamedKeyStrokeListener
java.lang.Object
VASSAL.tools.KeyStrokeListener
VASSAL.tools.NamedKeyStrokeListener
Extension of KeyStrokeListener to support NamedKeyStroke's and
store the supplied NamedKeyStroke. Some components use KeyStrokeListeners
to store KeyStroke values.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
setKeyStroke
(KeyStroke newKey) void
setKeyStroke
(NamedKeyStroke newKey) Methods inherited from class VASSAL.tools.KeyStrokeListener
addKeyStrokeSource, getKeyStroke, keyPressed, removeKeyStrokeSource
-
Constructor Details
-
NamedKeyStrokeListener
-
NamedKeyStrokeListener
-
-
Method Details
-
setKeyStroke
- Overrides:
setKeyStroke
in classKeyStrokeListener
-
setKeyStroke
-
getNamedKeyStroke
-