Pakket | mx.collections |
Klasse | public class DefaultSummaryCalculator |
Overerving | DefaultSummaryCalculator Object |
Implementatie | ISummaryCalculator |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
SUM
, MIN
, MAX
, AVG
, and COUNT
operations.
Verwante API-elementen
Methode | Gedefinieerd door | ||
---|---|---|---|
Flex calls this method when a new value needs to be added to the summary value. | DefaultSummaryCalculator | ||
Flex calls this method when a new summary value needs to be added to the already computed summary. | DefaultSummaryCalculator | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Flex calls this method to end the computation of the summary value. | DefaultSummaryCalculator | ||
Flex calls this method to end the summary calculation. | DefaultSummaryCalculator | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Flex calls this method to start the computation of a summary value. | DefaultSummaryCalculator | ||
Flex calls this method to start calculation of summary out of summary values. | DefaultSummaryCalculator | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
calculateSummary | () | methode |
public function calculateSummary(data:Object, field:SummaryField2, rowData:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new value needs to be added to the summary value.
Parameters
data:Object — The Object returned by the call to the summaryCalculationBegin() method,
or calculated by a previous call to the calculateSummary() method.
Use this Object to hold information necessary to perform the calculation.
This method modifies this Object; it does not return a value.
| |
field:SummaryField2 — The SummaryField2 for which the summary needs to calculated.
| |
rowData:Object — The object representing the rows data that is being analyzed.
|
calculateSummaryOfSummary | () | methode |
public function calculateSummaryOfSummary(oldValue:Object, newValue:Object, field:SummaryField2):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new summary value needs to be added to the already computed summary.
Parameters
oldValue:Object — The Object returned by a call the summaryOfSummaryCalculationBegin() method,
or calculated by a previous call to the calculateSummaryOfSummary() method.
This method modifies this Object; it does not return a value.
| |
newValue:Object — The Object returned by the call to the returnSummary() method
for a previous aggregation.
| |
field:SummaryField2 — The SummaryField2 for which the summary needs to calculated.
|
returnSummary | () | methode |
public function returnSummary(data:Object, field:SummaryField2):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation of the summary value.
Parameters
data:Object — The Object returned by the call to the calculateSummary() method.
Use this Object to hold information necessary to perform the calculation.
| |
field:SummaryField2 — The SummaryField2 for which the summary needs to calculated.
|
Number — The summary value.
|
returnSummaryOfSummary | () | methode |
public function returnSummaryOfSummary(oldValue:Object, field:SummaryField2):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the summary calculation.
Parameters
oldValue:Object — The Object returned by a call to the calculateSummaryOfSummary() method
that is used to store the summary calculation results.
This method modifies this Object; it does not return a value.
| |
field:SummaryField2 — The SummaryField2 for which the summary needs to calculated.
|
Number — The summary value.
|
summaryCalculationBegin | () | methode |
public function summaryCalculationBegin(field:SummaryField2):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to start the computation of a summary value.
Parameters
field:SummaryField2 — The SummaryField2 for which the summary needs to calculated.
|
Object — An Object initialized for the summary calculation.
Use this Object to hold any information necessary to perform the calculation.
You pass this Object to subsequent calls to the calculateSummary()
and returnSummary() methods.
|
summaryOfSummaryCalculationBegin | () | methode |
public function summaryOfSummaryCalculationBegin(value:Object, field:SummaryField2):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to start calculation of summary out of summary values. Calculating the average value of a group of averages is an example of an calculation of summary out of summary values.
Parameters
value:Object — The Object returned by the call to the calculateSummary() method
for a previous summary calculation.
Use this Object to hold the information necessary to perform the calculation.
| |
field:SummaryField2 — The SummaryField2 for which the summary needs to calculated.
|
Object — An Object initialized for the summary calculation.
Use this Object to hold any information necessary to perform the calculation.
You pass this Object to subsequent calls to the calculateSummaryOfSummary()
and returnSummaryOfSummary() methods.
|
Wed Jun 13 2018, 11:42 AM Z