civquest.swing.quadmap.genericActions
Class MarkSingleUnitAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bycivquest.swing.quadmap.genericActions.MarkSingleUnitAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class MarkSingleUnitAction
extends javax.swing.AbstractAction

Marks the top-unit of the current working-field. Unmarks all other units, especially if no working-field exists.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
MarkSingleUnitAction(QuadMap quadMap)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkSingleUnitAction

public MarkSingleUnitAction(QuadMap quadMap)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)