public enum LayoutType extends java.lang.Enum<LayoutType>
Enum Constant and Description |
---|
LAYOUT_ARRANGED |
LAYOUT_RANDOM |
LAYOUT_RING |
LAYOUT_SPRING_MASS |
LAYOUT_USER_DEFINED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatName()
Returns readable name of this layout type
|
static LayoutType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayoutType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutType LAYOUT_USER_DEFINED
public static final LayoutType LAYOUT_RANDOM
public static final LayoutType LAYOUT_ARRANGED
public static final LayoutType LAYOUT_RING
public static final LayoutType LAYOUT_SPRING_MASS
public static LayoutType[] values()
for (LayoutType c : LayoutType.values()) System.out.println(c);
public static LayoutType 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 nullpublic java.lang.String formatName()
Copyright © AnyLogic North America, LLC. All Rights Reserved.