public enum UsageMode extends Enum<UsageMode>
Structure
can be used.Enum Constant and Description |
---|
CORNER
Used when saving a structure for easy size calculation.
|
DATA
Used to run specific custom functions, which can only be used for certain
Structures.
|
LOAD
The mode used when loading a structure.
|
SAVE
The mode used when saving a structure.
|
Modifier and Type | Method and Description |
---|---|
static UsageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageMode SAVE
public static final UsageMode LOAD
public static final UsageMode CORNER
SAVE
.public static UsageMode[] values()
for (UsageMode c : UsageMode.values()) System.out.println(c);
public static UsageMode 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 nullCopyright © 2022. All rights reserved.