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:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? 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:
{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.ui.core.mvc.TemplateView.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.mvc.TemplateView.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class