Class sap.gantt.config.ColumnAttributeModule: sap/gantt/config/ColumnAttribute

extends Element

Defines the column attribute which is used in the hierarchy column

Constructor Summary
new sap.gantt.config.ColumnAttribute(sId?, mSettings?)Constructor for a new ColumnAttribute

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

Method Summary
sap.gantt.config.ColumnAttribute.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.config.ColumnAttribute with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.config.ColumnAttribute.getMetadata()Returns a metadata object for class sap.gantt.config.ColumnAttribute.
getAttribute()Gets current value of property attribute.
getObjectTypeKey()Gets current value of property objectTypeKey.
setAttribute(sAttribute)Sets a new value for property attribute.
setObjectTypeKey(sObjectTypeKey)Sets a new value for property objectTypeKey.
Constructor Detail
new sap.gantt.config.ColumnAttribute(sId?, mSettings?)
Constructor for a new ColumnAttribute

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

Attribute name of the column

Returns:
{string} Value of property attribute
getObjectTypeKey(): string
Gets current value of property objectTypeKey.

Key of sap.gantt.config.ObjectType

Returns:
{string} Value of property objectTypeKey
setAttribute(sAttribute): sap.gantt.config.ColumnAttribute
Sets a new value for property attribute.

Attribute name of the column

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

Parameters:
{string}sAttribute New value for property attribute
Returns:
{sap.gantt.config.ColumnAttribute} Reference to this in order to allow method chaining
setObjectTypeKey(sObjectTypeKey): sap.gantt.config.ColumnAttribute
Sets a new value for property objectTypeKey.

Key of sap.gantt.config.ObjectType

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

Parameters:
{string}sObjectTypeKey New value for property objectTypeKey
Returns:
{sap.gantt.config.ColumnAttribute} Reference to this in order to allow method chaining