DroidDiagram Programmer's Guide
DiagramItem.allowCreate Method
See Also
 






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 abstract 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 item; otherwise, false.

 See Also

DiagramItem Members
DiagramItem Class
com.mindfusion.diagramming Namespace