public enum NodeLabelMode extends Enum<NodeLabelMode>
NodeLayoutDescriptor.getNodeLabelMode()| Enum Constant and Description |
|---|
CONSIDER_FOR_DRAWING
A constant that makes the algorithm consider node labels for node placement and routing, but not for self-loops.
|
CONSIDER_FOR_ROUTING
A constant that makes the algorithm consider node labels during routing only.
|
CONSIDER_FOR_SELF_LOOPS
A constant that makes the algorithm consider node labels for self-loops, node placement and routing.
|
NEVER
A constant that prevents node labels from being considered during the layout.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeLabelMode |
fromOrdinal(int ordinal) |
int |
value() |
static NodeLabelMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeLabelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeLabelMode CONSIDER_FOR_DRAWING
It is used by NodeLabelMode and
NodeLabelMode.
public static final NodeLabelMode CONSIDER_FOR_ROUTING
It is used by NodeLabelMode and
NodeLabelMode.
public static final NodeLabelMode CONSIDER_FOR_SELF_LOOPS
It is used by NodeLabelMode and
NodeLabelMode.
public static final NodeLabelMode NEVER
It is used by NodeLabelMode and
NodeLabelMode.
public static final NodeLabelMode fromOrdinal(int ordinal)
public int value()
public static NodeLabelMode valueOf(String name)
IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullname - the name of the enum constant to be returned.public static NodeLabelMode[] values()
for (NodeLabelMode c : NodeLabelMode.values()) System.out.println(c);