com.mindfusion.diagramming
Class DrawLinksBehavior

java.lang.Object
  extended by com.mindfusion.diagramming.Interaction
      extended by com.mindfusion.diagramming.BehaviorBase
          extended by com.mindfusion.diagramming.DrawLinksBehavior

public class DrawLinksBehavior
extends BehaviorBase

Implements the Behavior.DrawLinks behavior.


Field Summary
 
Fields inherited from class com.mindfusion.diagramming.BehaviorBase
currentCursor, diagramView
 
Constructor Summary
protected DrawLinksBehavior(DiagramView diagramView)
           
 
Method Summary
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 com.mindfusion.diagramming.BehaviorBase
createLink, getDiagram, getDiagramView, mouseDragged, mouseMoved, mousePressed, mouseReleased, setModfCursor, startDrawCommon
 
Methods inherited from class com.mindfusion.diagramming.Interaction
cancelDrag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawLinksBehavior

protected DrawLinksBehavior(DiagramView diagramView)
Method Detail

startDraw

protected InteractionState startDraw(java.awt.geom.Point2D point,
                                     java.awt.event.MouseEvent e)
Specified by:
startDraw in class BehaviorBase

setMouseCursor

protected CursorHint setMouseCursor(java.awt.geom.Point2D point,
                                    java.lang.Boolean startInteraction)
Specified by:
setMouseCursor in class BehaviorBase