Package com.esri.arcgisruntime.data
Enum FeatureTemplate.DrawingTool
- java.lang.Object
-
- java.lang.Enum<FeatureTemplate.DrawingTool>
-
- com.esri.arcgisruntime.data.FeatureTemplate.DrawingTool
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FeatureTemplate.DrawingTool>
- Enclosing class:
- FeatureTemplate
public static enum FeatureTemplate.DrawingTool extends java.lang.Enum<FeatureTemplate.DrawingTool>
Represents a drawing tool which can be used to digitize geometries. A drawing tool is typically implemented by the application developer or SDK toolkit.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_COMPLETE_POLYGON
Auto complete polygon.CIRCLE
A circle.DOWN_ARROW
A down arrow.ELLIPSE
An ellipse.FREEHAND
A free hand.LEFT_ARROW
A left arrow.LINE
A line.NONE
None.POINT
A point.POLYGON
A polygon.RECTANGLE
A rectangle.RIGHT_ARROW
A right arrow.TEXT
A text.TRIANGLE
A triangle.UNKNOWN
Drawing tool is unknown.UP_ARROW
An up arrow.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureTemplate.DrawingTool
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FeatureTemplate.DrawingTool[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO_COMPLETE_POLYGON
public static final FeatureTemplate.DrawingTool AUTO_COMPLETE_POLYGON
Auto complete polygon.- Since:
- 100.0.0
-
CIRCLE
public static final FeatureTemplate.DrawingTool CIRCLE
A circle.- Since:
- 100.0.0
-
DOWN_ARROW
public static final FeatureTemplate.DrawingTool DOWN_ARROW
A down arrow.- Since:
- 100.0.0
-
ELLIPSE
public static final FeatureTemplate.DrawingTool ELLIPSE
An ellipse.- Since:
- 100.0.0
-
FREEHAND
public static final FeatureTemplate.DrawingTool FREEHAND
A free hand.- Since:
- 100.0.0
-
LEFT_ARROW
public static final FeatureTemplate.DrawingTool LEFT_ARROW
A left arrow.- Since:
- 100.0.0
-
LINE
public static final FeatureTemplate.DrawingTool LINE
A line.- Since:
- 100.0.0
-
NONE
public static final FeatureTemplate.DrawingTool NONE
None.- Since:
- 100.0.0
-
POINT
public static final FeatureTemplate.DrawingTool POINT
A point.- Since:
- 100.0.0
-
POLYGON
public static final FeatureTemplate.DrawingTool POLYGON
A polygon.- Since:
- 100.0.0
-
RECTANGLE
public static final FeatureTemplate.DrawingTool RECTANGLE
A rectangle. A rectangle.- Since:
- 100.0.0
-
RIGHT_ARROW
public static final FeatureTemplate.DrawingTool RIGHT_ARROW
A right arrow.- Since:
- 100.0.0
-
TEXT
public static final FeatureTemplate.DrawingTool TEXT
A text.- Since:
- 100.0.0
-
TRIANGLE
public static final FeatureTemplate.DrawingTool TRIANGLE
A triangle.- Since:
- 100.0.0
-
UP_ARROW
public static final FeatureTemplate.DrawingTool UP_ARROW
An up arrow.- Since:
- 100.0.0
-
UNKNOWN
public static final FeatureTemplate.DrawingTool UNKNOWN
Drawing tool is unknown.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static FeatureTemplate.DrawingTool[] 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.DrawingTool c : FeatureTemplate.DrawingTool.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.DrawingTool valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-