public enum ComponentArrangementPolicy extends Enum<ComponentArrangementPolicy>
Enum Constant and Description |
---|
COMPACT
A component arrangement policy that achieves a
1:1 aspect ratio for the graph. |
TOPMOST
A component arrangement policy that aligns the components with their topmost layer.
|
Modifier and Type | Method and Description |
---|---|
static ComponentArrangementPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static ComponentArrangementPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentArrangementPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentArrangementPolicy COMPACT
1:1
aspect ratio for the graph.
After layering the single components with the core layerer, the components will be merged such that an 1:1 aspect ratio is fulfilled best.
public static final ComponentArrangementPolicy TOPMOST
After layering the single components with the core layerer, the components are aligned with their topmost layer.
public static final ComponentArrangementPolicy fromOrdinal(int ordinal)
public int value()
public static ComponentArrangementPolicy 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 ComponentArrangementPolicy[] values()
for (ComponentArrangementPolicy c : ComponentArrangementPolicy.values()) System.out.println(c);