public enum MapLayoutAlgorithm extends Enum<MapLayoutAlgorithm>
Enum Constant and Description |
---|
HTREE |
MANUAL |
RADIAL |
SPARSE_VTREE |
SPRING |
VTREE |
Modifier and Type | Method and Description |
---|---|
static MapLayoutAlgorithm |
getByValue(int value) |
int |
getValue() |
static MapLayoutAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapLayoutAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapLayoutAlgorithm MANUAL
public static final MapLayoutAlgorithm SPRING
public static final MapLayoutAlgorithm RADIAL
public static final MapLayoutAlgorithm HTREE
public static final MapLayoutAlgorithm VTREE
public static final MapLayoutAlgorithm SPARSE_VTREE
public static MapLayoutAlgorithm[] values()
for (MapLayoutAlgorithm c : MapLayoutAlgorithm.values()) System.out.println(c);
public static MapLayoutAlgorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static MapLayoutAlgorithm getByValue(int value)
Copyright © 2014. All rights reserved.