Class sap.apf.ComponentModule: sap/apf/Component
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
new sap.apf.Component()
Events borrowed from class sap.ui.base.ManagedObject
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
.Methods borrowed from class sap.ui.core.UIComponent
Methods borrowed from class sap.ui.core.Component
Methods borrowed from class sap.ui.base.ManagedObject
addAggregation, addAssociation, applySettings, attachFormatError, attachModelContextChange, attachParseError, attachValidationError, attachValidationSuccess, bindAggregation, bindContext, bindObject, bindProperty, clone, destroy, destroyAggregation, detachFormatError, detachModelContextChange, detachParseError, detachValidationError, detachValidationSuccess, findAggregatedObjects, fireFormatError, fireModelContextChange, fireParseError, fireValidationError, fireValidationSuccess, getAggregation, getAssociation, getBinding, getBindingContext, getBindingInfo, getBindingPath, getId, getModel, getObjectBinding, getOriginInfo, getParent, getProperty, hasModel, indexOfAggregation, insertAggregation, invalidate, isBound, isInvalidateSuppressed, isTreeBinding, propagateMessages, removeAggregation, removeAllAggregation, removeAllAssociation, removeAssociation, setAggregation, setAssociation, setBindingContext, setModel, setProperty, toString, unbindAggregation, unbindContext, unbindObject, unbindProperty, validateAggregation, validateProperty
Methods borrowed from class sap.ui.base.EventProvider
Constructor Detail
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 |