Class sap.ui.core.mvc.TemplateViewModule: sap/ui/core/mvc/TemplateView

extends View

A view defined in a template.
Since: 1.16.0.
Constructor Summary
new sap.ui.core.mvc.TemplateView(sId?, mSettings?)Constructor for a new mvc/TemplateView.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.core.mvc.TemplateView.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.mvc.TemplateView with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.core.mvc.TemplateView.getMetadata()Returns a metadata object for class sap.ui.core.mvc.TemplateView.
Constructor Detail
new sap.ui.core.mvc.TemplateView(sId?, mSettings?)
Constructor for a new mvc/TemplateView.
Parameters:
stringsId?id for the new control, generated automatically if no id is given
objectmSettings?initial settings for the new control
Method Detail
sap.ui.core.mvc.TemplateView.extend(sClassName, oClassInfo?, FNMetaImpl?): function

Creates a new subclass of class sap.ui.core.mvc.TemplateView 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.mvc.View.extend.

Parameters:
stringsClassNameName of the class being created
objectoClassInfo?Object literal with information about the class
functionFNMetaImpl?Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
functionCreated class / constructor function
sap.ui.core.mvc.TemplateView.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.mvc.TemplateView.
Returns:
sap.ui.base.MetadataMetadata object describing this class