DroidDiagram Programmer's Guide
DiagramNode.getEnabledHandles Method
See Also
 






Gets a combination of NodeHandleType members identifying which manipulation handles are enabled for a node. This effectively controls what kind of modifications users are allowed to perform on this node.

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

 Syntax

Java  Copy Code

public EnumSet<NodeHandleType> getEnabledHandles ()

 Return Value

A set of NodeHandleType members. The default value is AdjustmentHandles.DisableRotation.

 Remarks

Disabling some selection handles allows restricting the types of modifications that users can perform on a node. Each manipulation handle can be enabled or disabled by adding or removing its corresponding enum element from the set.

For example, to make a node resizable only horizontally, set this property to a combination of the Move, ResizeMiddleLeft and ResizeMiddleRight flags. That will disable all manipulation handles, except the left and right ones, which allow horizontal resizing, and the central one allowing movement of the node.

 See Also

DiagramNode Members
DiagramNode Class
com.mindfusion.diagramming Namespace