public enum AttachToLink extends java.lang.Enum<AttachToLink>
DiagramNode.attachTo(com.mindfusion.diagramming.DiagramLink, com.mindfusion.diagramming.AttachToLink, int)
method of the DiagramNode
class.Enum Constant and Description |
---|
LongestHSegment
The node is attached to and follows the longest horizontal segment of the link.
|
Point
The node is attached to and follows the specified control point of the link.
|
Segment
The node is attached to and follows the specified segment of the link.
|
Modifier and Type | Method and Description |
---|---|
static AttachToLink |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttachToLink[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachToLink Point
public static final AttachToLink Segment
public static final AttachToLink LongestHSegment
public static AttachToLink[] values()
for (AttachToLink c : AttachToLink.values()) System.out.println(c);
public static AttachToLink 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