ComposeString

Kind of class:class
Inherits from:DataAccessor
Classpath:mx.data.formatters.ComposeString
File last modified:Tuesday, 31 July 2007, 23:20:42
A printf-like formatter for transforming records into strings.

Instance properties

template

template:String(read,write)
A template string, such as "As of , your balance is ".
@property template

Instance methods

getGettableTypes

function getGettableTypes () : Array
Retrieves a list of types that getTypedValue can produce.
#
Returns:
an Array of type names. When you call getTypedValue, we prefer that you request
from it a value of one of these types.
.
#

getTypedValue

function getTypedValue (requestedType:String) : mx.data.binding.TypedValue
Retrieves the current value of the data as a typed value.
#
Returns:
the current value of the data, if we can produce it in the
requested type. If we can't get the value as the requested type, we return null.
If the requested type is null, then we return it as whatever type we like.
#