class sap.ui.vk.dvl.BaseNodeProxy

Visiblity: public
UX Guidelines:
Implements: sap.ui.base.Poolable
Available since: N/A
Module: sap/ui/vk/dvl/BaseNodeProxy
Application Component: CA-UI5-VTK

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:


Constructor

Constructor for a new BaseNodeProxy. The objects of this class should not be created directly, and should only be created through the use of the following methods:

new sap.ui.vk.dvl.BaseNodeProxy()

Methods Overview

Method Description
sap.ui.vk.dvl.BaseNodeProxy.extend

Creates a new subclass of class sap.ui.vk.dvl.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.vk.BaseNodeProxy.extend.

getHasChildren

Indicates whether the node has child nodes.

sap.ui.vk.dvl.BaseNodeProxy.getMetadata

Returns a metadata object for class sap.ui.vk.dvl.BaseNodeProxy.

getName

Gets the name of the node.

getNodeId

Gets the ID of the node.

getNodeMetadata

Gets the metadata of the node.

getNodeRef

Gets the reference object of the node.

getSceneRef

Gets the scene reference that this BaseNodeProxy object wraps.

init

Initialize this BaseNodeProxy with its data.

The init method is called by an object pool when the object is (re-)activated for a new caller.

References:

  • sap.ui.base.Poolable.prototype#init

reset

Reset BaseNodeProxy data, needed for pooling.

References:

  • sap.ui.base.Poolable.prototype#reset

sap.ui.vk.dvl.BaseNodeProxy.extend

Creates a new subclass of class sap.ui.vk.dvl.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.vk.BaseNodeProxy.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getHasChildren

Indicates whether the node has child nodes.

sap.ui.vk.dvl.BaseNodeProxy.getMetadata

Returns a metadata object for class sap.ui.vk.dvl.BaseNodeProxy.

getName

Gets the name of the node.

getNodeId

Gets the ID of the node.

getNodeMetadata

Gets the metadata of the node.

getNodeRef

Gets the reference object of the node.

getSceneRef

Gets the scene reference that this BaseNodeProxy object wraps.

init

Initialize this BaseNodeProxy with its data.

The init method is called by an object pool when the object is (re-)activated for a new caller.

References:

Param Type DefaultValue Description
nodeHierarchy sap.ui.vk.dvl.NodeHierarchy

The NodeHierarchy object this BaseNodeProxy object belongs to.

nodeRef string

The ID of the node for which to get BaseNodeProxy.

reset

Reset BaseNodeProxy data, needed for pooling.

References: