Paket | mx.collections |
Arabirim | public interface ISummaryCalculator |
Uygulayıcılar | DefaultSummaryCalculator |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
summaryOperation
property of the SummaryField2
Class.
Implement the methods of this interface in two groups. The first group consists of the
summaryCalculationBegin()
, calculateSummary()
, and returnSummary()
methods.
Use these methods to compute summary of the values.
The second group consists of the
summaryOfSummaryCalculationBegin()
, calculateSummaryOfSummary()
,
and returnSummaryOfSummary()
methods.
Use these methods to compute summary of summary values.
İlgili API Öğeleri
Yöntem | Tanımlayan: | ||
---|---|---|---|
Flex calls this method when a new value needs to be added to the summary value. | ISummaryCalculator | ||
Flex calls this method when a new summary value needs to be added to the already computed summary. | ISummaryCalculator | ||
Flex calls this method to end the computation of the summary value. | ISummaryCalculator | ||
Flex calls this method to end the summary calculation. | ISummaryCalculator | ||
Flex calls this method to start the computation of a summary value. | ISummaryCalculator | ||
Flex calls this method to start calculation of summary out of summary values. | ISummaryCalculator |
calculateSummary | () | yöntem |
public function calculateSummary(data:Object, field:SummaryField2, rowData:Object):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Flex calls this method when a new value needs to be added to the summary value.
Parametreler
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 | () | yöntem |
public function calculateSummaryOfSummary(value:Object, newValue:Object, field:SummaryField2):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Flex calls this method when a new summary value needs to be added to the already computed summary.
Parametreler
value: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 | () | yöntem |
public function returnSummary(data:Object, field:SummaryField2):Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Flex calls this method to end the computation of the summary value.
Parametreler
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 | () | yöntem |
public function returnSummaryOfSummary(value:Object, field:SummaryField2):Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Flex calls this method to end the summary calculation.
Parametreler
value: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 | () | yöntem |
public function summaryCalculationBegin(field:SummaryField2):Object
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Flex calls this method to start the computation of a summary value.
Parametreler
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 | () | yöntem |
public function summaryOfSummaryCalculationBegin(value:Object, field:SummaryField2):Object
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 4 |
Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
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.
Parametreler
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:09 PM Z