Class sap.gantt.config.GanttChartLayoutModule: sap/gantt/config/GanttChartLayout

extends Element

Defines the Gantt chart layout. This includes but is not limited to the CSS size, mode, and hierarchy of the Gantt chart.

Constructor Summary
new sap.gantt.config.GanttChartLayout(sId?, mSettings?)Creates and initializes a new Gantt chart layout

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

Method Summary
sap.gantt.config.GanttChartLayout.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.config.GanttChartLayout with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.config.GanttChartLayout.getMetadata()Returns a metadata object for class sap.gantt.config.GanttChartLayout.
getActiveModeKey()Gets current value of property activeModeKey.
getGanttChartSize()Gets current value of property ganttChartSize.
getHierarchyKey()Gets current value of property hierarchyKey.
setActiveModeKey(sActiveModeKey)Sets a new value for property activeModeKey.
setGanttChartSize(sGanttChartSize)Sets a new value for property ganttChartSize.
setHierarchyKey(sHierarchyKey)Sets a new value for property hierarchyKey.
Constructor Detail
new sap.gantt.config.GanttChartLayout(sId?, mSettings?)
Creates and initializes a new Gantt chart layout

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.GanttChartLayout.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.config.GanttChartLayout 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.GanttChartLayout.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.config.GanttChartLayout.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getActiveModeKey(): string
Gets current value of property activeModeKey.

Key of the mode. See sap.gantt.config.Mode

Default value is sap.gantt.config.DEFAULT_MODE_KEY.

Returns:
{string} Value of property activeModeKey
getGanttChartSize(): sap.ui.core.CSSSize
Gets current value of property ganttChartSize.

CSS Size of the Gantt chart. See sap.ui.core.CSSSize

Returns:
{sap.ui.core.CSSSize} Value of property ganttChartSize
getHierarchyKey(): string
Gets current value of property hierarchyKey.

Key of the hierarchy. See sap.gantt.config.Hierarchy

Default value is sap.gantt.config.DEFAULT_HIERARCHY_KEY.

Returns:
{string} Value of property hierarchyKey
setActiveModeKey(sActiveModeKey): sap.gantt.config.GanttChartLayout
Sets a new value for property activeModeKey.

Key of the mode. See sap.gantt.config.Mode

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_MODE_KEY.

Parameters:
{string}sActiveModeKey New value for property activeModeKey
Returns:
{sap.gantt.config.GanttChartLayout} Reference to this in order to allow method chaining
setGanttChartSize(sGanttChartSize): sap.gantt.config.GanttChartLayout
Sets a new value for property ganttChartSize.

CSS Size of the Gantt chart. See sap.ui.core.CSSSize

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

Parameters:
{sap.ui.core.CSSSize}sGanttChartSize New value for property ganttChartSize
Returns:
{sap.gantt.config.GanttChartLayout} Reference to this in order to allow method chaining
setHierarchyKey(sHierarchyKey): sap.gantt.config.GanttChartLayout
Sets a new value for property hierarchyKey.

Key of the hierarchy. See sap.gantt.config.Hierarchy

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_HIERARCHY_KEY.

Parameters:
{string}sHierarchyKey New value for property hierarchyKey
Returns:
{sap.gantt.config.GanttChartLayout} Reference to this in order to allow method chaining