goog.ds.JsPropertyDataSource
Classgoog.ds.JsPropertyDataSource
> goog.ds.BaseDataNode
goog.ds.JsPropertyDataSource(parent, dataName, opt_parentDataNode)
Data source for JavaScript properties that arent objects. Contains reference to parent object so that you can set the vaule
parent
{goog.ds.DataNode
}
dataName
{string
}
opt_parentDataNode
{goog.ds.DataNode
=}
.get()
Get the value of the node
Object
}
.getChildNode(name, opt_canCreate)
Inherited from goog.ds.BaseDataNode
.
Gets a named child node of the current node
name
{string
}
opt_canCreate
{boolean
=}
goog.ds.DataNode
}
.getChildNodeValue(name)
Inherited from goog.ds.BaseDataNode
.
Gets the value of a child node
name
{string
}
Object
}
.getChildNodes(opt_selector)
Inherited from goog.ds.BaseDataNode
.
Gets all of the child nodes of the current node. Should return an empty DataNode list if no child nodes.
opt_selector
{string
=}
goog.ds.DataNodeList
}
.getDataName()
Get the name of the node relative to the parent node
string
}
.getDataPath()
Inherited from goog.ds.BaseDataNode
.
Gets the a qualified data path to this node
string
}
.getLoadState()
Inherited from goog.ds.BaseDataNode
.
Gets the state of the backing data for this node
goog.ds.LoadState
}
.getParent()
[protected] {Function
}Gets the parent node. Subclasses implement this function
.load
Inherited from goog.ds.BaseDataNode
.
Load or reload the backing data for this node
.set(value)
Set the value of the node
value
{Object
}