net.sf.freecol.client.gui.action
Class DebugShowCoordinatesAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.sf.freecol.client.gui.action.FreeColAction
          extended by net.sf.freecol.client.gui.action.MapboardAction
              extended by net.sf.freecol.client.gui.action.DebugShowCoordinatesAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Option

public class DebugShowCoordinatesAction
extends MapboardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.freecol.client.gui.action.FreeColAction
FreeColAction.InnerMenuKeyListener
 
Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String ID
           
static java.lang.String LICENSE
           
static java.lang.String REVISION
           
 
Fields inherited from class net.sf.freecol.client.gui.action.FreeColAction
BUTTON_DISABLED_IMAGE, BUTTON_IMAGE, BUTTON_PRESSED_IMAGE, BUTTON_ROLLOVER_IMAGE, freeColClient, NO_MNEMONIC
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface net.sf.freecol.common.option.Option
NO_ID
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Applies this action.
 java.lang.String getId()
          Returns the id of this Option.
protected  boolean shouldBeEnabled()
          Checks if this action should be enabled.
 
Methods inherited from class net.sf.freecol.client.gui.action.FreeColAction
getAccelerator, getFreeColClient, getKeyStrokeText, getMenuKeyListener, getMnemonic, getName, getShortDescription, readFromXML, readFromXMLElement, readFromXMLImpl, setAccelerator, toString, toXML, toXMLElement, toXMLImpl, update
 
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, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

LICENSE

public static final java.lang.String LICENSE
See Also:
Constant Field Values

REVISION

public static final java.lang.String REVISION
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Method Detail

shouldBeEnabled

protected boolean shouldBeEnabled()
Checks if this action should be enabled.

Overrides:
shouldBeEnabled in class MapboardAction
Returns:
true if this action should be enabled.

getId

public java.lang.String getId()
Returns the id of this Option.

Specified by:
getId in interface Option
Specified by:
getId in class FreeColAction
Returns:

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Applies this action.

Parameters:
e - The ActionEvent.