com.mindfusion.diagramming
Class PanBehavior
java.lang.Object
com.mindfusion.diagramming.Interaction
com.mindfusion.diagramming.BehaviorBase
com.mindfusion.diagramming.PanBehavior
public class PanBehavior
- extends BehaviorBase
Method Summary |
protected void |
mouseDragged(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
|
protected void |
mouseMoved(java.awt.Point mousePosition)
|
protected void |
mousePressed(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
Invoked when the mouse button is pressed. |
protected void |
mouseReleased(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
Invoked when the mouse button is released. |
protected CursorHint |
setMouseCursor(java.awt.geom.Point2D point,
java.lang.Boolean startInteraction)
|
protected InteractionState |
startDraw(java.awt.geom.Point2D point,
java.awt.event.MouseEvent e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PanBehavior
protected PanBehavior(DiagramView flowChart)
setMouseCursor
protected CursorHint setMouseCursor(java.awt.geom.Point2D point,
java.lang.Boolean startInteraction)
- Specified by:
setMouseCursor
in class BehaviorBase
startDraw
protected InteractionState startDraw(java.awt.geom.Point2D point,
java.awt.event.MouseEvent e)
- Specified by:
startDraw
in class BehaviorBase
mousePressed
protected void mousePressed(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
- Description copied from class:
BehaviorBase
- Invoked when the mouse button is pressed.
- Overrides:
mousePressed
in class BehaviorBase
- Parameters:
mousePosition
- A Point instance that specifies the mouse pointer position.
mouseMoved
protected void mouseMoved(java.awt.Point mousePosition)
mouseReleased
protected void mouseReleased(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
- Description copied from class:
BehaviorBase
- Invoked when the mouse button is released.
- Overrides:
mouseReleased
in class BehaviorBase
- Parameters:
mousePosition
- A Point instance that specifies the mouse pointer position.
mouseDragged
protected void mouseDragged(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
- Overrides:
mouseDragged
in class BehaviorBase