at.tuwien.ifs.somtoolbox.apps.viewer.handlers
Class MyInputDragSequenceEventHandler

java.lang.Object
  extended by edu.umd.cs.piccolo.event.PBasicInputEventHandler
      extended by edu.umd.cs.piccolo.event.PDragSequenceEventHandler
          extended by at.tuwien.ifs.somtoolbox.apps.viewer.handlers.AbstractDragSequenceEventHandler
              extended by at.tuwien.ifs.somtoolbox.apps.viewer.handlers.MyInputDragSequenceEventHandler
All Implemented Interfaces:
edu.umd.cs.piccolo.event.PInputEventListener, EventListener

public class MyInputDragSequenceEventHandler
extends AbstractDragSequenceEventHandler

Used to move an input vector to a different unit.

Version:
$Id: MyInputDragSequenceEventHandler.java 3590 2010-05-21 10:43:45Z mayer $
Author:
Rudolf Mayer

Field Summary
private  InputCorrections shifts
           
 
Fields inherited from class at.tuwien.ifs.somtoolbox.apps.viewer.handlers.AbstractDragSequenceEventHandler
allowedNodeTypes, clickX, clickY, startPos
 
Constructor Summary
MyInputDragSequenceEventHandler(InputCorrections shifts)
           
 
Method Summary
protected  void endDrag(edu.umd.cs.piccolo.event.PInputEvent e)
           
 
Methods inherited from class at.tuwien.ifs.somtoolbox.apps.viewer.handlers.AbstractDragSequenceEventHandler
dragActivityStep, startDrag
 
Methods inherited from class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
drag, dragActivityFinalStep, dragActivityFirstStep, 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

shifts

private InputCorrections shifts
Constructor Detail

MyInputDragSequenceEventHandler

public MyInputDragSequenceEventHandler(InputCorrections shifts)
Method Detail

endDrag

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