org.jscience.architecture.traffic.tools
Class SelectAction

java.lang.Object
  extended by org.jscience.architecture.traffic.tools.SelectAction
All Implemented Interfaces:
ToolAction

public class SelectAction
extends java.lang.Object
implements ToolAction

This implements the PopupMenu user action


Field Summary
static int ADD
          DOCUMENT ME!
static int INVERT
          DOCUMENT ME!
static int NEW
          DOCUMENT ME!
 
Constructor Summary
SelectAction(Selection s)
          Creates a new SelectAction object.
 
Method Summary
 boolean beingUsed()
          DOCUMENT ME!
 void doDrag(View view, java.awt.Point p)
          DOCUMENT ME!
 void doStart(View view, java.awt.Point p)
          DOCUMENT ME!
 void endDrag(View view, java.awt.Point p, int type)
          DOCUMENT ME!
 void paint(java.awt.Graphics g)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVERT

public static final int INVERT
DOCUMENT ME!

See Also:
Constant Field Values

ADD

public static final int ADD
DOCUMENT ME!

See Also:
Constant Field Values

NEW

public static final int NEW
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SelectAction

public SelectAction(Selection s)
Creates a new SelectAction object.

Parameters:
s - DOCUMENT ME!
Method Detail

beingUsed

public boolean beingUsed()
DOCUMENT ME!

Specified by:
beingUsed in interface ToolAction
Returns:
DOCUMENT ME!

doStart

public void doStart(View view,
                    java.awt.Point p)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!
p - DOCUMENT ME!

doDrag

public void doDrag(View view,
                   java.awt.Point p)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!
p - DOCUMENT ME!

endDrag

public void endDrag(View view,
                    java.awt.Point p,
                    int type)
DOCUMENT ME!

Parameters:
view - DOCUMENT ME!
p - DOCUMENT ME!
type - DOCUMENT ME!

paint

public void paint(java.awt.Graphics g)
DOCUMENT ME!

Parameters:
g - DOCUMENT ME!