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:
PInputEventListener, java.util.EventListener

public class PZoomToEventHandler
extends 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(PInputEvent aEvent)
           
protected  void zoomTo(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()
Method Detail

mousePressed

public void mousePressed(PInputEvent aEvent)
Overrides:
mousePressed in class PBasicInputEventHandler

zoomTo

protected void zoomTo(PInputEvent aEvent)


Copyright © 2005 by University of Maryland, College Park, MD 20742, USA All rights reserved.

Web Accessibility