public enum AdjustContentRectPolicy extends Enum<AdjustContentRectPolicy>
content rectangle
of the GraphControl
should be recalculated after interactive graph changes.Enum Constant and Description |
---|
ALWAYS
The new content rectangle is recalculated with the new
bounds of the graph . |
NEVER
The content rectangle is not adjusted automatically after interactive changes.
|
UNION
The new content rectangle is recalculated with the union of the previous content rectangle and the new
bounds of the graph . |
Modifier and Type | Method and Description |
---|---|
static AdjustContentRectPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static AdjustContentRectPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdjustContentRectPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdjustContentRectPolicy ALWAYS
bounds of the graph
.public static final AdjustContentRectPolicy NEVER
public static final AdjustContentRectPolicy UNION
bounds of the graph
.public static final AdjustContentRectPolicy fromOrdinal(int ordinal)
public int value()
public static AdjustContentRectPolicy 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 AdjustContentRectPolicy[] values()
for (AdjustContentRectPolicy c : AdjustContentRectPolicy.values()) System.out.println(c);