com.esri.core.geometry
Enum Geometry.Type

java.lang.Object
  extended by java.lang.Enum<Geometry.Type>
      extended by com.esri.core.geometry.Geometry.Type
All Implemented Interfaces:
Serializable, Comparable<Geometry.Type>
Enclosing class:
Geometry

public static enum Geometry.Type
extends Enum<Geometry.Type>

Geometry types


Enum Constant Summary
Bezier
           
EllipticArc
           
Envelope
           
Line
           
MultiPoint
           
Point
           
Polygon
           
Polyline
           
Unknown
           
 
Method Summary
static Geometry.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Geometry.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Point

public static final Geometry.Type Point

MultiPoint

public static final Geometry.Type MultiPoint

Polyline

public static final Geometry.Type Polyline

Polygon

public static final Geometry.Type Polygon

Envelope

public static final Geometry.Type Envelope

Line

public static final Geometry.Type Line

Bezier

public static final Geometry.Type Bezier

EllipticArc

public static final Geometry.Type EllipticArc

Unknown

public static final Geometry.Type Unknown
Method Detail

values

public static Geometry.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Geometry.Type c : Geometry.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Geometry.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2010. All Rights Reserved.