Packagecom.esri.ags.components.supportClasses
Classpublic final class FieldInspector
InheritanceFieldInspector Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

The FieldInspector allows you customize the AttributeInspector look and feel for a specific field.

See also

com.esri.ags.components.AttributeInspector
Live sample - Attribute Inspector outside of the map
Live sample - FieldInspector to customize fields in AttributeInspector
Live sample - Creating a custom field inspector


Public Properties
 PropertyDefined By
  editor : IFactory
Editor to edit the attribute value.
FieldInspector
  enabled : Boolean = true
Should this field be enabled or not.
FieldInspector
  featureLayer : FeatureLayer
The feature layer
FieldInspector
  fieldName : String
The field name.
FieldInspector
  label : String
The new field label to be shown in the form item.
FieldInspector
  memo : Boolean = false
Is this a memo field - will be rendered in a rich text control.
FieldInspector
  renderer : IFactory
Renderer to render the attribute value.
FieldInspector
  rendererIsEditor : Boolean = false
A flag that indicates that the attribute renderer is also an attribute editor.
FieldInspector
  required : Boolean = false
Is this field required or not.
FieldInspector
  toolTip : String
Optional field tooltip.
FieldInspector
  visible : Boolean = true
Should this field be visible or not.
FieldInspector
Public Methods
 MethodDefined By
  
Creates a new FieldInspector.
FieldInspector
Property Detail
editorproperty
public var editor:IFactory

Editor to edit the attribute value.

enabledproperty 
public var enabled:Boolean = true

Should this field be enabled or not.

featureLayerproperty 
public var featureLayer:FeatureLayer

The feature layer

fieldNameproperty 
public var fieldName:String

The field name.

labelproperty 
public var label:String

The new field label to be shown in the form item.

memoproperty 
public var memo:Boolean = false

Is this a memo field - will be rendered in a rich text control.

rendererproperty 
public var renderer:IFactory

Renderer to render the attribute value.

rendererIsEditorproperty 
public var rendererIsEditor:Boolean = false

Since : ArcGIS API 3.4 for Flex

A flag that indicates that the attribute renderer is also an attribute editor. If set to true, the renderer will be also use in edit mode.

The default value is false.

requiredproperty 
public var required:Boolean = false

Since : ArcGIS API 3.4 for Flex

Is this field required or not.

toolTipproperty 
public var toolTip:String

Since : ArcGIS API 2.3 for Flex

Optional field tooltip.

visibleproperty 
public var visible:Boolean = true

Should this field be visible or not.

Constructor Detail
FieldInspector()Constructor
public function FieldInspector()

Creates a new FieldInspector.