Class sap.gantt.config.ObjectTypeModule: sap/gantt/config/ObjectType
Define the ObjectType which is used in GanttChart
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
.expandedChartSchemeKeys
. 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
- description : string
- mainChartSchemeKey : string (default: sap.gantt.config.DEFAULT_MAIN_CHART_SCHEME_KEY)
- expandedChartSchemeKeys : array (default: [])
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 |
description
. Description of the object type
{string} | Value of property description |
expandedChartSchemeKeys
. Specifies the expanded chart scheme in which the the object type can be shown Array of keys of sap.gantt.config.ChartScheme
Default value is []
.
{array} | Value of property expandedChartSchemeKeys |
key
. Unique Key of the object type
{string} | Value of property key |
mainChartSchemeKey
. Specifies the chart scheme in which the the object type can be shown Key of sap.gantt.config.ChartScheme
Default value is sap.gantt.config.DEFAULT_MAIN_CHART_SCHEME_KEY
.
{string} | Value of property mainChartSchemeKey |
description
. Description of the object type
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sDescription | New value for property description |
{sap.gantt.config.ObjectType} | Reference to this in order to allow method chaining |
expandedChartSchemeKeys
. Specifies the expanded chart scheme in which the the object type can be shown Array of keys of sap.gantt.config.ChartScheme
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is []
.
{array} | sExpandedChartSchemeKeys | New value for property expandedChartSchemeKeys |
{sap.gantt.config.ObjectType} | Reference to this in order to allow method chaining |
key
. Unique Key of the object type
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.ObjectType} | Reference to this in order to allow method chaining |
mainChartSchemeKey
. Specifies the chart scheme in which the the object type can be shown Key of sap.gantt.config.ChartScheme
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_MAIN_CHART_SCHEME_KEY
.
{string} | sMainChartSchemeKey | New value for property mainChartSchemeKey |
{sap.gantt.config.ObjectType} | Reference to this in order to allow method chaining |