Class sap.gantt.config.ToolbarGroupModule: sap/gantt/config/ToolbarGroup

extends Element

Defines the toolbar group. Toolbar groups enables you to categorize related toolbar items. For example, you can put all settings-related toolbar items in the Setting group.

Constructor Summary
new sap.gantt.config.ToolbarGroup(sId?, mSettings?)Creates and initializes a new toolbar group

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

Method Summary
sap.gantt.config.ToolbarGroup.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.config.ToolbarGroup with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.config.ToolbarGroup.getMetadata()Returns a metadata object for class sap.gantt.config.ToolbarGroup.
getOverflowPriority()Gets current value of property overflowPriority.
getPosition()Gets current value of property position.
setOverflowPriority(sOverflowPriority)Sets a new value for property overflowPriority.
setPosition(sPosition)Sets a new value for property position.
Constructor Detail
new sap.gantt.config.ToolbarGroup(sId?, mSettings?)
Creates and initializes a new toolbar group

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:

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

Parameters:
{string}sId? ID of the new control, generated automatically if no ID is given
{object}mSettings? Initial settings for the new control
Method Detail
sap.gantt.config.ToolbarGroup.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.config.ToolbarGroup 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.Element.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.gantt.config.ToolbarGroup.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.config.ToolbarGroup.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getOverflowPriority(): sap.m.OverflowToolbarPriority
Gets current value of property overflowPriority.

Overflow priority. See sap.m.OverflowToolbarPriority

Default value is Low.

Returns:
{sap.m.OverflowToolbarPriority} Value of property overflowPriority
getPosition(): string
Gets current value of property position.

Specifies the position of the toolbar group. Note that all toolbar groups must be put into the Gantt chart toolbar.

Returns:
{string} Value of property position
setOverflowPriority(sOverflowPriority): sap.gantt.config.ToolbarGroup
Sets a new value for property overflowPriority.

Overflow priority. See sap.m.OverflowToolbarPriority

When called with a value of null or undefined, the default value of the property will be restored.

Default value is Low.

Parameters:
{sap.m.OverflowToolbarPriority}sOverflowPriority New value for property overflowPriority
Returns:
{sap.gantt.config.ToolbarGroup} Reference to this in order to allow method chaining
setPosition(sPosition): sap.gantt.config.ToolbarGroup
Sets a new value for property position.

Specifies the position of the toolbar group. Note that all toolbar groups must be put into the Gantt chart toolbar.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{string}sPosition New value for property position
Returns:
{sap.gantt.config.ToolbarGroup} Reference to this in order to allow method chaining