Class sap.apf.ComponentModule: sap/apf/Component

extends UIComponent

Base Component for all APF based applications.

Deprecated API:since SAP UI 1.30. This ./Component.js was used for any application build with UI5 Version < 1.30. Use the new ./base/Component.js instead for any application build with UI5 Version >= 1.30

Constructor Summary
Method Summary
sap.apf.Component.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.apf.Component with name sClassName and enriches it with the information contained in oClassInfo.
sap.apf.Component.getMetadata()Returns a metadata object for class sap.apf.Component.
createContent()Creates the content of the component.
exit()Cleanup the Component instance .
getApi()Returns the instance of the APF API.
init()Initialize the Component instance after creation.
Constructor Detail
new sap.apf.Component()
Deprecated:
since SAP UI 1.30. This ./Component.js was used for any application build with UI5 Version < 1.30. Use the new ./base/Component.js instead for any application build with UI5 Version >= 1.30
Method Detail
sap.apf.Component.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.apf.Component 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.core.UIComponent.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.apf.Component.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.apf.Component.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
createContent(): sap.ui.core.Control
Creates the content of the component. A component, that extends this component should call this method.
Returns:
{sap.ui.core.Control} the content
exit()
Cleanup the Component instance . The component, that extends this component should call this method.
getApi(): sap.apf.Api
Returns the instance of the APF API.
Returns:
{sap.apf.Api}
init()
Initialize the Component instance after creation. The component, that extends this component should call this method.