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

The TMSummarizations class provides the work with summarization variables.

See also

SummarizationInfo


Public Properties
 PropertyDefined By
  averageValueDecimals : int
The number of significant digits after the decimal point for average value.
TMSummarizations
  count : uint
[read-only] Number of summarization variables.
TMSummarizations
  indexValueDecimals : int
The number of significant digits after the decimal point for index value.
TMSummarizations
  percentValueDecimals : int
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 given summarization fields.
TMSummarizations
  valueFormatter : IValueFormatter
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
  
Gets summarization variable metadata by variable index.
TMSummarizations
  
Gets summarization variable metadata by variable name.
TMSummarizations
Property Detail
averageValueDecimalsproperty
averageValueDecimals:int

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

The default value is 2.


Implementation
    public function get averageValueDecimals():int
    public function set averageValueDecimals(value:int):void
countproperty 
count:uint  [read-only]

Number of summarization variables.


Implementation
    public function get count():uint
indexValueDecimalsproperty 
indexValueDecimals:int

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

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

The default value is 4.


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 given summarization fields.

The default value is false.


Implementation
    public function get useGivenSummarizationsOnly():Boolean
    public function set useGivenSummarizationsOnly(value:Boolean):void
valueFormatterproperty 
valueFormatter:IValueFormatter

Formatter to be used for formatting values. If the formatter doesn't specified, the default formatting will be provided using the class.


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):TMValueCalculator

Creates a new value calculator for the given summarization variable.

Parameters

name:String — Summarization variable name.

Returns
TMValueCalculator — Value calculator.
getSummarizationByIndex()method 
public function getSummarizationByIndex(index:int):SummarizationInfo

Gets summarization variable metadata by variable index.

Parameters

index:int — Zero-based index of the variable.

Returns
SummarizationInfo — Summarization variable metadata.
getSummarizationByName()method 
public function getSummarizationByName(name:String):SummarizationInfo

Gets summarization variable metadata by variable name.

Parameters

name:String — Summarization variable name.

Returns
SummarizationInfo — Summarization variable metadata or null if a summarization with the given name is absent in the list of available summarizations.