Packagecom.esri.ags.layers.supportClasses
Classpublic class FeatureTemplate
InheritanceFeatureTemplate Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

Feature templates define the information required to create a new feature.



Public Properties
 PropertyDefined By
  description : String
The description of the feature template.
FeatureTemplate
  drawingTool : String
The default drawing tool to use when creating features based on this template.
FeatureTemplate
  name : String
The name of the feature template.
FeatureTemplate
  prototype : Graphic
The base graphic of the feature template.
FeatureTemplate
Public Constants
 ConstantDefined By
  TOOL_AUTO_COMPLETE_POLYGON : String = esriFeatureEditToolAutoCompletePolygon
[static] The default drawing tool specified for this template is a auto complete polygon tool.
FeatureTemplate
  TOOL_CIRCLE : String = esriFeatureEditToolCircle
[static] The default drawing tool specified for this template is the circle tool.
FeatureTemplate
  TOOL_ELLIPSE : String = esriFeatureEditToolEllipse
[static] The default drawing tool specified for this template is a ellipse tool.
FeatureTemplate
  TOOL_FREEHAND : String = esriFeatureEditToolFreehand
[static] The default drawing tool specified for this template is the freehand tool.
FeatureTemplate
  TOOL_LINE : String = esriFeatureEditToolLine
[static] The default drawing tool specified for this template is the line tool.
FeatureTemplate
  TOOL_NONE : String = esriFeatureEditToolNone
[static] No default tool is specified.
FeatureTemplate
  TOOL_POINT : String = esriFeatureEditToolPoint
[static] The default drawing tool specified for this template is the point tool.
FeatureTemplate
  TOOL_POLYGON : String = esriFeatureEditToolPolygon
[static] The default drawing tool specified for this template is the polygon tool.
FeatureTemplate
  TOOL_RECTANGLE : String = esriFeatureEditToolRectangle
[static] The default drawing tool specified for this template is the rectangle tool.
FeatureTemplate
Property Detail
descriptionproperty
description:String

The description of the feature template.

This property can be used as the source for data binding.


Implementation
    public function get description():String
    public function set description(value:String):void
drawingToolproperty 
drawingTool:String

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

This property can be used as the source for data binding.


Implementation
    public function get drawingTool():String
    public function set drawingTool(value:String):void
nameproperty 
name:String

The name of the feature template.

This property can be used as the source for data binding.


Implementation
    public function get name():String
    public function set name(value:String):void
prototypeproperty 
prototype:Graphic

The base graphic of the feature template.

This property can be used as the source for data binding.


Implementation
    public function get prototype():Graphic
    public function set prototype(value:Graphic):void
Constant Detail
TOOL_AUTO_COMPLETE_POLYGONConstant
public static const TOOL_AUTO_COMPLETE_POLYGON:String = esriFeatureEditToolAutoCompletePolygon

The default drawing tool specified for this template is a auto complete polygon tool.

TOOL_CIRCLEConstant 
public static const TOOL_CIRCLE:String = esriFeatureEditToolCircle

The default drawing tool specified for this template is the circle tool. The Editor component will map this to TOOL_POLYGON.

TOOL_ELLIPSEConstant 
public static const TOOL_ELLIPSE:String = esriFeatureEditToolEllipse

The default drawing tool specified for this template is a ellipse tool. The Editor component will map this to TOOL_POLYGON.

TOOL_FREEHANDConstant 
public static const TOOL_FREEHAND:String = esriFeatureEditToolFreehand

The default drawing tool specified for this template is the freehand tool.

TOOL_LINEConstant 
public static const TOOL_LINE:String = esriFeatureEditToolLine

The default drawing tool specified for this template is the line tool.

TOOL_NONEConstant 
public static const TOOL_NONE:String = esriFeatureEditToolNone

No default tool is specified.

TOOL_POINTConstant 
public static const TOOL_POINT:String = esriFeatureEditToolPoint

The default drawing tool specified for this template is the point tool.

TOOL_POLYGONConstant 
public static const TOOL_POLYGON:String = esriFeatureEditToolPolygon

The default drawing tool specified for this template is the polygon tool.

TOOL_RECTANGLEConstant 
public static const TOOL_RECTANGLE:String = esriFeatureEditToolRectangle

The default drawing tool specified for this template is the rectangle tool.