com.esri.core.map
Enum FeatureTemplate.DRAWING_TOOL

java.lang.Object
  extended by java.lang.Enum<FeatureTemplate.DRAWING_TOOL>
      extended by com.esri.core.map.FeatureTemplate.DRAWING_TOOL
All Implemented Interfaces:
Serializable, Comparable<FeatureTemplate.DRAWING_TOOL>
Enclosing class:
FeatureTemplate

public static enum FeatureTemplate.DRAWING_TOOL
extends Enum<FeatureTemplate.DRAWING_TOOL>

The default drawing tool to use when creating features based on this template..

Since:
1.0

Enum Constant Summary
AUTO_COMPLETE_POLYGON
          The default drawing tool specified for this template is a auto complete polygon tool.
CIRCLE
          The default drawing tool specified for this template is the circle tool.
DOWN_ARROW
          The default drawing tool specified for this template is the down arrow tool.
ELLIPSE
          The default drawing tool specified for this template is a ellipse tool.
FREEHAND
          The default drawing tool specified for this template is the freehand tool.
LEFT_ARROW
          The default drawing tool specified for this template is the left arrow tool.
LINE
          The default drawing tool specified for this template is the line tool.
NONE
          No default tool is specified.
POINT
          The default drawing tool specified for this template is the point tool.
POLYGON
          The default drawing tool specified for this template is the polygon tool.
RECTANGLE
          The default drawing tool specified for this template is the rectangle tool.
RIGHT_ARROW
          The default drawing tool specified for this template is the right arrow tool.
TEXT
          The default drawing tool specified for this template is the text tool.
TRIANGLE
          The default drawing tool specified for this template is the triangle tool.
UP_ARROW
          The default drawing tool specified for this template is the up arrow tool.
 
Method Summary
static FeatureTemplate.DRAWING_TOOL fromString(String v)
           
 String getValue()
           
static FeatureTemplate.DRAWING_TOOL valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FeatureTemplate.DRAWING_TOOL[] 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

NONE

public static final FeatureTemplate.DRAWING_TOOL NONE
No default tool is specified.


POINT

public static final FeatureTemplate.DRAWING_TOOL POINT
The default drawing tool specified for this template is the point tool.


LINE

public static final FeatureTemplate.DRAWING_TOOL LINE
The default drawing tool specified for this template is the line tool.


POLYGON

public static final FeatureTemplate.DRAWING_TOOL POLYGON
The default drawing tool specified for this template is the polygon tool.


AUTO_COMPLETE_POLYGON

public static final FeatureTemplate.DRAWING_TOOL AUTO_COMPLETE_POLYGON
The default drawing tool specified for this template is a auto complete polygon tool.


CIRCLE

public static final FeatureTemplate.DRAWING_TOOL CIRCLE
The default drawing tool specified for this template is the circle tool.


ELLIPSE

public static final FeatureTemplate.DRAWING_TOOL ELLIPSE
The default drawing tool specified for this template is a ellipse tool.


RECTANGLE

public static final FeatureTemplate.DRAWING_TOOL RECTANGLE
The default drawing tool specified for this template is the rectangle tool.


FREEHAND

public static final FeatureTemplate.DRAWING_TOOL FREEHAND
The default drawing tool specified for this template is the freehand tool.


TRIANGLE

public static final FeatureTemplate.DRAWING_TOOL TRIANGLE
The default drawing tool specified for this template is the triangle tool.


LEFT_ARROW

public static final FeatureTemplate.DRAWING_TOOL LEFT_ARROW
The default drawing tool specified for this template is the left arrow tool.


RIGHT_ARROW

public static final FeatureTemplate.DRAWING_TOOL RIGHT_ARROW
The default drawing tool specified for this template is the right arrow tool.


UP_ARROW

public static final FeatureTemplate.DRAWING_TOOL UP_ARROW
The default drawing tool specified for this template is the up arrow tool.


DOWN_ARROW

public static final FeatureTemplate.DRAWING_TOOL DOWN_ARROW
The default drawing tool specified for this template is the down arrow tool.


TEXT

public static final FeatureTemplate.DRAWING_TOOL TEXT
The default drawing tool specified for this template is the text tool.

Method Detail

values

public static FeatureTemplate.DRAWING_TOOL[] 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 (FeatureTemplate.DRAWING_TOOL c : FeatureTemplate.DRAWING_TOOL.values())
    System.out.println(c);

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

valueOf

public static FeatureTemplate.DRAWING_TOOL 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

getValue

public String getValue()

fromString

public static FeatureTemplate.DRAWING_TOOL fromString(String v)


Copyright © 2012. All Rights Reserved.