class sap.ui.vtm.extensions.DisplayStateCalculationExtension

Visiblity: public
UX Guidelines:
Implements: sap.ui.vtm.interfaces.IDisplayStateCalculationExtension
Available since: N/A
Module: sap/ui/vtm/extensions/DisplayStateCalculationExtension
Application Component:

Adds a behavior that calculates display state (visibility, opacity, highlight color) for the scene nodes in a viewport using information in the tree items, context display groups and override display groups.

Excluded tree items are ignored when calculating display state since visible scene nodes that are not visible due to a context or override display group should relate to one or more selectable tree items in the tree.


Constructor

Constructor for a new DisplayStateCalculationExtension.

new sap.ui.vtm.extensions.DisplayStateCalculationExtension(sId, mSettings)
Param Type Default Value Description
sId string

id for the new sap.ui.vtm.extensions.DisplayStateCalculationExtension instance.

mSettings object

Object with initial property values, aggregated objects etc. for the new sap.ui.vtm.extensions.DisplayStateCalculationExtension instance.

Borrowed Properties

Name Type Default Value Description
enabled boolean true

Controls whether the extension is enabled.

Visibility: public

Methods Overview

Method Description
sap.ui.vtm.extensions.DisplayStateCalculationExtension.extend

Creates a new subclass of class sap.ui.vtm.extensions.DisplayStateCalculationExtension 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.vtm.Extension.extend.

sap.ui.vtm.extensions.DisplayStateCalculationExtension.getMetadata

Returns a metadata object for class sap.ui.vtm.extensions.DisplayStateCalculationExtension.

sap.ui.vtm.extensions.DisplayStateCalculationExtension.extend

Creates a new subclass of class sap.ui.vtm.extensions.DisplayStateCalculationExtension 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.vtm.Extension.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

sap.ui.vtm.extensions.DisplayStateCalculationExtension.getMetadata

Returns a metadata object for class sap.ui.vtm.extensions.DisplayStateCalculationExtension.