public enum RelativeToNode extends java.lang.Enum<RelativeToNode>
Enum Constant and Description |
---|
Center
Indicates that the node labels are positioned relative to the node center.
|
Corner
Indicates that the node labels are positioned relative to a specified corner point.
|
Edge
Indicates that the node labels are positioned relative to a specified edge.
|
Modifier and Type | Method and Description |
---|---|
static RelativeToNode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelativeToNode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeToNode Edge
public static final RelativeToNode Corner
public static final RelativeToNode Center
public static RelativeToNode[] values()
for (RelativeToNode c : RelativeToNode.values()) System.out.println(c);
public static RelativeToNode 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