anl.aida.viz
Class LensHandler

java.lang.Object
  extended by edu.umd.cs.piccolo.event.PBasicInputEventHandler
      extended by edu.umd.cs.piccolo.event.PDragSequenceEventHandler
          extended by anl.aida.viz.LensHandler
All Implemented Interfaces:
edu.umd.cs.piccolo.event.PInputEventListener, java.util.EventListener

public class LensHandler
extends edu.umd.cs.piccolo.event.PDragSequenceEventHandler

Date: Feb 12, 2009 1:22:55 PM


Field Summary
private  Canvas2D canvas
           
private  edu.umd.cs.piccolo.PLayer layer
           
private  edu.umd.cs.piccolo.nodes.PPath lens
           
private  boolean lensAdded
           
private  int lensSize
           
private  java.awt.geom.Point2D mousePt
           
private  javax.swing.Timer timer
           
 
Constructor Summary
LensHandler()
           
 
Method Summary
 void drag(edu.umd.cs.piccolo.event.PInputEvent evt)
           
 void endDrag(edu.umd.cs.piccolo.event.PInputEvent evt)
           
 void startDrag(edu.umd.cs.piccolo.event.PInputEvent evt)
           
 
Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
dragActivityFinalStep, dragActivityFirstStep, dragActivityStep, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, paramString, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDragActivity, stopDragActivity
 
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lens

private edu.umd.cs.piccolo.nodes.PPath lens

lensAdded

private boolean lensAdded

lensSize

private int lensSize

timer

private javax.swing.Timer timer

mousePt

private java.awt.geom.Point2D mousePt

layer

private edu.umd.cs.piccolo.PLayer layer

canvas

private Canvas2D canvas
Constructor Detail

LensHandler

public LensHandler()
Method Detail

startDrag

public void startDrag(edu.umd.cs.piccolo.event.PInputEvent evt)
Overrides:
startDrag in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler

endDrag

public void endDrag(edu.umd.cs.piccolo.event.PInputEvent evt)
Overrides:
endDrag in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler

drag

public void drag(edu.umd.cs.piccolo.event.PInputEvent evt)
Overrides:
drag in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler