public class LinkFreeFormsBehavior extends LinkNodesBehavior
Behavior.LinkFreeForms
behavior.currentCursor, diagramView
Constructor and Description |
---|
LinkFreeFormsBehavior(DiagramView diagramView,
boolean convertToShape)
Initializes a new instance of the LinkFreeFormsBehavior class.
|
Modifier and Type | Method and Description |
---|---|
protected DiagramNode |
createNode() |
setMouseCursor, startDraw
createLink, getDiagram, getDiagramView, pointerDown, pointerMove, pointerOver, pointerUp, setModfCursor, startDrawCommon
cancelDrag
public LinkFreeFormsBehavior(DiagramView diagramView, boolean convertToShape)
diagramView
- A DiagramView instance.convertToShape
- true to convert the FreeFormNode to a ShapeNode once user finishes drawing it, or false otherwise.protected DiagramNode createNode()
createNode
in class LinkNodesBehavior