public enum HandlesStyle extends java.lang.Enum<HandlesStyle>
DiagramNode.setHandlesStyle(com.mindfusion.diagramming.HandlesStyle)
method of the ShapeNode
and TableNode
classes.Enum Constant and 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.
|
EasyMove
Any point of the interior of a node enables moving the node, except
a small area in the center that allows creating links.
|
HatchFrame
If selected, the object is drawn with hatched frame around it.
|
HatchHandles
If selected, a node is drawn with both hatched frame and modification
handles.
|
HatchHandles2
Looks like
HatchHandles , but allows moving the node from
its interior region. |
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.
|
MoveOnly
If a node is selected, it can only be moved.
|
RoundAndSquare
Corner resize handles are round, remaining handles are square.
|
RoundAndSquare2
Corner resize handles are round, remaining handles are square.
|
SquareHandles
If selected, the node is drawn with square modification handles around it.
|
SquareHandles2
Square resize handles are drawn around a selected node.
|
Modifier and Type | Method and Description |
---|---|
static HandlesStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HandlesStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlesStyle Invisible
public static final HandlesStyle SquareHandles
public static final HandlesStyle DashFrame
public static final HandlesStyle HatchFrame
DashFrame
.public static final HandlesStyle HatchHandles
public static final HandlesStyle HatchHandles2
HatchHandles
, but allows moving the node from
its interior region. Links are created from the points near the edge.public static final HandlesStyle HatchHandles3
HatchHandles2
, but paints the selection
frame using a denser brush pattern.public static final HandlesStyle MoveOnly
DiagramView.setModificationStart(com.mindfusion.diagramming.ModificationStart)
specifying
AutoHandles
as argument.public static final HandlesStyle EasyMove
DiagramView.setModificationStart(com.mindfusion.diagramming.ModificationStart)
specifying
AutoHandles
as argument.public static final HandlesStyle SquareHandles2
public static final HandlesStyle Custom
public static final HandlesStyle InvisibleMove
public static final HandlesStyle RoundAndSquare
public static final HandlesStyle RoundAndSquare2
public static HandlesStyle[] values()
for (HandlesStyle c : HandlesStyle.values()) System.out.println(c);
public static HandlesStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null