org.jcpsim.piccolo
Class PZoomToEventHandler

java.lang.Object
  extended by edu.umd.cs.piccolo.event.PBasicInputEventHandler
      extended by org.jcpsim.piccolo.PZoomToEventHandler
All Implemented Interfaces:
edu.umd.cs.piccolo.event.PInputEventListener, java.util.EventListener

public class PZoomToEventHandler
extends edu.umd.cs.piccolo.event.PBasicInputEventHandler

see: edu.umd.cs.piccolox.event.PZoomToEventHandler
PZoomToEventHandler is used to zoom the camera view to the node clicked on with button one.


Constructor Summary
PZoomToEventHandler(boolean majorNodes)
           
 
Method Summary
 void mousePressed(edu.umd.cs.piccolo.event.PInputEvent aEvent)
           
protected  void zoomTo(edu.umd.cs.piccolo.event.PInputEvent aEvent)
           
 
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PZoomToEventHandler

public PZoomToEventHandler(boolean majorNodes)
Method Detail

mousePressed

public void mousePressed(edu.umd.cs.piccolo.event.PInputEvent aEvent)
Overrides:
mousePressed in class edu.umd.cs.piccolo.event.PBasicInputEventHandler

zoomTo

protected void zoomTo(edu.umd.cs.piccolo.event.PInputEvent aEvent)


jCpSim (Java CardioPulmonary SIMulations), v0.2.01
Dr. Frank Fischer, frank@jcpsim.org, http://www.jcpsim.org