Provides the interface for the 2D model.
The objects of this class should not be created directly.
Method | Description |
---|---|
sap.ui.vk.svg.Scene.extend |
Creates a new subclass of class sap.ui.vk.svg.Scene with name
|
getDefaultNodeHierarchy |
Gets the default node hierarchy in the Scene object. |
getId |
Gets the unique ID of the Scene object. |
getInitialView |
Get initial view |
sap.ui.vk.svg.Scene.getMetadata |
Returns a metadata object for class sap.ui.vk.svg.Scene. |
getRootElement |
Gets the root element reference for the Scene object. |
nodeRefToPersistentId |
Gets the persistent ID from node reference. |
persistentIdToNodeRef |
Gets the node reference from persistent ID. |
setInitialView |
Set initial view |
Creates a new subclass of class sap.ui.vk.svg.Scene 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.Scene.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 |
Gets the persistent ID from node reference.
Param | Type | DefaultValue | Description |
---|---|---|---|
nodeRefs | sap.ui.vk.svg.Element sap.ui.vk.svg.Element[] |
The reference to the node or the array of references to the nodes. |
Gets the node reference from persistent ID.
Param | Type | DefaultValue | Description |
---|---|---|---|
pIDs | string string[] |
The persistent ID or the array of the persistent IDs. |
Set initial view
Param | Type | DefaultValue | Description |
---|---|---|---|
view | sap.ui.vk.View |
Initial view |