Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
IFormatter

Package | mx.formatters
Interface | public 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

| Method | Defined 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.

Wed Nov 15 2017, 09:50 AM +01:00