Class sap.ui.commons.ToolbarSeparatorModule: sap/ui/commons/ToolbarSeparator
A small vertical line that is generally added to the tool bar between the items to visually separate them.
Deprecated API:Since version 1.38. Instead, use the sap.m.Toolbar
control.
sClassName
and enriches it with the information contained in oClassInfo
.displayVisualSeparator
. 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:
- Properties
- displayVisualSeparator : boolean (default: true)
- design : sap.ui.commons.ToolbarSeparatorDesign
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.38. Instead, use the
sap.m.Toolbar
control.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
design
. Design of the Separator.
{sap.ui.commons.ToolbarSeparatorDesign} | Value of property design |
displayVisualSeparator
. When set to false, there is no visual indication of separation by a vertical line but by a wider space.
Default value is true
.
{boolean} | Value of property displayVisualSeparator |
design
. Design of the Separator.
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.commons.ToolbarSeparatorDesign} | sDesign | New value for property design |
{sap.ui.commons.ToolbarSeparator} | Reference to this in order to allow method chaining |
displayVisualSeparator
. When set to false, there is no visual indication of separation by a vertical line but by a wider space.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bDisplayVisualSeparator | New value for property displayVisualSeparator |
{sap.ui.commons.ToolbarSeparator} | Reference to this in order to allow method chaining |