Class sap.ui.vk.BaseNodeProxyModule: sap/ui/vk/BaseNodeProxy
Provides a simple, lightweight proxy object to a node in a node hierarchy.
The objects of this class should not be created directly, and should only be created through the use of the following methods:
- sap.ui.vk.NodeHierarchy.enumerateChildren
- sap.ui.vk.NodeHierarchy.enumerateAncestors
- sap.ui.vk.ViewStateManager.enumerateSelection
Experimental API:Since 1.32.0 This class is experimental and might be modified or removed in future versions.
Constructor Summary
Method Summary
sap.ui.vk.BaseNodeProxy.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.vk.BaseNodeProxy with name
sClassName
and enriches it with the information contained in oClassInfo
. Constructor Detail
new sap.ui.vk.BaseNodeProxy(nodeHierarchy, nodeId)
Constructor for a new BaseNodeProxy.
Parameters:
{sap.ui.vk.NodeHierarchy} | nodeHierarchy | The node hierarchy to which the node belongs to. |
{string} | nodeId | The ID of the node which we want to provide a proxy object for. |
Method Detail
sap.ui.vk.BaseNodeProxy.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.vk.BaseNodeProxy with name
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.base.BaseObject.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
sap.ui.vk.BaseNodeProxy.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.vk.BaseNodeProxy.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |