Class sap.ui.core.HistoryModule: sap/ui/core/History
History handles the history of certain controls (e.g. sap.ui.commons.SearchField).
Constructor Summary
Method Summary
sap.ui.core.History.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.History with name
sClassName
and enriches it with the information contained in oClassInfo
.Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.History(sId, mSettings?)
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.
Parameters:
{string} | sId | id for the history |
{object} | mSettings? | optional map/JSON-object with additional settings |
Method Detail
sap.ui.core.History.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.
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.History.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.History.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |