DroidDiagram Programmer's Guide
HandlesStyle Enumeration
See Also
 






The members of this enumeration specify the appearance and functionality of the manipulation handles displayed around a selected node. They can be used as parameters of the setHandlesStyle method of the DiagramNode class.

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

 Syntax

Java  Copy Code

public enum HandlesStyle

 Members

  Member name Description

Custom

JDiagram raises the drawHandles and hitTestSelHandles events to let your application perform custom drawing and hit testing of selection handles.

DashFrame

If selected, a node is drawn with a dashed frame around it. The frame enables resizing the node. The center of the node allows moving it and the edge area enables creating links.

EasyMove

Any point of the interior of a node enables moving the node, except a small area in the center that allows creating links. This works best after calling DiagramView.setModificationStart specifying AutoHandles as argument.

HatchFrame

If selected, the object is drawn with hatched frame around it. Modifications can be done as with DashFrame.

HatchHandles

If selected, a node is drawn with both hatched frame and modification handles. The frame enable moving the node, and the handles enable resizing. Links are created from any point of the interior.

HatchHandles2

Looks like HatchHandles, but allows moving the node from its interior region. Links are created from the points near the edge.

HatchHandles3

Behaves like HatchHandles2, but paints the selection frame using a denser brush pattern.

Invisible

There is no visible difference between selected and unselected node.

InvisibleMove

There aren't any selection handles displayed. The selected node can only be moved, but not resized.

MoveOnly

If a node is selected, it can only be moved. This works best after calling DiagramView.setModificationStart specifying AutoHandles as argument.

RoundAndSquare

Corner resize handles are round, remaining handles are square.

RoundAndSquare2

Corner resize handles are round, remaining handles are square. In addition, there is a dashed frame drawn around selected nodes.

SquareHandles

If selected, the node is drawn with square modification handles around it.

SquareHandles2

Square resize handles are drawn around a selected node. There isn't a move- handle in the center as with the SquareHandles style, but nodes can be moved by dragging their interior or caption areas. Links can be created by drawing from near the edges of a node.

 See Also

com.mindfusion.diagramming Namespace