Package jadex.gpmn.editor.gui
Class GpmnGraphComponent.GpmnPanningHandler
- java.lang.Object
-
- com.mxgraph.swing.util.mxMouseAdapter
-
- com.mxgraph.swing.handler.mxPanningHandler
-
- jadex.gpmn.editor.gui.GpmnGraphComponent.GpmnPanningHandler
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.util.EventListener
- Enclosing class:
- GpmnGraphComponent
protected class GpmnGraphComponent.GpmnPanningHandler extends com.mxgraph.swing.handler.mxPanningHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Point
disttraveled
protected long
starttime
protected javax.swing.Timer
throwtimer
-
Constructor Summary
Constructors Constructor Description GpmnPanningHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseDragged(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
-
Methods inherited from class com.mxgraph.swing.handler.mxPanningHandler
isActive, isEnabled, setEnabled
-
-
-
-
Method Detail
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classcom.mxgraph.swing.handler.mxPanningHandler
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in classcom.mxgraph.swing.handler.mxPanningHandler
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classcom.mxgraph.swing.handler.mxPanningHandler
-
-