gistoolkit.application.command
Class ZoomInCommand

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

public class ZoomInCommand
extends SimpleCommand

Command to zoom the envelope 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
ZoomInCommand()
          SelectCommand constructor comment.
ZoomInCommand(GISEditor inEditor)
          Construct a simple command with this editor.
 
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

ZoomInCommand

public ZoomInCommand()
SelectCommand constructor comment.


ZoomInCommand

public ZoomInCommand(GISEditor inEditor)
Construct a simple command 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

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