| Paket | mx.collections |
| Klass | public class DefaultSummaryCalculator |
| Arv | DefaultSummaryCalculator Object |
| Implementerar | ISummaryCalculator |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
SUM, MIN, MAX, AVG, and COUNT operations.
Relaterade API-element
| Metod | Definieras med | ||
|---|---|---|---|
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 | ||
![]() |
Anger om det finns en egenskap angiven för ett objekt. | Object | |
![]() |
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | |
![]() |
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | |
Flex calls this method to end the computation of the summary value. | DefaultSummaryCalculator | ||
Flex calls this method to end the summary calculation. | DefaultSummaryCalculator | ||
![]() |
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | 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 | ||
![]() |
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | |
![]() |
Returnerar det angivna objektets strängbeteckning. | Object | |
![]() |
Returnerar det angivna objektets primitiva värde. | Object | |
calculateSummary | () | metod |
public function calculateSummary(data:Object, field:SummaryField2, rowData:Object):void| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new value needs to be added to the summary value.
Parametrar
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 | () | metod |
public function calculateSummaryOfSummary(oldValue:Object, newValue:Object, field:SummaryField2):void| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new summary value needs to be added to the already computed summary.
Parametrar
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 | () | metod |
public function returnSummary(data:Object, field:SummaryField2):Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation of the summary value.
Parametrar
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 | () | metod |
public function returnSummaryOfSummary(oldValue:Object, field:SummaryField2):Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the summary calculation.
Parametrar
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 | () | metod |
public function summaryCalculationBegin(field:SummaryField2):Object| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method to start the computation of a summary value.
Parametrar
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 | () | metod |
public function summaryOfSummaryCalculationBegin(value:Object, field:SummaryField2):Object| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 4 |
| Körningsmiljöversioner: | 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.
Parametrar
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.
|
Tue Jun 12 2018, 01:40 PM Z
Dölj ärvda publika egenskaper
Visa ärvda publika egenskaper