edu.umd.cs.piccolox.event
Class PZoomToEventHandler

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

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

PZoomToEventHandler is used to zoom the camera view to the node clicked on with button one.

Version:
1.0
Author:
Jesse Grosjean

Constructor Summary
PZoomToEventHandler()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PZoomToEventHandler

public PZoomToEventHandler()
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)