Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.olap.aggregators 

MaxAggregator  - AS3 Flex

Paquetemx.olap.aggregators
Clasepublic class MaxAggregator
HerenciaMaxAggregator Inheritance Object
Implementa IOLAPCustomAggregator

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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 de API relacionados



Propiedades públicas
 PropiedadDefinido por
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
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 si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Información sobre métodos

computeBegin

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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Valor devuelto
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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Valor devuelto
Number — The aggregated value.

computeLoop

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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Valor devuelto
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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Valor devuelto
Number — The aggregated value.

computeObjectLoop

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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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 qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.