Class sap.gantt.control.CellModule: sap/gantt/control/Cell

extends Control

Cell acts as an abstract class. You can use this class to define a placeholder for your application to provide the specific implementation. Applications can fill the cell content by using cellCallback which returns instances such as Icon, Text, or Text input.

You can also use this class to define column specific properties that are applied when rendering a list.

Constructor Summary
new sap.gantt.control.Cell(sId?, mSettings?)Creates and initializes a new Cell class.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.gantt.control.Cell.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.control.Cell with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.control.Cell.getMetadata()Returns a metadata object for class sap.gantt.control.Cell.
getAccessibilityInfo()Provide accessibility support for control Cell
getCellCallback()Gets current value of property cellCallback.
getColumnConfig()Gets current value of property columnConfig.
setCellCallback(oCellCallback)Sets a new value for property cellCallback.
setColumnConfig(sColumnConfig)Sets a new value for property columnConfig.
Constructor Detail
new sap.gantt.control.Cell(sId?, mSettings?)
Creates and initializes a new Cell class.

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.Control 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.control.Cell.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.control.Cell 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.Control.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.control.Cell.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.control.Cell.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getAccessibilityInfo(): object
Provide accessibility support for control Cell
Returns:
{object} Current accessibility state of the control.
See:
{sap.ui.core.Control#getAccessibilityInfo}
getCellCallback(): object
Gets current value of property cellCallback.

Cell callback function that returns the specific control instance which is rendered in a table.

Returns:
{object} Value of property cellCallback
Gets current value of property columnConfig.

Column configuration object.

Returns:
{sap.gantt.config.HierarchyColumn} Value of property columnConfig
setCellCallback(oCellCallback): sap.gantt.control.Cell
Sets a new value for property cellCallback.

Cell callback function that returns the specific control instance which is rendered in a table.

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

Parameters:
{object}oCellCallback New value for property cellCallback
Returns:
{sap.gantt.control.Cell} Reference to this in order to allow method chaining
setColumnConfig(sColumnConfig): sap.gantt.control.Cell
Sets a new value for property columnConfig.

Column configuration object.

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

Parameters:
{sap.gantt.config.HierarchyColumn}sColumnConfig New value for property columnConfig
Returns:
{sap.gantt.control.Cell} Reference to this in order to allow method chaining