public enum AssetShapeType extends Enum<AssetShapeType>
Enum Constant and Description |
---|
FILE |
INVALID |
POINT |
POLYGON |
POLYLINE |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static AssetShapeType |
fromValue(int value) |
static AssetShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetShapeType INVALID
public static final AssetShapeType FILE
public static final AssetShapeType POLYLINE
public static final AssetShapeType POLYGON
public static final AssetShapeType POINT
public static AssetShapeType[] values()
for (AssetShapeType c : AssetShapeType.values()) System.out.println(c);
public static AssetShapeType 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 static AssetShapeType fromValue(int value)
Copyright © 2022. All rights reserved.