public static enum JSGeometry.GeometryType extends java.lang.Enum<JSGeometry.GeometryType>
Modifier and Type | Method and Description |
---|---|
static JSGeometry.GeometryType |
fromPresetValue(int prValue)
Restituisce l'oggetto che corrisponde al parametro passato in ingresso.
|
int |
getPresetValue() |
static JSGeometry.GeometryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSGeometry.GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSGeometry.GeometryType POINTS
public static final JSGeometry.GeometryType LINES
public static final JSGeometry.GeometryType POLYGONS
public static JSGeometry.GeometryType[] values()
for (JSGeometry.GeometryType c : JSGeometry.GeometryType.values()) System.out.println(c);
public static JSGeometry.GeometryType 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 int getPresetValue()
public static JSGeometry.GeometryType fromPresetValue(int prValue)
prValue
- Valore utilizzato per individuare il tipo di geometria all'interno del preset file.