Packagecom.esri.bacore.thematicmapping.symbolization
Classpublic class TMClassification
InheritanceTMClassification Inheritance Classification Inheritance flash.events.EventDispatcher

The TMClassification class provides a collection of quantile and equal-intervals classifiers used in Thematic Mapping.



Public Properties
 PropertyDefined By
  classificationType : TMClassificationType
Classification type.
TMClassification
  numBreaks : int
[override] The required number of class breaks.
TMClassification
Public Methods
 MethodDefined By
  
Creates a new instance of the TMClassification class.
TMClassification
  
[override] Classifies numerical data in a number of classes.
TMClassification
 Inherited
ensureValidData(data:Array, numBreaks:int):void
[static] Ensures that the data array is specified and that the number of breaks is nonegative.
Classification
 Inherited
getBounds(data:Array):Array
[static] Calculates low and up bounds of values of data array.
Classification
Protected Methods
 MethodDefined By
 Inherited
Dispatches the classificationChanged event.
Classification
Events
 Event Summary Defined By
 InheritedThe classificationChanged event is dispatched when the classification is changed.Classification
Public Constants
 ConstantDefined By
 InheritedCLASSIFICATION_CHANGED : String = classificationChanged
[static] The Classification.CLASSIFICATION_CHANGED constant defines the value of the type property of the flash.events.Event object for a classificationChanged event.
Classification
Property Detail
classificationTypeproperty
classificationType:TMClassificationType

Classification type.

The default value is TMClassificationType.QUANTILE.

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


Implementation
    public function get classificationType():TMClassificationType
    public function set classificationType(value:TMClassificationType):void
numBreaksproperty 
numBreaks:int[override]

The required number of class breaks.

This value should be positive. In attempt to set a nonpositive value, the default number of breaks is assigned to this property value.

The default value is 5.

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


Implementation
    public function get numBreaks():int
    public function set numBreaks(value:int):void
Constructor Detail
TMClassification()Constructor
public function TMClassification()

Creates a new instance of the TMClassification class.

Method Detail
classify()method
override public function classify(data:Array):ClassificationResults

Classifies numerical data in a number of classes.

Parameters

data:Array — Array of numerical values.

Returns
ClassificationResults — Classification results.