Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
mx.olap.aggregators 

MaxAggregator  - AS3 Flex

Pacotemx.olap.aggregators
Classepublic class MaxAggregator
HerançaMaxAggregator Inheritance Object
Implementações IOLAPCustomAggregator

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The MaxAggregator class implements the maximum aggregator. The maximum aggregator returns the maximum value of all measures. Flex uses this aggregator when you set the OLAPMeasure.aggregator property to "MAX".

Elementos da API relacionados



Propriedades públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
Métodos públicos
 MétodoDefinido por
  
Flex calls this method to start the computation of an aggregation value.
MaxAggregator
  
computeEnd(data:Object, dataField:String):Number
Flex calls this method to end the computation of the aggregation value.
MaxAggregator
  
computeLoop(data:Object, dataField:String, rowData:Object):void
Flex calls this method when a new value needs to be added to the aggregation.
MaxAggregator
  
Flex calls this method to start aggregation of aggregated values.
MaxAggregator
  
computeObjectEnd(oldValue:Object, dataField:String):Number
Flex calls this method to end the computation.
MaxAggregator
  
computeObjectLoop(oldValue:Object, newValue:Object):void
Flex calls this method when a new aggregated value needs to be added to the aggregation.
MaxAggregator
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Detalhes do método

computeBegin

()método
public function computeBegin(dataField:String):Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Flex calls this method to start the computation of an aggregation value.

Parâmetros

dataField:String — The name of the OLAPMeasure.dataField property for the measure to be aggregated.

Retorna
Object — An Object initialized for the aggregation. Use this Object to hold any information necessary to perform the aggregation. You pass this Object to subsequent calls to the computeLoop() and computeEnd() methods.

computeEnd

()método 
public function computeEnd(data:Object, dataField:String):Number

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Flex calls this method to end the computation of the aggregation value.

Parâmetros

data:Object — The Object returned by the call to the computeLoop() method. Use this Object to hold information necessary to perform the aggregation.
 
dataField:String — The name of the OLAPMeasure.dataField property for the measure to be aggregated.

Retorna
Number — The aggregated value.

computeLoop

()método 
public function computeLoop(data:Object, dataField:String, rowData:Object):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Flex calls this method when a new value needs to be added to the aggregation.

Parâmetros

data:Object — The Object returned by the call to the computeBegin() method, or calculated by a previous call to the computeLoop() method. Use this Object to hold information necessary to perform the aggregation. This method modifies this Object; it does not return a value.
 
dataField:String — The name of the OLAPMeasure.dataField property for the measure to be aggregated.
 
rowData:Object — The object representing the rows data that is being analyzed.

computeObjectBegin

()método 
public function computeObjectBegin(value:Object):Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Flex calls this method to start aggregation of aggregated values. Calculating the average value of a group of averages is an example of an aggregation of aggregated values.

Parâmetros

value:Object — The Object returned by the call to the computeEnd() method for a previous aggregation. Use this Object to hold the information necessary to perform the aggregation.

Retorna
Object — An Object initialized for the aggregation. Use this Object to hold any information necessary to perform the aggregation. You pass this Object to subsequent calls to the computeObjectLoop() and computeObjectEnd() methods.

computeObjectEnd

()método 
public function computeObjectEnd(oldValue:Object, dataField:String):Number

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Flex calls this method to end the computation.

Parâmetros

oldValue:Object — The Object returned by a call to the computeObjectLoop() method that is used to store the aggregation results. This method modifies this Object; it does not return a value.
 
dataField:String — The name of the OLAPMeasure.dataField property for the measure to be aggregated.

Retorna
Number — The aggregated value.

computeObjectLoop

()método 
public function computeObjectLoop(oldValue:Object, newValue:Object):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Flex calls this method when a new aggregated value needs to be added to the aggregation.

Parâmetros

oldValue:Object — The Object returned by a call the computeObjectBegin() method, or calculated by a previous call to the computeObjectLoop() method. This method modifies this Object; it does not return a value.
 
newValue:Object — The Object returned by the call to the computeEnd() method for a previous aggregation.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.