com.mindfusion.diagramming
Class HandlesStyle

java.lang.Object
  extended by com.mindfusion.diagramming.HandlesStyle

public final class HandlesStyle
extends java.lang.Object

The members of this enumeration specify the appearance and functionality of the manipulation handles displayed around a selected node. These constants can be used as parameters of the DiagramNode.setHandlesStyle(int) method of the ShapeNode and TableNode classes.


Field Summary
static int Custom
          JDiagram raises the drawHandles and hitTestSelHandles events to let your application perform custom drawing and hit testing of selection handles.
static int DashFrame
          If selected, a node is drawn with a dashed frame around it.
static int EasyMove
          Any point of the interior of a node enables moving the node, except a small area in the center that allows creating links.
static int HatchFrame
          If selected, the object is drawn with hatched frame around it.
static int HatchHandles
          If selected, a node is drawn with both hatched frame and modification handles.
static int HatchHandles2
          Looks like HatchHandles, but allows moving the node from its interior region.
static int HatchHandles3
          Behaves like HatchHandles2, but paints the selection frame using a denser brush pattern.
static int Invisible
          There is no visible difference between selected and unselected node.
static int InvisibleMove
          There aren’t any selection handles displayed.
static int MoveOnly
          If a node is selected, it can only be moved.
static int SquareHandles
          If selected, the node is drawn with square modification handles around it.
static int SquareHandles2
          Square resize handles are drawn around a selected node.
 
Constructor Summary
HandlesStyle()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Invisible

public static final int Invisible
There is no visible difference between selected and unselected node.

See Also:
Constant Field Values

SquareHandles

public static final int SquareHandles
If selected, the node is drawn with square modification handles around it.

See Also:
Constant Field Values

DashFrame

public static final int 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.

See Also:
Constant Field Values

HatchFrame

public static final int HatchFrame
If selected, the object is drawn with hatched frame around it. Modifications can be done as with DashFrame.

See Also:
Constant Field Values

HatchHandles

public static final int 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.

See Also:
Constant Field Values

HatchHandles2

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

See Also:
Constant Field Values

HatchHandles3

public static final int HatchHandles3
Behaves like HatchHandles2, but paints the selection frame using a denser brush pattern.

See Also:
Constant Field Values

MoveOnly

public static final int MoveOnly
If a node is selected, it can only be moved. This works best after calling DiagramView.setModificationStart(int) specifying AutoHandles as argument.

See Also:
Constant Field Values

EasyMove

public static final int 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(int) specifying AutoHandles as argument.

See Also:
Constant Field Values

SquareHandles2

public static final int 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:
Constant Field Values

Custom

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

See Also:
Constant Field Values

InvisibleMove

public static final int InvisibleMove
There aren’t any selection handles displayed. The selected node can only be moved, but not resized.

See Also:
Constant Field Values
Constructor Detail

HandlesStyle

public HandlesStyle()