org.jscience.architecture.traffic.tools
Class ZoomAction

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

public class ZoomAction
extends java.lang.Object
implements ToolAction

This implements zoom user action


Field Summary
static int IN
          DOCUMENT ME!
static int OUT
          DOCUMENT ME!
 
Constructor Summary
ZoomAction(Controller con)
          Creates a new ZoomAction object.
 
Method Summary
 boolean beingUsed()
          DOCUMENT ME!
 void doZoom(View view, java.awt.Point p, int type)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN

public static final int IN
DOCUMENT ME!

See Also:
Constant Field Values

OUT

public static final int OUT
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

ZoomAction

public ZoomAction(Controller con)
Creates a new ZoomAction object.

Parameters:
con - DOCUMENT ME!
Method Detail

beingUsed

public boolean beingUsed()
DOCUMENT ME!

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

doZoom

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

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