gistoolkit.application.command
Class SelectMultiCommand

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

public class SelectMultiCommand
extends SimpleCommand
implements java.awt.event.ActionListener, java.awt.event.MouseListener

Command to allow the selection of one or more objects on the display. 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
static int SELECT_BOX
           
static int SELECT_DISTANCE
           
static int SELECT_POINTER
           
static int SELECT_POINTS
           
 
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
SelectMultiCommand()
          SelectCommand constructor comment.
SelectMultiCommand(GISEditor inEditor)
          Construct a simple command with this display.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent inActionEvent)
          Respont to the actions of the buttons
 void execute()
          Sets the draw model in the display.
 void executeDraw(DrawModel inDrawModel)
          Called when the draw model has completed it's action.
 void mouseClicked(java.awt.event.MouseEvent inMouseEvent)
           
 void mouseEntered(java.awt.event.MouseEvent inMouseEvent)
           
 void mouseExited(java.awt.event.MouseEvent inMouseEvent)
           
 void mousePressed(java.awt.event.MouseEvent inMouseEvent)
           
 void mouseReleased(java.awt.event.MouseEvent inMouseEvent)
           
 void removeDraw(DrawModel inDrawModel)
          Removes the additional buttons from visibility.
 void setButton(GISMenuButton inButton)
          Set the button in this command.
 void setType(int inType)
          Set the type of select to use.
 
Methods inherited from class gistoolkit.application.command.SimpleCommand
executeAlternate, getGISDisplay, getGISEditor, getIcon, 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
 

Field Detail

SELECT_POINTER

public static final int SELECT_POINTER
See Also:
Constant Field Values

SELECT_BOX

public static final int SELECT_BOX
See Also:
Constant Field Values

SELECT_POINTS

public static final int SELECT_POINTS
See Also:
Constant Field Values

SELECT_DISTANCE

public static final int SELECT_DISTANCE
See Also:
Constant Field Values
Constructor Detail

SelectMultiCommand

public SelectMultiCommand()
SelectCommand constructor comment.


SelectMultiCommand

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

Method Detail

setType

public void setType(int inType)
Set the type of select to use.


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)
Called when the draw model has completed it's action.

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

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent inActionEvent)
Respont to the actions of the buttons

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class SimpleCommand

removeDraw

public void removeDraw(DrawModel inDrawModel)
Removes the additional buttons from visibility.

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

setButton

public void setButton(GISMenuButton inButton)
Set the button in this command. Allows this button to assign the sub buttons to the menu.


mousePressed

public void mousePressed(java.awt.event.MouseEvent inMouseEvent)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent inMouseEvent)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent inMouseEvent)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent inMouseEvent)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent inMouseEvent)
Specified by:
mouseExited in interface java.awt.event.MouseListener