gistoolkit.application.command
Class PreviousZoomCommand

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygistoolkit.application.command.SimpleCommand
          extended bygistoolkit.application.command.PreviousZoomCommand
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, Command, java.util.EventListener, GISDisplayListener, java.io.Serializable

public class PreviousZoomCommand
extends SimpleCommand
implements GISDisplayListener

Command to record the extents of the map, and recall those extents. Creation date: (4/24/2001 2:17:21 PM)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
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
PreviousZoomCommand()
          Construct a PreviousZoomCommand.
PreviousZoomCommand(GISEditor inEditor)
          Construct a PreviousZoomCommand with this editor.
 
Method Summary
 void envelopeChanged(Envelope inEnvelope)
          Extents have changed
 void execute()
          Sets the draw model in the display.
 
Methods inherited from class gistoolkit.application.command.SimpleCommand
actionPerformed, executeAlternate, executeDraw, getGISDisplay, getGISEditor, getIcon, removeDraw, setGISDisplay, setGISEditor, showError, showInformation
 
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

PreviousZoomCommand

public PreviousZoomCommand()
Construct a PreviousZoomCommand.


PreviousZoomCommand

public PreviousZoomCommand(GISEditor inEditor)
Construct a PreviousZoomCommand with this editor.

Method Detail

execute

public void execute()
Sets the draw model in the display.

Specified by:
execute in interface Command
Overrides:
execute in class SimpleCommand

envelopeChanged

public void envelopeChanged(Envelope inEnvelope)
Extents have changed

Specified by:
envelopeChanged in interface GISDisplayListener