enum ElementType extends java.lang.Enum<ElementType>
| Enum Constant and Description |
|---|
COMPOUND_EXTERIOR_RING |
COMPOUND_INTERIOR_RING |
COMPOUND_LINE |
EXTERIOR_RING_ARC_SEGMENTS |
EXTERIOR_RING_CIRCLE |
EXTERIOR_RING_RECT |
EXTERIOR_RING_STRAIGHT_SEGMENTS
Straight segments.
|
INTERIOR_RING_ARC_SEGMENTS |
INTERIOR_RING_CIRCLE |
INTERIOR_RING_RECT |
INTERIOR_RING_STRAIGHT_SEGMENTS |
LINE_ARC_SEGMENTS |
LINE_STRAITH_SEGMENTS |
ORIENTATION |
PLAIN_OLD_COMPOUND_EXTERIOR_RING |
PLAIN_OLD_EXTERIOR_RING_STRAIGHT_SEGMENTS
Some sort of old geometry.
|
POINT |
POINT_CLUSTER |
UNSUPPORTED |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
compound |
private int |
etype |
private int |
interpretation |
| Modifier and Type | Method and Description |
|---|---|
int |
getEType() |
int |
getInterpretation() |
boolean |
isArcSegment() |
boolean |
isCircle() |
boolean |
isCompound() |
boolean |
isExteriorRing() |
boolean |
isInteriorRing() |
boolean |
isLine() |
boolean |
isRect() |
boolean |
isStraightSegment() |
static ElementType |
parseType(int etype,
int interpretation) |
static ElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementType UNSUPPORTED
public static final ElementType POINT
public static final ElementType ORIENTATION
public static final ElementType POINT_CLUSTER
public static final ElementType LINE_STRAITH_SEGMENTS
public static final ElementType LINE_ARC_SEGMENTS
public static final ElementType INTERIOR_RING_STRAIGHT_SEGMENTS
public static final ElementType PLAIN_OLD_EXTERIOR_RING_STRAIGHT_SEGMENTS
public static final ElementType PLAIN_OLD_COMPOUND_EXTERIOR_RING
public static final ElementType EXTERIOR_RING_STRAIGHT_SEGMENTS
public static final ElementType INTERIOR_RING_ARC_SEGMENTS
public static final ElementType EXTERIOR_RING_ARC_SEGMENTS
public static final ElementType INTERIOR_RING_RECT
public static final ElementType EXTERIOR_RING_RECT
public static final ElementType INTERIOR_RING_CIRCLE
public static final ElementType EXTERIOR_RING_CIRCLE
public static final ElementType COMPOUND_LINE
public static final ElementType COMPOUND_EXTERIOR_RING
public static final ElementType COMPOUND_INTERIOR_RING
private int etype
private int interpretation
private boolean compound
public static ElementType[] values()
for (ElementType c : ElementType.values()) System.out.println(c);
public static ElementType 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 getEType()
public int getInterpretation()
public boolean isCompound()
public boolean isLine()
public boolean isInteriorRing()
public boolean isExteriorRing()
public boolean isStraightSegment()
public boolean isArcSegment()
public boolean isCircle()
public boolean isRect()
public static ElementType parseType(int etype, int interpretation)