Class sap.gantt.config.ModeModule: sap/gantt/config/Mode
The Mode control specifies the mode which is used in GanttChart and Shape. Mode enables GanttChart to show the same objects in different views.
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
. 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
- text : string
- icon : sap.ui.core.URI
- activeIcon : sap.ui.core.URI
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 |
activeIcon
. URL of the active icon of the mode
{sap.ui.core.URI} | Value of property activeIcon |
icon
. URL of the icon of the mode
{sap.ui.core.URI} | Value of property icon |
key
. Unique key of the mode
{string} | Value of property key |
text
. Description of the mode
{string} | Value of property text |
activeIcon
. URL of the active icon of the mode
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.URI} | sActiveIcon | New value for property activeIcon |
{sap.gantt.config.Mode} | Reference to this in order to allow method chaining |
icon
. URL of the icon of the mode
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.URI} | sIcon | New value for property icon |
{sap.gantt.config.Mode} | Reference to this in order to allow method chaining |
key
. Unique key of the mode
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.Mode} | Reference to this in order to allow method chaining |
text
. Description of the mode
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sText | New value for property text |
{sap.gantt.config.Mode} | Reference to this in order to allow method chaining |