Class sap.gantt.config.ContainerLayoutModule: sap/gantt/config/ContainerLayout
Defines the container layout. The container layout determines the layout of a Gantt chart container such as the CSS size, orientation, toolbar, and tree table size.
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 (default: sap.gantt.config.DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY)
- text : string (default: ???)
- orientation : sap.ui.core.Orientation (default: Vertical)
- activeModeKey : string (default: sap.gantt.config.DEFAULT_MODE_KEY)
- toolbarSchemeKey : string (default: sap.gantt.config.DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY)
- selectionPanelSize : sap.ui.core.CSSSize (default: 30%)
- ganttChartLayouts : array (default: [])
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 |
activeModeKey
. Active mode key. See sap.gantt.config.Mode
Default value is sap.gantt.config.DEFAULT_MODE_KEY
.
{string} | Value of property activeModeKey |
ganttChartLayouts
. Array of the Gantt chart layout. See sap.gantt.config.GanttChartLayout
Default value is []
.
{array} | Value of property ganttChartLayouts |
key
. Unique key of the container layout
Default value is sap.gantt.config.DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY
.
{string} | Value of property key |
orientation
. Orientation of the Gantt chart container. See sap.ui.core.Oritentation
Default value is Vertical
.
{sap.ui.core.Orientation} | Value of property orientation |
selectionPanelSize
. CSS size of the selection panel. See sap.ui.core.CSSSize
Default value is 30%
.
{sap.ui.core.CSSSize} | Value of property selectionPanelSize |
text
. Default value is ???
.
{string} | Value of property text |
toolbarSchemeKey
. Toolbar scheme key. See sap.gantt.config.ToolbarScheme
Default value is sap.gantt.config.DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY
.
{string} | Value of property toolbarSchemeKey |
activeModeKey
. Active mode key. 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
.
{string} | sActiveModeKey | New value for property activeModeKey |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |
ganttChartLayouts
. Array of the Gantt chart layout. See sap.gantt.config.GanttChartLayout
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is []
.
{array} | sGanttChartLayouts | New value for property ganttChartLayouts |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |
key
. Unique key of the container layout
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_CONTAINER_SINGLE_LAYOUT_KEY
.
{string} | sKey | New value for property key |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |
orientation
. Orientation of the Gantt chart container. See sap.ui.core.Oritentation
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Vertical
.
{sap.ui.core.Orientation} | sOrientation | New value for property orientation |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |
selectionPanelSize
. CSS size of the selection panel. See sap.ui.core.CSSSize
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 30%
.
{sap.ui.core.CSSSize} | sSelectionPanelSize | New value for property selectionPanelSize |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |
text
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is ???
.
{string} | sText | New value for property text |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |
toolbarSchemeKey
. Toolbar scheme key. See sap.gantt.config.ToolbarScheme
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_CONTAINER_TOOLBAR_SCHEME_KEY
.
{string} | sToolbarSchemeKey | New value for property toolbarSchemeKey |
{sap.gantt.config.ContainerLayout} | Reference to this in order to allow method chaining |