class sap.m.ToolbarSeparator

Control sample: sap.m.ToolbarSeparator
Visiblity: public
UX Guidelines:
Implements: sap.m.IOverflowToolbarContent
Available since: N/A
Module: sap/m/ToolbarSeparator
Application Component: CA-UI5-CTR

Creates a visual separator (theme dependent: padding, margin, line) between the preceding and succeeding sap.m.Toolbar item.


Constructor

Constructor for a new ToolbarSeparator.

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

This class does not have its own settings, but all settings applicable to the base type sap.ui.core.Control can be used.

new sap.m.ToolbarSeparator(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control


Methods Overview

Method Description
sap.m.ToolbarSeparator.extend

Creates a new subclass of class sap.m.ToolbarSeparator 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.Control.extend.

sap.m.ToolbarSeparator.getMetadata

Returns a metadata object for class sap.m.ToolbarSeparator.

getOverflowToolbarConfig

Sets the behavior of the ToolbarSeparator inside an OverflowToolbar configuration.

sap.m.ToolbarSeparator.extend

Creates a new subclass of class sap.m.ToolbarSeparator 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.Control.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.m.ToolbarSeparator.getMetadata

Returns a metadata object for class sap.m.ToolbarSeparator.

getOverflowToolbarConfig

Sets the behavior of the ToolbarSeparator inside an OverflowToolbar configuration.