DroidDiagram Programmer's Guide
DiagramLink.allowCreate Method
See Also
 






DiagramItem.allowCreate override. Invoked while the user draws this item to test whether the operation can be completed in the current context.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

protected boolean allowCreate (
    PointF current,
    InteractionState ist
)

 Parameters

current
A PointF specifying the current pointer position.
ist
An InteractionState object containing more information about the current state of the operation.

 Return Value

true to allow the creation of this link; otherwise, false.

 See Also

DiagramLink Members
DiagramLink Class
com.mindfusion.diagramming Namespace