Class sap.gantt.config.ExpandChartModule: sap/gantt/config/ExpandChart

extends Element

Defines the expand chart which is used by sap.gantt.config.ExpandChartGroup.

Constructor Summary
new sap.gantt.config.ExpandChart(sId?, mSettings?)Creates and initializes a new expand chart

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

Method Summary
sap.gantt.config.ExpandChart.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.config.ExpandChart with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.config.ExpandChart.getMetadata()Returns a metadata object for class sap.gantt.config.ExpandChart.
getChartSchemeKeys()Gets current value of property chartSchemeKeys.
getIcon()Gets current value of property icon.
getIsExpand()Gets current value of property isExpand.
setChartSchemeKeys(sChartSchemeKeys)Sets a new value for property chartSchemeKeys.
setIcon(sIcon)Sets a new value for property icon.
setIsExpand(bIsExpand)Sets a new value for property isExpand.
Constructor Detail
new sap.gantt.config.ExpandChart(sId?, mSettings?)
Creates and initializes a new expand chart

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

Array of key of sap.gantt.config.ChartScheme

Default value is [].

Returns:
{array} Value of property chartSchemeKeys
getIcon(): sap.ui.core.URI
Gets current value of property icon.

URL of the icon of the expand chart

Returns:
{sap.ui.core.URI} Value of property icon
getIsExpand(): boolean
Gets current value of property isExpand.

Specifies whether the action is to expand or to collapse a row in the chart.

Returns:
{boolean} Value of property isExpand
setChartSchemeKeys(sChartSchemeKeys): sap.gantt.config.ExpandChart
Sets a new value for property chartSchemeKeys.

Array of 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 [].

Parameters:
{array}sChartSchemeKeys New value for property chartSchemeKeys
Returns:
{sap.gantt.config.ExpandChart} Reference to this in order to allow method chaining
Sets a new value for property icon.

URL of the icon of the expand chart

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

Parameters:
{sap.ui.core.URI}sIcon New value for property icon
Returns:
{sap.gantt.config.ExpandChart} Reference to this in order to allow method chaining
setIsExpand(bIsExpand): sap.gantt.config.ExpandChart
Sets a new value for property isExpand.

Specifies whether the action is to expand or to collapse a row in the chart.

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

Parameters:
{boolean}bIsExpand New value for property isExpand
Returns:
{sap.gantt.config.ExpandChart} Reference to this in order to allow method chaining