public enum SpringLayoutTraits extends java.lang.Enum<SpringLayoutTraits> implements NamedEnum
Enum Constant and Description |
---|
Frozen
If the LayoutTraits value associated with a node through this key is true,
SpringLayout considers the repulsion forces exerted by the node to other nodes,
but ignores forces acting on the node and keeps it in place.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets an integer value corresponding to enumeration member.
|
static SpringLayoutTraits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpringLayoutTraits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpringLayoutTraits Frozen
public static SpringLayoutTraits[] values()
for (SpringLayoutTraits c : SpringLayoutTraits.values()) System.out.println(c);
public static SpringLayoutTraits 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