Main Page | Packages | Class Tree | Index | Help

xp.data

class DataFormatter

Object
  |
  +--xp.data.DataFormatter


class DataFormatter
extends Object



Method Summary

public static
getFormatter ( type: String ): Object
returns the a formatter for the specifeid type

public static
parseFormatterProperty ( formatter: Object, formatterOptions: Object, customOptions: Object, lsnr: Object ): Object
parses a string formatter into a formatter object

public static
setFormatterOptions ( formatter: Object, formatterOptions: Object, customOptions: Object, lsnr: Object ): Void
Initialises a formatter



Method Documentation

getFormatter

public static function getFormatter(type: String): Object
returns the a formatter for the specifeid type

Parameters:
type
The type of formatter required

parseFormatterProperty

public static function parseFormatterProperty(formatter: Object,
 formatterOptions: Object,
 customOptions: Object,
 lsnr: Object): Object
parses a string formatter into a formatter object

Parameters:
formatter
The type of formatter required
formatterOptions
An object with properties required by the required formatter
customOptions
If type is a custom class, then an object with properties required by the required formatter
lsnr
A lsnr for the Proxy formatter

setFormatterOptions

public static function setFormatterOptions(formatter: Object,
 formatterOptions: Object,
 customOptions: Object,
 lsnr: Object): Void
Initialises a formatter

Parameters:
formatter
type The type of formatter to be initialisedThe formatter object
formatterOptions
An object with properties required by the formatter
customOptions
If type is a custom class, then an object with properties required by the required formatter
lsnr
A lsnr for the Proxy formatter

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc