Package VASSAL.tools

Class NamedKeyStroke

java.lang.Object
VASSAL.tools.NamedKeyStroke

public class NamedKeyStroke extends Object
A NamedKeyStroke is a KeyStroke with a name given by the module developer. An actual KeyStroke is allocated from a pool of KeyStrokes at run-time and associated with the name. KeyStrokes have been replaced by NamedKeyStrokes within Vassal wherever the Stroke is saved. A standard KeyStroke is represented as a NamedKeyStroke with a null or zero-length name. NamedKeyStroke variables should never be null, use NULL_KEYSTROKE to represent a NamedKeyStroke with no value.