Packagecom.esri.bacore.thematicmapping
Classpublic class TMSummarizations
InheritanceTMSummarizations Inheritance Summarizations Inheritance Object

The TMSummarizations class represents a read-only collection of summarization variables and allows user to create value calculators for variables.

See also

SummarizationInfo


Public Properties
 PropertyDefined By
  averageValueDecimals : int
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.averageValueDecimals
The number of significant digits after the decimal point for average value.
TMSummarizations
 Inheritedcount : uint
[read-only] Number of summarization variables.
Summarizations
  formatting : ThematicValueFormatting
Thematic value formatting properties.
TMSummarizations
  indexValueDecimals : int
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.indexValueDecimals
The number of significant digits after the decimal point for index value.
TMSummarizations
  percentValueDecimals : int
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.percentValueDecimals
The number of significant digits after the decimal point for percent value.
TMSummarizations
  useGivenSummarizationsOnly : Boolean
True value means that available value calculation types for a value calculator are restricted to the summarization variables of this collection.
TMSummarizations
  valueFormatter : IValueFormatter
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.valueFormatter
Formatter to be used for formatting values.
TMSummarizations
Public Methods
 MethodDefined By
  
TMSummarizations(summarizations:Array)
Creates a new instance of the TMSummarizations class.
TMSummarizations
  
Creates a new value calculator for the given summarization variable.
TMSummarizations
 Inherited
Gets summarization variable metadata by variable index.
Summarizations
 Inherited
Gets summarization variable metadata by variable name.
Summarizations
Property Detail
averageValueDecimalsproperty
averageValueDecimals:int
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.averageValueDecimals

The number of significant digits after the decimal point for average value.


Implementation
    public function get averageValueDecimals():int
    public function set averageValueDecimals(value:int):void
formattingproperty 
formatting:ThematicValueFormatting

Since : Business Analyst API for Flex 3.0.

Thematic value formatting properties.


Implementation
    public function get formatting():ThematicValueFormatting
    public function set formatting(value:ThematicValueFormatting):void
indexValueDecimalsproperty 
indexValueDecimals:int
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.indexValueDecimals

The number of significant digits after the decimal point for index value.

The default value is 0.


Implementation
    public function get indexValueDecimals():int
    public function set indexValueDecimals(value:int):void
percentValueDecimalsproperty 
percentValueDecimals:int
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.percentValueDecimals

The number of significant digits after the decimal point for percent value.


Implementation
    public function get percentValueDecimals():int
    public function set percentValueDecimals(value:int):void
useGivenSummarizationsOnlyproperty 
useGivenSummarizationsOnly:Boolean

True value means that available value calculation types for a value calculator are restricted to the summarization variables of this collection.

The default value is false.


Implementation
    public function get useGivenSummarizationsOnly():Boolean
    public function set useGivenSummarizationsOnly(value:Boolean):void
valueFormatterproperty 
valueFormatter:IValueFormatter
Deprecated Since Business Analyst API for Flex 3.0: Please Use formatting.valueFormatter

Formatter to be used for formatting values.


Implementation
    public function get valueFormatter():IValueFormatter
    public function set valueFormatter(value:IValueFormatter):void
Constructor Detail
TMSummarizations()Constructor
public function TMSummarizations(summarizations:Array)

Creates a new instance of the TMSummarizations class.

Parameters
summarizations:Array — Array of SummarizationInfo items.
Method Detail
createValueCalculator()method
public function createValueCalculator(name:String):ThematicValueCalculator

Creates a new value calculator for the given summarization variable. In fact, this function creates an instance of the TMValueCalculator class.

Parameters

name:String — Summarization variable name.

Returns
ThematicValueCalculator — Value calculator.

See also