gistoolkit.application.command
Class ZoomOutCommand

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

public class ZoomOutCommand
extends SimpleCommand

Command to zoom the extents of the map in to a new location. 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
ZoomOutCommand()
          SelectCommand constructor comment.
ZoomOutCommand(GISDisplay inDisplay)
          Construct a simple command with this display.
ZoomOutCommand(GISEditor inEditor)
          Construct a simple command with this display.
 
Method Summary
 void execute()
          Sets the draw model in the display.
 void executeDraw(DrawModel inDrawModel)
          On the first call for the select model, it will change the model to the edit model.
 
Methods inherited from class gistoolkit.application.command.SimpleCommand
actionPerformed, executeAlternate, 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

ZoomOutCommand

public ZoomOutCommand()
SelectCommand constructor comment.


ZoomOutCommand

public ZoomOutCommand(GISDisplay inDisplay)
Construct a simple command with this display.


ZoomOutCommand

public ZoomOutCommand(GISEditor inEditor)
Construct a simple command with this display.

Method Detail

execute

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

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

executeDraw

public void executeDraw(DrawModel inDrawModel)
On the first call for the select model, it will change the model to the edit model.

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