Class sap.gantt.config.ToolbarSchemeModule: sap/gantt/config/ToolbarScheme
Defines the Toolbar scheme
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
sClassName
and enriches it with the information contained in oClassInfo
. 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
- key : string
- sourceSelect : sap.gantt.config.ToolbarGroup
- layout : sap.gantt.config.LayoutGroup
- customToolbarItems : sap.gantt.config.ToolbarGroup
- expandChart : sap.gantt.config.ExpandChartGroup
- expandTree : sap.gantt.config.ToolbarGroup
- timeZoom : sap.gantt.config.ToolbarGroup
- legend : sap.gantt.config.ToolbarGroup
- settings : sap.gantt.config.SettingGroup
- mode : sap.gantt.config.ModeGroup
- toolbarDesign : string (default: sap.m.ToolbarDesign.Auto)
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | ID of the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new 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 |
customToolbarItems
. Toolbar group for custom toolbar items
{sap.gantt.config.ToolbarGroup} | Value of property customToolbarItems |
expandChart
. Toolbar group for expanding a chart
{sap.gantt.config.ExpandChartGroup} | Value of property expandChart |
expandTree
. Toolbar group for expanding nodes of a tree table
{sap.gantt.config.ToolbarGroup} | Value of property expandTree |
key
. Unique key of the toolbar scheme
{string} | Value of property key |
layout
. Toolbar group for the Gantt chart layout
{sap.gantt.config.LayoutGroup} | Value of property layout |
legend
. Toolbar group for legend
{sap.gantt.config.ToolbarGroup} | Value of property legend |
mode
. {sap.gantt.config.ModeGroup} | Value of property mode |
settings
. {sap.gantt.config.SettingGroup} | Value of property settings |
sourceSelect
. Toolbar group for selecting a source
{sap.gantt.config.ToolbarGroup} | Value of property sourceSelect |
timeZoom
. Toolbar group for the time zoom
{sap.gantt.config.ToolbarGroup} | Value of property timeZoom |
toolbarDesign
. Toolbar design. See sap.m.ToolbarDesign
Default value is sap.m.ToolbarDesign.Auto
.
{string} | Value of property toolbarDesign |
customToolbarItems
. Toolbar group for custom toolbar items
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ToolbarGroup} | sCustomToolbarItems | New value for property customToolbarItems |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
expandChart
. Toolbar group for expanding a chart
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ExpandChartGroup} | sExpandChart | New value for property expandChart |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
expandTree
. Toolbar group for expanding nodes of a tree table
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ToolbarGroup} | sExpandTree | New value for property expandTree |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
key
. Unique key of the toolbar scheme
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sKey | New value for property key |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
layout
. Toolbar group for the Gantt chart layout
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.LayoutGroup} | sLayout | New value for property layout |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
legend
. Toolbar group for legend
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ToolbarGroup} | sLegend | New value for property legend |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
mode
. See sap.gantt.config.ModeGroup
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ModeGroup} | sMode | New value for property mode |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
settings
. See sap.gantt.config.SettingGroup
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.SettingGroup} | sSettings | New value for property settings |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
sourceSelect
. Toolbar group for selecting a source
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ToolbarGroup} | sSourceSelect | New value for property sourceSelect |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
timeZoom
. Toolbar group for the time zoom
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.ToolbarGroup} | sTimeZoom | New value for property timeZoom |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |
toolbarDesign
. Toolbar design. See sap.m.ToolbarDesign
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is sap.m.ToolbarDesign.Auto
.
{string} | sToolbarDesign | New value for property toolbarDesign |
{sap.gantt.config.ToolbarScheme} | Reference to this in order to allow method chaining |