class sap.ui.core.History

Control sample: sap.ui.core.History
Visiblity: protected
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/core/History
Application Component: CA-UI5-COR

History handles the history of certain controls (e.g. sap.ui.commons.SearchField).


Constructor

Creates an instance of the History.

Attention: The Web Storage API which is used by this class stores the data on the client. Therefore do not use this API for confidential information.

new sap.ui.core.History(sId, mSettings?)
Param Type Default Value Description
sId string

id for the history

mSettings? object

optional map/JSON-object with additional settings


Methods Overview

Method Description
sap.ui.core.History.extend

Creates a new subclass of class sap.ui.core.History 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.base.Object.extend.

sap.ui.core.History.getMetadata

Returns a metadata object for class sap.ui.core.History.

sap.ui.core.History.extend

Creates a new subclass of class sap.ui.core.History 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.base.Object.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.ui.core.History.getMetadata

Returns a metadata object for class sap.ui.core.History.