Previous | Next | Frames | No Frames |
Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--mx.controls.treeclasses.TreeDataProvider
Field Summary | ||
appendChild: Function | ||
attributes: Object | ||
static | blankXML | |
::: END MIXIN MANAGEMENT BLOCK. | ||
childNodes: Array | ||
::: From XMLNode mixin | ||
dispatchEvent: Function | ||
::: From EventDispatcher mixin | ||
static | evtDipatcher | |
make sure we have a link to the package we depend on at static time | ||
hasChildNodes: Function | ||
insertBefore: Function | ||
static | largestID | |
Keep track of the latest treenode ID (this will let us move from one tree to another). | ||
static | mixinProps: Array | |
::: BEGIN BLOCK : USED FOR MIXIN MANAGEMENT ONLY | ||
static | mixins: TreeDataProvider | |
parentNode: Object | ||
removeNode: Function | ||
| ||
Constructor | ||
TreeDataProvider ( ) | ||
Method Summary | ||
addTreeNode ( arg, data ) | ||
adds a single node (arg can be a string or an XML object) | ||
addTreeNodeAt ( index, arg, data ) | ||
adds a single node (arg can be a string or an XML object) | ||
static | convertToNode ( tag, arg, data ) | |
::: STATIC Method ConvertToNode Arguments : tag (element tag name) label (string OR XML object) [data] (string) returns : an XMLNode Note that in the case of xmlObj, the first childNode is copied out of the DOM | ||
createProp ( obj : Object, propName: String, setter: Boolean ): Void | ||
dynamically adds Properties to the object passed, builds inline functions to be passed to addProperty | ||
getRootNode ( ) | ||
getTreeNodeAt ( index ) | ||
static | Initialize ( obj: Object ): Boolean | |
Initialize is called to apply the mixinProps above to the given object's prototype. | ||
removeAll ( ) | ||
removeTreeNode ( ) | ||
removeTreeNodeAt ( index ) | ||
updateViews ( eventObj ) | ||
::: PRIVATE METHODS / PROPERTIES | ||
| ||
var appendChild: Function |
var attributes: Object |
static var blankXML |
::: END MIXIN MANAGEMENT BLOCK. BEGIN ACTUAL CLASS CODE HERE. Used for Node creation and other helper functions |
var childNodes: Array |
::: From XMLNode mixin |
var dispatchEvent: Function |
::: From EventDispatcher mixin |
static var evtDipatcher |
make sure we have a link to the package we depend on at static time |
var hasChildNodes: Function |
var insertBefore: Function |
static var largestID |
Keep track of the latest treenode ID (this will let us move from one tree to another). |
static var mixinProps: Array |
::: BEGIN BLOCK : USED FOR MIXIN MANAGEMENT ONLY |
static var mixins: TreeDataProvider |
var parentNode: Object |
var removeNode: Function |
|
|
adds a single node (arg can be a string or an XML object) |
|
adds a single node (arg can be a string or an XML object) |
|
::: STATIC Method ConvertToNode Arguments : tag (element tag name) label (string OR XML object) [data] (string) returns : an XMLNode Note that in the case of xmlObj, the first childNode is copied out of the DOM |
|
dynamically adds Properties to the object passed, builds inline functions to be passed to addProperty |
|
|
|
Initialize is called to apply the mixinProps above to the given object's prototype. Typical usage : TreeDataProvider.Initialize(XMLNode); |
|
|
|
|
::: PRIVATE METHODS / PROPERTIES |