Packageorg.apache.flex.html.accessories
Classpublic class NumberFormatter
InheritanceNumberFormatter Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IFormatBead

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The NumberFormatter class formats a value in separated groups. The formatter listens to a property on a model and when the property changes, formats it and dispatches a formatChanged event.



Public Properties
 PropertyDefined By
  eventName : String
The event dispatched by the model when the property changes.
NumberFormatter
  formattedString : String
[read-only] The formatted string.
NumberFormatter
  propertyName : String
The name of the property on the model to format.
NumberFormatter
  strand : IStrand
[write-only] The host component for this bead.
NumberFormatter
  thousandsSeparator : String
Character to use to separate thousands groups.
NumberFormatter
Public Methods
 MethodDefined By
  
constructor
NumberFormatter
Property Detail
eventNameproperty
eventName:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The event dispatched by the model when the property changes. The default is propertyName+"Changed".


Implementation
    public function get eventName():String
    public function set eventName(value:String):void
formattedStringproperty 
formattedString:String  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The formatted string.


Implementation
    public function get formattedString():String
propertyNameproperty 
propertyName:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The name of the property on the model to format.


Implementation
    public function get propertyName():String
    public function set propertyName(value:String):void
strandproperty 
strand:IStrand  [write-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The host component for this bead.


Implementation
    public function set strand(value:IStrand):void
thousandsSeparatorproperty 
thousandsSeparator:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Character to use to separate thousands groups. The default is the comma (,).


Implementation
    public function get thousandsSeparator():String
    public function set thousandsSeparator(value:String):void
Constructor Detail
NumberFormatter()Constructor
public function NumberFormatter()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

constructor