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.

See also

mx.controls.advancedDataGridClasses.formatter


Public Methods
 MethodDefined By
  
format(value:Object):String
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.