public enum InterleavedMode extends Enum<InterleavedMode>
BalloonLayout.getInterleavedMode()
Enum Constant and Description |
---|
ALL_NODES
A child placement mode where nodes are placed in an interleaved fashion, that is, with two different, alternating
distances to the parent node.
|
MARKED_NODES
A child placement mode where child nodes of selected nodes are placed in an interleaved fashion, that is, with two
different, alternating distances to the parent node.
|
OFF
A child placement mode where all child nodes are placed around their parent with equal distances.
|
Modifier and Type | Method and Description |
---|---|
static InterleavedMode |
fromOrdinal(int ordinal) |
int |
value() |
static InterleavedMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterleavedMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterleavedMode ALL_NODES
BalloonLayout.setInterleavedMode(InterleavedMode)
public static final InterleavedMode MARKED_NODES
All other nodes are placed without interleaving. The node selection can be specified by registering an appropriate IDataProvider
for key BalloonLayout.INTERLEAVED_NODES_DPKEY
.
BalloonLayout.setInterleavedMode(InterleavedMode)
public static final InterleavedMode OFF
alignment policy
(e.g. distance to node center or distance to convex hull border).BalloonLayout.setInterleavedMode(InterleavedMode)
public static final InterleavedMode fromOrdinal(int ordinal)
public int value()
public static InterleavedMode 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 InterleavedMode[] values()
for (InterleavedMode c : InterleavedMode.values()) System.out.println(c);