Class MultiLocationCommand.MultiLocationKeyCommand
java.lang.Object
javax.swing.AbstractAction
VASSAL.counters.KeyCommand
VASSAL.counters.MultiLocationCommand.MultiLocationKeyCommand
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Enclosing class:
MultiLocationCommand
Lets our special key commands carry a bit of extra baggage around "for our later reference"
- See Also:
-
Field Summary
Fields inherited from class VASSAL.counters.KeyCommand
i18nPiece, localizedMenuText, namedKeyStroke, NONE, untranslatedNameFields inherited from class javax.swing.AbstractAction
changeSupportFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionMultiLocationKeyCommand(String name, NamedKeyStroke key, GamePiece target, TranslatablePiece i18nPiece, String locationName, String zoneName, String boardName, String mapName) -
Method Summary
Methods inherited from class VASSAL.counters.KeyCommand
getKeyStroke, getLocalizedMenuText, getName, getNamedKeyStroke, getTarget, isEnabled, isGlobal, isMenuSeparator, matches, setEnabled, setGlobalMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener
-
Constructor Details
-
MultiLocationKeyCommand
public MultiLocationKeyCommand(String name, NamedKeyStroke key, GamePiece target, TranslatablePiece i18nPiece, String locationName, String zoneName, String boardName, String mapName)
-
-
Method Details
-
getLocationName
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classKeyCommand
-