gistoolkit.application.command
Class PanCommand

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

public class PanCommand
extends SimpleCommand

Command to pan the map 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
PanCommand()
          SelectCommand constructor comment.
PanCommand(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

PanCommand

public PanCommand()
SelectCommand constructor comment.


PanCommand

public PanCommand(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