Package | org.axiis.layouts.scale |
Class | public class AbstractScale |
Inheritance | AbstractScale ![]() |
Subclasses | CategoricalScale, ContinuousScale |
Property | Defined By | ||
---|---|---|---|
computedMaxValue : * [read-only]
The maximum value in the dataProvider. | AbstractScale | ||
computedMinValue : * [read-only]
The minimum value in the dataProvider. | AbstractScale | ||
dataField : String
The name of the property of the Objects in the dataProvider
that should be used when computing min, max, sum, and average values. | AbstractScale | ||
dataProvider : Object
The DataSet, ArrayCollection, Array, XML, etc. | AbstractScale | ||
invalidated : Boolean [read-only]
Indicates that the scale should recalculate it's minimum and maximum
values and layouts the next time either layoutToValue or valueToLayout
is called. | AbstractScale | ||
maxLayout : Number
The maximum layout position. | AbstractScale | ||
maxValue : *
The maximum value allowed in this scale. | AbstractScale | ||
minLayout : Number
The minimum layout position. | AbstractScale | ||
minValue : *
The minimum value allowed in this scale. | AbstractScale |
Property | Defined By | ||
---|---|---|---|
collection : ArrayCollection | AbstractScale | ||
_computedMaxValue : * [write-only] | AbstractScale | ||
_computedMinValue : * [write-only] | AbstractScale | ||
userMaxValue : *
The maximum value as specified by the user. | AbstractScale | ||
userMinValue : *
The minimum value as specified by the user. | AbstractScale |
Method | Defined By | ||
---|---|---|---|
invalidate():void
Marks this IScale as needing its minValue and maxValue recomputed. | AbstractScale | ||
validate():void
Initiates the computation of minValue and maxValue. | AbstractScale |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the data in the becomes invalid and the new min, max, sum, and average need to be computed. | AbstractScale |
_computedMaxValue | property |
_computedMaxValue:*
[write-only] protected function set _computedMaxValue(value:):void
_computedMinValue | property |
_computedMinValue:*
[write-only] protected function set _computedMinValue(value:):void
collection | property |
protected var collection:ArrayCollection
computedMaxValue | property |
computedMaxValue:*
[read-only] The maximum value in the dataProvider.
This property can be used as the source for data binding.
public function get computedMaxValue():*
computedMinValue | property |
computedMinValue:*
[read-only] The minimum value in the dataProvider.
This property can be used as the source for data binding.
public function get computedMinValue():*
dataField | property |
dataField:String
[read-write] The name of the property of the Objects in the dataProvider that should be used when computing min, max, sum, and average values. If this property is not set, the implementing class should use the Objects themselves.
This property can be used as the source for data binding.
public function get dataField():String
public function set dataField(value:String):void
dataProvider | property |
dataProvider:Object
[read-write] The DataSet, ArrayCollection, Array, XML, etc. that is used to determine the range of this scale.
This property can be used as the source for data binding.
public function get dataProvider():Object
public function set dataProvider(value:Object):void
invalidated | property |
invalidated:Boolean
[read-only] Indicates that the scale should recalculate it's minimum and maximum values and layouts the next time either layoutToValue or valueToLayout is called.
public function get invalidated():Boolean
maxLayout | property |
maxLayout:Number
[read-write] The maximum layout position.
This property can be used as the source for data binding.
public function get maxLayout():Number
public function set maxLayout(value:Number):void
maxValue | property |
maxValue:*
[read-write] The maximum value allowed in this scale. If this property is not set, the implementer should compute an appropriate maximum by analyzing the contents of the dataProvider.
This property can be used as the source for data binding.
public function get maxValue():*
public function set maxValue(value:any):void
minLayout | property |
minLayout:Number
[read-write] The minimum layout position.
This property can be used as the source for data binding.
public function get minLayout():Number
public function set minLayout(value:Number):void
minValue | property |
minValue:*
[read-write] The minimum value allowed in this scale. If this property is not set, the implementer should compute an appropriate minimum by analyzing the contents of the dataProvider.
This property can be used as the source for data binding.
public function get minValue():*
public function set minValue(value:any):void
userMaxValue | property |
protected var userMaxValue:*
The maximum value as specified by the user.
userMinValue | property |
protected var userMinValue:*
The minimum value as specified by the user.
invalidate | () | method |
public function invalidate():void
Marks this IScale as needing its minValue and maxValue recomputed.
validate | () | method |
public function validate():void
Initiates the computation of minValue and maxValue.
invalidate | Event |
flash.events.Event
Dispatched when the data in the becomes invalid and the new min, max, sum, and average need to be computed.