Constructordojox.wire.TreeAdapter

dojo.require("dojox.wire.TreeAdapter");
defined in dojox/wire/TreeAdapter.js

If object properties ('node', 'title' and 'children') of array elements specified in 'nodes' property are not Wires, Wires are created from them as arguments, with 'parent' property set to this Wire instance.

Usage

function (/*Object*/ args) (view source)
parametertypedescription
argsObjectArguments to initialize properties nodes: An array containing objects for child Wires for node values

Jump to PropertiesFunctionsBack to top

FunctiongetValue(defaultObject: Object|Array)
Defined by dojox.wire.Wire
Return a value of an object
FunctionsetValue(value, defaultObject: Object|Array)
Defined by dojox.wire.Wire
Set a value to an object
Function_getNodes(object: Object, child: Object)
Return an array of tree node values
Function_getPropertyValue(object: Object|Array, property: String)
Defined by dojox.wire.Wire
Return a property value of an object
Function_getValue(object: Array)
Return an array of tree node values
Initialize child Wires
Function_setPropertyValue(object: Object|Array, property: String, value)
Defined by dojox.wire.Wire
Set a property value to an object
Function_setValue(object: Array, value: Array)
Not supported

Jump to FunctionsPropertiesBack to top

Defined by dojox.wire.Wire
converter object (or class name) to convert the return value (for the source Wire)