class sap.ui.core.ElementMetadata

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/core/ElementMetadata
Application Component: CA-UI5-COR

Constructor

Creates a new metadata object for a UIElement subclass.

new sap.ui.core.ElementMetadata(sClassName, oClassInfo)
Param Type Default Value Description
sClassName string

fully qualified name of the class that is described by this metadata object

oClassInfo object

static info to construct the metadata from


Methods Overview

Method Description
getDragDropInfo

Returns an info object describing the drag-and-drop behavior.

getElementName

By default, the element name is equal to the class name

sap.ui.core.ElementMetadata.uid

Calculates a new id based on a prefix.

getDragDropInfo

Returns an info object describing the drag-and-drop behavior.

Param Type DefaultValue Description
sAggregationName string

name of the aggregation or empty.

getElementName

By default, the element name is equal to the class name

sap.ui.core.ElementMetadata.uid

Calculates a new id based on a prefix.