edu.umd.cs.piccolox.event
Class PZoomToEventHandler
java.lang.Object
edu.umd.cs.piccolo.event.PBasicInputEventHandler
edu.umd.cs.piccolox.event.PZoomToEventHandler
- All Implemented Interfaces:
- PInputEventListener, 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
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 |
PZoomToEventHandler
public PZoomToEventHandler()
mousePressed
public void mousePressed(PInputEvent aEvent)
- Overrides:
mousePressed
in class PBasicInputEventHandler
zoomTo
protected void zoomTo(PInputEvent aEvent)
Copyright © 1995-2011 Piccolo2D. All Rights Reserved.