public enum GeometryType extends Enum<GeometryType>
| Enum Constant and Description |
|---|
Box |
Circle |
Hexagon |
LineString |
None |
Pentagon |
Point |
Polygon |
Square |
Triangle |
| Modifier and Type | Method and Description |
|---|---|
static List<GeometryType> |
asList() |
static GeometryType |
getFromLabel(String label) |
String |
getLabel() |
String |
toString() |
static GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeometryType Point
public static final GeometryType LineString
public static final GeometryType Polygon
public static final GeometryType Circle
public static final GeometryType Triangle
public static final GeometryType Square
public static final GeometryType Pentagon
public static final GeometryType Hexagon
public static final GeometryType Box
public static final GeometryType None
public static GeometryType[] values()
for (GeometryType c : GeometryType.values()) System.out.println(c);
public static GeometryType 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 String toString()
toString in class Enum<GeometryType>public String getLabel()
public static GeometryType getFromLabel(String label)
label - labelpublic static List<GeometryType> asList()
Copyright © 2020. All Rights Reserved.