gistoolkit.application.command
Class SelectCommand
java.lang.Object
javax.swing.AbstractAction
gistoolkit.application.command.SimpleCommand
gistoolkit.application.command.SelectCommand
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, Command, java.util.EventListener, java.awt.event.KeyListener, java.io.Serializable
- public class SelectCommand
- extends SimpleCommand
- implements java.awt.event.KeyListener
Command to enable the select draw model on the display
Creation date: (4/24/2001 2:17:21 PM)
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.AbstractAction |
|
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 |
Method Summary |
void |
execute()
Sets the draw model in the display. |
static java.lang.String |
getName()
The identifying name for this command |
void |
keyPressed(java.awt.event.KeyEvent ke)
|
void |
keyReleased(java.awt.event.KeyEvent ke)
|
void |
keyTyped(java.awt.event.KeyEvent ke)
|
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 |
myDrawModel
HighlightDrawModel myDrawModel
SelectCommand
public SelectCommand(GISEditor inEditor)
- Construct a simple command with this editor.
getName
public static java.lang.String getName()
- The identifying name for this command
execute
public void execute()
- Sets the draw model in the display.
- Specified by:
execute
in interface Command
- Overrides:
execute
in class SimpleCommand
keyPressed
public void keyPressed(java.awt.event.KeyEvent ke)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent ke)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent ke)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener