Class sap.m.OverflowToolbarModule: sap/m/OverflowToolbar

extends Toolbar
known direct subclasses: ToolHeader

The OverflowToolbar control is a container based on sap.m.Toolbar, that provides overflow when its content does not fit in the visible area.

Note: It is recommended that you use OverflowToolbar over sap.m.Toolbar, unless you want to avoid overflow in favor of shrinking.


Since: 1.28.
Constructor Summary
new sap.m.OverflowToolbar(sId?, mSettings?)Constructor for a new Overflow Toolbar

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

Method Summary
sap.m.OverflowToolbar.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.OverflowToolbar with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.OverflowToolbar.getMetadata()Returns a metadata object for class sap.m.OverflowToolbar.
Constructor Detail
new sap.m.OverflowToolbar(sId?, mSettings?)
Constructor for a new Overflow Toolbar

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

  • Aggregations

    In addition, all settings applicable to the base type sap.ui.core.Toolbar can be used as well.

    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.m.OverflowToolbar.extend(sClassName, oClassInfo?, FNMetaImpl?): function
    Creates a new subclass of class sap.m.OverflowToolbar 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.Toolbar.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.m.OverflowToolbar.getMetadata(): sap.ui.base.Metadata
    Returns a metadata object for class sap.m.OverflowToolbar.
    Returns:
    {sap.ui.base.Metadata} Metadata object describing this class