Package | org.axiis.utils |
Class | public class NumericExpression |
Inheritance | NumericExpression ![]() |
For example, this markup will populate two labels with the text
"1.57079633" but Math.PI / 2
will only have been evaluated
once.
<axiis:NumericExpression id="ne0" value="{Math.PI / 2}" />
<mx:Label value="{ne0.expression}" />
<mx:Label value="{ne0.expression}" />
Property | Defined By | ||
---|---|---|---|
value : Number
The stored Number. | NumericExpression |
Method | Defined By | ||
---|---|---|---|
Constructor. | NumericExpression |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the value property has changed. | NumericExpression |
value | property |
value:Number
[read-write] The stored Number. By using binding to set this property and then binding other properties to it, you can reduce needless computations.
This property can be used as the source for data binding.
public function get value():Number
public function set value(value:Number):void
NumericExpression | () | Constructor |
public function NumericExpression()
Constructor.
valueChanged | Event |
Dispatched when the value property has changed.