edu.umd.cs.piccolo.event
Class MyZoomHandler

java.lang.Object
  extended byedu.umd.cs.piccolo.event.PBasicInputEventHandler
      extended byedu.umd.cs.piccolo.event.PDragSequenceEventHandler
          extended byedu.umd.cs.piccolo.event.PZoomEventHandler
              extended byedu.umd.cs.piccolo.event.MyZoomHandler
All Implemented Interfaces:
EventListener, PInputEventListener

public class MyZoomHandler
extends PZoomEventHandler


Constructor Summary
MyZoomHandler(GFrame owner)
           
 
Method Summary
 Point2D getLastClickedPosition()
           
 void mouseClicked(PInputEvent e)
           
 void mousePressed(PInputEvent e)
           
 void mouseReleased(PInputEvent e)
           
 
Methods inherited from class edu.umd.cs.piccolo.event.PZoomEventHandler
getMaxScale, getMinScale, setMaxScale, setMinScale
 
Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, setIsDragging, setMinDragStartDistance
 
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyZoomHandler

public MyZoomHandler(GFrame owner)
Method Detail

mousePressed

public void mousePressed(PInputEvent e)

mouseReleased

public void mouseReleased(PInputEvent e)

getLastClickedPosition

public Point2D getLastClickedPosition()

mouseClicked

public void mouseClicked(PInputEvent e)