DateBase
| Kind of class: | class |
|---|---|
| Inherits from: | DataAccessor |
| Known subclasses: | |
| Classpath: | mx.data.binding.DateBase |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
A base class for formatters/encoders
Summary
Instance properties
Instance properties inherited from DataAccessor
Class methods
- extractTokenDate (value, tokenInfo)
- infuseTokenDate (tkData, tk, value)
Class methods inherited from DataAccessor
Instance methods
- internalToExternal (rawValue)
- externalToInternal (value)
- externalTypeName
- internalTypeName
- getTypedValue (requestedType:String) : mx.data.binding.TypedValue
- Retrieves the current value of the data as a typed value.
- getGettableTypes : Array
- Retrieves a list of types that getTypedValue can produce.
- setTypedValue (newValue:mx = .data.binding.TypedValue) : Array
- Sets the data to a new value, of a given type.
- getSettableTypes : Array
- Retrieves a list of types that setTypedValue can accept.Instance methods inherited from DataAccessor
- getSettableTypes : Array
Class methods
extractTokenDate
static function extractTokenDate (value, tokenInfo)infuseTokenDate
static function infuseTokenDate (tkData, tk, value)Instance methods
externalToInternal
function externalToInternal (value)externalTypeName
function externalTypeName ()getGettableTypes
function getGettableTypes () : ArrayRetrieves 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.
.
Overrides:getSettableTypes
function getSettableTypes () : ArrayRetrieves a list of types that setTypedValue can accept.#Returns:- an Array of type names. When you call setTypedValue, we prefer that call it with#
a value of one of these types.
.
Overrides:getTypedValue
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.
Overrides:internalToExternal
function internalToExternal (rawValue)internalTypeName
function internalTypeName () - setTypedValue (newValue:mx = .data.binding.TypedValue) : Array
- getGettableTypes : Array