ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.formatters 

IFormatter  - AS3 Flex

Packagemx.formatters
Interfacepublic interface IFormatter
Implementors CurrencyFormatter, DateTimeFormatter, Formatter, NumberFormatter

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.1, AIR 2.5

This interface specifies the method that a formatter object must implement to allow it to be used as the formatter property for UI controls such as the AdvancedDataGridColumn.

Related API Elements



Public Methods
 MethodDefined By
  
Formats a value and returns a String containing the new formatted value.
IFormatter
Method Detail

format

()method
public function format(value:Object):String

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.1, AIR 2.5

Formats a value and returns a String containing the new formatted value.

Parameters

value:Object — Value to be formatted.

Returns
String — The formatted string.