// For Library Version: 1.149.0 declare namespace sap { /** * UI5 library: sap.gantt. */ namespace gantt { /** * Namespace `sap.gantt.config` provides all configuration related objects and default configuration value * for optional ones. */ namespace config { /** * Defines the default configuration chart scheme. * * Default values: * - key - `sap.gantt.config.DEFAULT_CHART_SCHEME_KEY` * - name - "Default" * - rowSpan - 1 * - icon - null * - modeKey - `sap.gantt.config.DEFAULT_MODE_KEY` * - shapeKeys - [] * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_CHART_SCHEME: sap.gantt.config.ChartScheme; /** * Defines the default chart scheme key. * * The Default Chart Scheme Key is used in the default chart scheme configuration. */ export const DEFAULT_CHART_SCHEME_KEY: string; /** * Defines the default list of chart schemes. * * Default values is `sap.gantt.config.DEFAULT_CHART_SCHEME` */ export const DEFAULT_CHART_SCHEMES: sap.gantt.config.ChartScheme[]; /** * Defines the default configuration object for Dual Container layout. * * Default values: * - key - `sap.gantt.config.DEFAULT_CONTAINER_DUAL_LAYOUT_KEY` * - text - "Dual Gantt Chart Layout" * - toolbarSchemeKey - `sap.gantt.config.DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY` * - ganttChartLayouts - `[new sap.gantt.config.GanttChartLayout({ activeModeKey: sap.gantt.config.DEFAULT_MODE_KEY, * hierarchyKey: sap.gantt.config.DEFAULT_HIERARCHY_KEY }), new sap.gantt.config.GanttChartLayout({ activeModeKey: * sap.gantt.config.DEFAULT_MODE_KEY, hierarchyKey: sap.gantt.config.DEFAULT_HIERARCHY_KEY })]` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_CONTAINER_DUAL_LAYOUT: sap.gantt.config.ContainerLayout; /** * Defines the default Gantt dual-view layout key. * * The default Gantt dual-view layout key is used in the default Gantt dual layout configuration. */ export const DEFAULT_CONTAINER_DUAL_LAYOUT_KEY: string; /** * Defines the default list of Container layouts. * * Default values are a single-view layout and a dual-view layout. */ export const DEFAULT_CONTAINER_LAYOUTS: sap.gantt.config.ContainerLayout[]; /** * Defines the default configuration object for the Single Container layout. * * Default values: * - key - `sap.gantt.config.DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY` * - text - "Single Gantt Chart Layout" * - toolbarSchemeKey - `sap.gantt.config.DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY` * - ganttChartLayouts - `[new sap.gantt.config.GanttChartLayout({ activeModeKey: sap.gantt.config.DEFAULT_MODE_KEY, * hierarchyKey: sap.gantt.config.DEFAULT_HIERARCHY_KEY })]` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_CONTAINER_SINGLE_LAYOUT: sap.gantt.config.ContainerLayout; /** * Defines the default Gantt single layout key. * * The default Gantt single layout key is used in the default Gantt single layout configuration. */ export const DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY: string; /** * Defines the default configuration object for toolbar scheme on `sap.gantt.GanttChartContainer`. * * Default values: * - key - `sap.gantt.config.DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY` * - customToolbarItems - `sap.gantt.config.ToolbarGroup({ position: "L1", overflowPriority: sap.m.OverflowToolbarPriority.High * })` * - timeZoom - `sap.gantt.config.ToolbarGroup({ position: "R2", overflowPriority: sap.m.OverflowToolbarPriority.NeverOverflow * })` * - settings - `sap.gantt.config.ToolbarGroup({ position: "R1", overflowPriority: sap.m.OverflowToolbarPriority.low, * items: sap.gantt.config.DEFAULT_TOOLBAR_SETTING_ITEMS })` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_CONTAINER_TOOLBAR_SCHEME: sap.gantt.config.ToolbarScheme; /** * Defines the default toolbar scheme key for GanttContainer. * * The default GanttContainer toolbar scheme key is used in the default GanttContainer toolbar scheme configuration. */ export const DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY: string; /** * Define default list of toolbar schemes for `sap.gantt.GanttChartContainer`. * * The default values include an empty toolbar and a default Gantt Chart Container toolbar. */ export const DEFAULT_CONTAINER_TOOLBAR_SCHEMES: sap.gantt.config.ToolbarScheme[]; /** * Defines the default empty JSON object. */ export const DEFAULT_EMPTY_OBJECT: object; /** * Defines the default configuration object for the toolbar scheme on `sap.gantt.GanttChartWithTable`. * * Default values: * - key - `sap.gantt.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEME_KEY` * - customToolbarItems - `sap.gantt.config.ToolbarGroup({ position: "L2", overflowPriority: sap.m.OverflowToolbarPriority.High * })` * - expandTree - `sap.gantt.config.ToolbarGroup({ position: "L3", overflowPriority: sap.m.OverflowToolbarPriority.Low * })` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_GANTTCHART_TOOLBAR_SCHEME: sap.gantt.config.ToolbarScheme; /** * Defines the default toolbar scheme key for GanttWithTable. * * The default GanttWithTable toolbar scheme key is used in the default GanttWithTable toolbar scheme configuration. */ export const DEFAULT_GANTTCHART_TOOLBAR_SCHEME_KEY: string; /** * Defines the default list of toolbar schemes for `sap.gantt.GanttChartBase`. * * The default values include an empty toolbar and a default Gantt Chart toolbar. */ export const DEFAULT_GANTTCHART_TOOLBAR_SCHEMES: sap.gantt.config.ToolbarScheme[]; /** * Defines the default configuration object for Hierarchy. * * Default values: * - key - `sap.gantt.config.DEFAULT_HIERARCHY_KEY` * - text - "Default Hierarchy" * - activeModeKey - `sap.gantt.config.DEFAULT_MODE_KEY` * - toolbarSchemeKey - `sap.gantt.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEME_KEY` * - columns - null * - expandedLevels - null * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_HIERARCHY: sap.gantt.config.Hierarchy; /** * Defines the default hierarchy key. * * The default hierarchy key is used in the default hierarchy configuration. */ export const DEFAULT_HIERARCHY_KEY: string; /** * Defines the default list of hierarchies. * * The default value is `sap.gantt.config.DEFAULT_HIERARCHY` */ export const DEFAULT_HIERARCHYS: sap.gantt.config.Hierarchy[]; /** * Defines the default configuration initHorizon. * * From one month ago, to one year from now. * * @deprecated As of version 1.63. Using these constants may result in errors in your application. Create * the time horizons directly: * ```javascript * new TimeHorizon({ * startTime: new Date((new Date()).getTime() - 2628000000), * endTime: new Date((new Date()).getTime() + 2628000000) * }); ``` */ export const DEFAULT_INIT_HORIZON: sap.gantt.config.TimeHorizon; /** * Defines the default configuration object Locale. The configured time zone is considered as the default * time zone for the locale, see {@link sap.base.i18n.Localization#getTimezone}.. **Note:** Adjusting the * time zone in a running application can lead to unexpected data inconsistencies. For more information, * see {@link sap/base/i18n/Localization#setTimezone}. Default values * - timeZoine - `null` * * @since 1.119 */ export const DEFAULT_LOCALE: sap.gantt.config.Locale; /** * Defines the default configuration object locale. * * Default values * - timeZoine - `"CET"` * - utcdiff - `"000000"` * - utcsign - `"+"` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_LOCALE_CET: sap.gantt.config.Locale; /** * Defines the default configuration mode. * * Default values are: * - key - `sap.gantt.config.DEFAULT_MODE_KEY` * - text - "Default" * - icon - `"sap-icon://status-positive"` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_MODE: sap.gantt.config.Mode; /** * Defines the default mode key. * * The default mode key is used in Gantt and the default mode configuration is used when no mode configuration * is provided. */ export const DEFAULT_MODE_KEY: string; /** * Defines the default list of configuration modes. * * Default value: `sap.gantt.config.DEFAULT_MODE`. */ export const DEFAULT_MODES: sap.gantt.config.Mode[]; /** * Defines the default configuration object type. * * Default values: * - key - `sap.gantt.config.DEFAULT_OBJECT_TYPE_KEY` * - description - "Default" * - mainChartSchemeKey - `sap.gantt.config.DEFAULT_CHART_SCHEME_KEY` * - expandedChartSchemeKeys - [] * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const DEFAULT_OBJECT_TYPE: sap.gantt.config.ObjectType; /** * Defines the default object type key. * * Default object type key is used in the default object type configuration. */ export const DEFAULT_OBJECT_TYPE_KEY: string; /** * Defines the default list of object types. * * The default value is `sap.gantt.config.DEFAULT_OBJECT_TYPE`. */ export const DEFAULT_OBJECT_TYPES: sap.gantt.config.ObjectType[]; /** * Defines the default configuration planHorizon. * * From one year ago, to one year from now. * * @deprecated As of version 1.63. Using these constants may result in errors in your application. Create * the time horizons directly: * ```javascript * new TimeHorizon({ * startTime: new Date((new Date()).getTime() - 31536000000), * endTime: new Date((new Date()).getTime() + 31536000000) * }); ``` */ export const DEFAULT_PLAN_HORIZON: sap.gantt.config.TimeHorizon; /** * Defines the default configuration for the time axis. * * Default values are: * - planHorizon - `sap.gantt.config.DEFAULT_PLAN_HORIZON` * - initHorizon - `sap.gantt.config.DEFAULT_INIT_HORIZON` * - zoomStrategy - `sap.gantt.config.DEFAULT_TIME_ZOOM_STRATEGY` * - finestGranularity - "15min" * - coarsestGranularity - "6month" * - rate> - 1 * * @deprecated As of version 1.63. Using these constants may result in errors in your application. Use ` * new AxisTimeStrategyBase() ` instead. */ export const DEFAULT_TIME_AXIS: sap.gantt.axistime.AxisTimeStrategyBase; /** * Defines the default configuration of the time zoom level. The default time zoom level includes a granularity * factor that determines the length of the interval between neighboring vertical lines. * * The time zoom level now is a JSON object with the granularity as the key and some internal information * such as formatting. Each level has 3 interval objects describing the time unit, the time span, and the * jump condition to the next level. The zoom level decides how the time axis behaves and how ticks are * displayed. * * Take `"12hour"` level for example * - `"12hour":` - Granularity level ID. * `"innerInterval"` - Time interval between neighboring vertical lines is 12 hours. The jump condition * to the next level is "1day" when the interval exceeds 90 pixels. * `"unit": sap.gantt.config.TimeUnit.hour` - Time unit is hour. * - `"span": 12` - Span is 12. * - `"range": 90` - Jumping condition is 90 pixels between neighboring vertical lines. * - `largeInterval` - Time interval of top row along the time axis is 1 day. Formatted in the locale * language with the format string. This zoom level implements an interval larger than the interval in the * default zoom level. * `"unit": sap.gantt.config.TimeUnit.day` - * - `"span": 1` - Time span is 1. * - `"pattern": "cccc dd.M.yyyy"` - Formats the string in CLDR date/time symbols. * - `smallInterval` - Time interval of the bottom row along the time axis is 12 hours. Formatted in * the locale language with the format string. This zoom level implements an interval the same as the interval * in the default zoom level. * `"unit": sap.gantt.config.TimeUnit.hour` - Time unit is hour. * - `"span": 12` - Time span is 12. * - `"pattern": "HH:mm"` - Formats the string in CLDR date/time symbols. * * The current granularity setting provides the following values in the default time zoom level: * `5min`, `10min`, `15min`, `30min`, * `1hour`, `2hour`, `4hour`, `6hour`, `12hour`, * `1day`, `2day`, `4day`, * `1week`, `2week`, * `1month`, `2month`, `4month`, `6month`, * `1year`, `2year`, `5year`. */ export const DEFAULT_TIME_ZOOM_STRATEGY: undefined; /** * Defines the default configuration object for setting groups in the toolbar. * * Default values: * - `sap.gantt.config.SETTING_ITEM_ENABLE_NOW_LINE` * - `sap.gantt.config.SETTING_ITEM_ENABLE_CURSOR_LINE` * - `sap.gantt.config.SETTING_ITEM_ENABLE_VERTICAL_LINE` * - `sap.gantt.config.SETTING_ITEM_ENABLE_TIME_SCROLL_SYNC` */ export const DEFAULT_TOOLBAR_SETTING_ITEMS: sap.gantt.config.SettingItem[]; /** * Defines the default empty toolbar scheme. * * This toolbar scheme has no built-in toolbar items. Only one toolbar group `customToolbarItems` is configured * to allow applications to place custom toolbar items. Default values: * - key - `sap.gantt.config.EMPTY_TOOLBAR_SCHEME_KEY` * - customToolbarItems - `sap.gantt.config.ToolbarGroup({ position: "L1", overflowPriority: sap.m.OverflowToolbarPriority.High * })` * * @deprecated As of version 1.63. Using these constants may result in errors in your application. */ export const EMPTY_TOOLBAR_SCHEME: sap.gantt.config.ToolbarScheme; /** * Defines the default empty toolbar scheme key. * * The default empty toolbar scheme key is used in the default empty toolbar scheme. */ export const EMPTY_TOOLBAR_SCHEME_KEY: string; /** * Defines the default configuration object for enabling the adhoc line setting item. Default values: * * - key - `sap.gantt.config.SETTING_ITEM_ENABLE_ADHOC_LINE_KEY` * - checked - true * - displayText - "Show Adhoc Lines" * - tooltip - "Show Adhoc Lines" */ export const SETTING_ITEM_ENABLE_ADHOC_LINE: sap.gantt.config.SettingItem; /** * Defines the default setting item key for the adhoc lines. * * The default setting item key for adhoc lines is used in the default settings group configuration. */ export const SETTING_ITEM_ENABLE_ADHOC_LINE_KEY: string; /** * Defines the default configuration object for enabling the cursor line setting items. Default values: * * - key - `sap.gantt.config.SETTING_ITEM_ENABLE_CURSOR_LINE_KEY` * - checked - true * - displayText - "Show Cursor Line" * - tooltip - "Show a Vertical Line that Follows the Mouse Pointer" */ export const SETTING_ITEM_ENABLE_CURSOR_LINE: sap.gantt.config.SettingItem; /** * Defines the default setting item key for the cursor line. * * Default setting item key for the cursor line is used in the default settings group configuration. */ export const SETTING_ITEM_ENABLE_CURSOR_LINE_KEY: string; /** * Defines the default configuration object for enabling the delta line setting item. */ export const SETTING_ITEM_ENABLE_DELTA_LINE: sap.gantt.config.SettingItem; /** * Defines the default setting of the item key for delta lines. * * The default setting of the item key for delta lines is used in the default settings of group configuration. */ export const SETTING_ITEM_ENABLE_DELTA_LINE_KEY: string; /** * Defines the default configuration object for enabling the Calendar Defs setting item. */ export const SETTING_ITEM_ENABLE_NON_WORKING_TIME: sap.gantt.config.SettingItem; /** * Defines the default setting of the item key for calendar defs. * * The default setting of the item key for calendar defs is used in the default settings of group configuration. */ export const SETTING_ITEM_ENABLE_NON_WORKING_TIME_KEY: string; /** * Defines the default configuration object for enabling the present time indicator setting item. Default * values: * - key - `sap.gantt.config.SETTING_ITEM_ENABLE_NOW_LINE_KEY` * - checked - true * - displayText - "Indicate Current Time" * - tooltip - "Draw a Vertical Line to Indicate the Current Time" */ export const SETTING_ITEM_ENABLE_NOW_LINE: sap.gantt.config.SettingItem; /** * Defines the default setting item key for the present time indicator. * * Default setting item key for the present time indicator is used in the default settings group configuration. */ export const SETTING_ITEM_ENABLE_NOW_LINE_KEY: string; /** * Defines the default configuration object for enabling the satus bar. * * @since 1.88 */ export const SETTING_ITEM_ENABLE_STATUS_BAR: sap.gantt.config.SettingItem; /** * Defines the default setting item key for status bar. * * The default setting item key for status bar is used in the default settings of group configuration. * * @since 1.88 */ export const SETTING_ITEM_ENABLE_STATUS_BAR_KEY: string; /** * Defines the default configuration object for enabling the synchronized time scroll setting item. Default * values are: * - key - `sap.gantt.config.SETTING_ITEM_ENABLE_TIME_SCROLL_SYNC_KEY` * - checked - true * - displayText - "Synchronize Time Scroll" * - tooltip - "Synchronize Horizontal Scroll Bars in Chart" */ export const SETTING_ITEM_ENABLE_TIME_SCROLL_SYNC: sap.gantt.config.SettingItem; /** * Defines the default setting item key for synchronized time scroll. * * Default setting item key for synchronized time scroll is used in the default settings group configuration. */ export const SETTING_ITEM_ENABLE_TIME_SCROLL_SYNC_KEY: string; /** * Defines the default configuration object for enabling vertical line setting item. Default values: * * - key - `sap.gantt.config.SETTING_ITEM_ENABLE_VERTICAL_LINE_KEY` * - checked - true * - displayText - "Show Divider Lines" * - tooltip - "Show Vertical Divider Lines between Time Periods" */ export const SETTING_ITEM_ENABLE_VERTICAL_LINE: sap.gantt.config.SettingItem; /** * Defines the default setting item key for the vertical lines. * * Default setting item key for vertical lines is used in the default settings group configuration. */ export const SETTING_ITEM_ENABLE_VERTICAL_LINE_KEY: string; /** * Describes the settings that can be provided to the BirdEyeGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $BirdEyeGroupSettings extends sap.gantt.config.$ToolbarGroupSettings { /** * Specify the data range that bird eye use to calculte the suitable visible horizon By default the bird * eye is a menu button: one menu item for ` sap.gantt.config.BirdEyeRange.VisibleRows` and the other for * `sap.gantt.config.BirdEyeRange.AllRows` */ birdEyeRange?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the ChartScheme constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ChartSchemeSettings extends sap.ui.core.$ElementSettings { /** * Unique key of the Chart scheme */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the Chart scheme */ name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Decides the row height of {@link sap.gantt.GanttChartBase} For example, if rowSpan is 2, the row height * of the Gantt chart equals twice of the row height of the tree table */ rowSpan?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * URL of the icon of the Chart scheme */ icon?: | sap.ui.core.URI | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Key of {@link sap.gantt.config.Mode} */ modeKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Decides whether the shape has a background */ haveBackground?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Decides the background color of the row in the chart scheme */ backgroundClass?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Array of the key of {@link sap.gantt.config.Shape} */ shapeKeys?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Decides which attribute serves as the purpose of "rowIndex" if it has multiple rows */ rowIndexName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the ColumnAttribute constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ColumnAttributeSettings extends sap.ui.core.$ElementSettings { /** * Key of {@link sap.gantt.config.ObjectType} */ objectTypeKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute name of the column */ attribute?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the ContainerLayout constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ContainerLayoutSettings extends sap.ui.core.$ElementSettings { /** * Unique key of the container layout */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Orientation of the Gantt chart container. See {@link sap.ui.core.Oritentation} */ orientation?: | sap.ui.core.Orientation | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Active mode key. See {@link sap.gantt.config.Mode} */ activeModeKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Toolbar scheme key. See {@link sap.gantt.config.ToolbarScheme} */ toolbarSchemeKey?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * CSS size of the selection panel. See {@link sap.ui.core.CSSSize} */ selectionPanelSize?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Array of the Gantt chart layout. See {@link sap.gantt.config.GanttChartLayout} We recommend that you * set the type of this argument to `sap.gantt.config.GanttChartLayout[]`. Otherwise some properties you * set may not function properly. */ ganttChartLayouts?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ExpandChart constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ExpandChartSettings extends sap.ui.core.$ElementSettings { /** * URL of the icon of the expand chart */ icon?: | sap.ui.core.URI | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the action is to expand or to collapse a row in the chart. */ isExpand?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Array of key of {@link sap.gantt.config.ChartScheme} */ chartSchemeKeys?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ExpandChartGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ExpandChartGroupSettings extends sap.gantt.config.$ToolbarGroupSettings { /** * Array of {@link sap.gantt.config.ExpandChart} */ expandCharts?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * When this property is enabled, expand button is in emphasized button type, and collapse button is in * default button type. */ enableRichType?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * When this property is enabled, text arrow is shown beside icon indicating expand/collapse function */ showArrowText?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the GanttChartLayout constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $GanttChartLayoutSettings extends sap.ui.core.$ElementSettings { /** * CSS Size of the Gantt chart. See {@link sap.ui.core.CSSSize} */ ganttChartSize?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Key of the mode. See {@link sap.gantt.config.Mode} */ activeModeKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Key of the hierarchy. See {@link sap.gantt.config.Hierarchy} */ hierarchyKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Hierarchy constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $HierarchySettings extends sap.ui.core.$ElementSettings { /** * Unique key of the hierarchy */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the hierarchy */ text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Key of {@link sap.gantt.config.Mode} */ activeModeKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Key of {@link sap.gantt.config.ToolbarScheme} */ toolbarSchemeKey?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Columns of the hierarchy. Array of {@link sap.gantt.config.HierarchyColumn} */ columns?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * expandedLevels determines how the tree table is initially expanded. This property is a two-dimensional * array containing object types of row data. Only rows with data of the specified object types are expanded. * Each child array represents a specific level in the hierarchy with the first child array representing * the first level and so forth. For example, if this property is set to [["02", "03"], ["05"]], rows containing * data of object types 02 or 03 in the first level and rows containing data of object type 05 in the second * level are expanded. * * @deprecated As of version 1.46.8. This feature may cause severe performance issue! Since TreeTable doesn't * have API to expand specific multiple rows in one call, GanttChart expand the tree tale to level calculated * from the configuration, then loop all data in the model, collapse the node which does not full-fill the * configuration one by one. This feature is application specific and should be handled by application. */ expandedLevels?: | string[][] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the HierarchyColumn constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $HierarchyColumnSettings extends sap.ui.core.$ElementSettings { /** * Unique key of the hierarchy column */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Title is used as the title of the column header in the tree table */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Content type of the column */ contentType?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the attribute by which the tree table sorts items in the column */ sortAttribute?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the attribute by which the tree table filter items in the column */ filterAttribute?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute */ attribute?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attributes. Array of {@link sap.gantt.config.ColumnAttribute} optional. array of objects. new file columnAttribute * to describe object: object type, attribute */ attributes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Column Width */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the LayoutGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $LayoutGroupSettings extends sap.gantt.config.$ToolbarGroupSettings { /** * Determines the button type. See {@link sap.m.ButtonType} true stands for {@link sap.m.ButtonType.Emphasized } * false stands for {@link sap.m.ButtonType.Default} * * @deprecated As of version 1.50. the concept has been discarded. */ enableRichStyle?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Locale constructor. */ interface $LocaleSettings extends sap.ui.core.$ElementSettings { /** * Custom timezone for Gantt. The localization time zone is considered as the default time zone for the * locale, see {@link sap.base.i18n.Localization#getTimezone} */ timeZone?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Gap value to the UTC time in the format hhmmss * * @deprecated As of version 1.119. the concept has been discarded. */ utcdiff?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Sign of the gap to the UTC time. Two valid values: "+" or "-". * * @deprecated As of version 1.119. the concept has been discarded. */ utcsign?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Day-light saving time periods. Array of {@link sap.gantt.config.TimeHorizon} other locale info like langu, * dateFormat, timeFormat and numberFormat, please use UI5 standard configuration object. * * @deprecated As of version 1.119. the concept has been discarded. */ dstHorizons?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Mode constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ModeSettings extends sap.ui.core.$ElementSettings { /** * Unique key of the mode */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the mode */ text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * URL of the icon of the mode */ icon?: | sap.ui.core.URI | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * URL of the active icon of the mode */ activeIcon?: | sap.ui.core.URI | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ModeGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ModeGroupSettings extends sap.gantt.config.$ToolbarGroupSettings { /** * Array of key of {@link sap.gantt.config.Mode} */ modeKeys?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ObjectType constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ObjectTypeSettings extends sap.ui.core.$ElementSettings { /** * Unique Key of the object type */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the object type */ description?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the chart scheme in which the the object type can be shown Key of {@link sap.gantt.config.ChartScheme} */ mainChartSchemeKey?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the expanded chart scheme in which the the object type can be shown Array of keys of {@link sap.gantt.config.ChartScheme} */ expandedChartSchemeKeys?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the SettingGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $SettingGroupSettings extends sap.gantt.config.$ToolbarGroupSettings { /** * Association to the setting item. See {@link sap.gantt.config.SettingItem} We recommend that you set the * type of this argument to `sap.gantt.config.SettingItem[]`. Otherwise some properties you set may not * function properly. */ items?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the SettingItem constructor. */ interface $SettingItemSettings extends sap.ui.core.$ElementSettings { /** * Indicates whether the checkbox is selected or not */ checked?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Identifier of an event when the checkbox is toggled */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Aria label of the checkbox */ displayText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Shape constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ShapeSettings extends sap.ui.core.$ElementSettings { /** * Primary key of the shape configuration. This property can be referenced from other configuration object, * such as `sap.gantt.config.ChartScheme`. This property is only relevant to top Shape configuration. */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the shape class to be used for data representation. Both shapes from `sap.gantt.shape` and * extended shapes can be used here. */ shapeClassName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the name of the data name to be represented. This is for the top shape only. */ shapeDataName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the key of modes in which the shape is drawn. If you leave this property empty, the shape is * drawn in all modes. */ modeKeys?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Level of shapes. Shapes closer to the top shape have a smaller value in level. This property is only * relevant to top shape configuration (non aggregated shape configuration). */ level?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Pre-configured values for Shape. The values specified in this object have a higher priority than values * coded in the Shape class. */ shapeProperties?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Aggregation shapes for sap.gantt.shape.Group class. This aggregation is only valid for shape classes * with tag='g'. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. Otherwise * some properties you set may not function properly. */ groupAggregation?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Aggregation path classes for sap.gantt.shape.Clippath class. This aggregation is only valid for shape * classes with tag='clippath'. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. * Otherwise some properties you set may not function properly. */ clippathAggregation?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Aggregation class for drawing selection of this shape. If nothing is assigned to this property, `sap.gantt.Gantt` * instantiates the default selected shape class. */ selectedClassName?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Switch of shape's checkbox value in list legend, its value can be "noShow", "checked" and "unchecked". */ switchOfCheckBox?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Aggregation class for drawing shadow when resizing this shape. If nothing is assigned to this property, * `sap.gantt.Gantt` instantiates the default shadow shape class. */ resizeShadowClassName?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies whether or not should the shape be considered into bird eye range. we suggest to set this property * to true only for shapes that really need to be considered into bird eye range. */ countInBirdEye?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the TimeAxis constructor. * * @deprecated As of version 1.44. replaced by sap.gantt.axistime.AxisTimeStrategy */ interface $TimeAxisSettings extends sap.ui.core.$ElementSettings { /** * Whole time horizon of the Gantt chart We recommend that you set the type of this argument to `sap.gantt.config.TimeHorizon`. * Otherwise some properties you set may not function properly. */ planHorizon?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Time horizon which is displayed after the Gantt chart is initialized We recommend that you set the type * of this argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function * properly. */ initHorizon?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Zoom strategy of the Gantt chart * * {@see sap.gantt.axistime.AxisTimeStrategy} */ zoomStrategy?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Initial granularity of the time axis */ granularity?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Granularity when the Gantt chart is zoomed in to the maximum */ finestGranularity?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Granularity when the GanttChart is zoomed out to the minimum */ coarsestGranularity?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Zoom rate of the Gantt chart */ rate?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the TimeHorizon constructor. */ interface $TimeHorizonSettings extends sap.ui.core.$ElementSettings { /** * Start time of the time horizon in this format: YYYYMMDDHHMMSS. If the type of `startTime` is `Object`, * the value is converted to a string. **Note:** Modifying this property does not invalidate the control. */ startTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * End time of the time horizon in this format: YYYYMMDDHHMMSS. If the type of `endTime` is `Object`, the * value is converted to a string. **Note:** Modifying this property does not invalidate the control. */ endTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the TimeZoomGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $TimeZoomGroupSettings extends sap.gantt.config.$ToolbarGroupSettings { /** * Enables the Slider control for the time zooming function. * * @deprecated As of version 1.44. replaced by zoomControlType */ showZoomSlider?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Enables zoom in and zoom out buttons for the time zooming function. * * @deprecated As of version 1.44. replaced by zoomControlType */ showZoomButtons?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the control type to set the zoom rate. */ zoomControlType?: | sap.gantt.config.ZoomControlType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Sets the step when the zoom control type is sap.gantt.config.ZoomControlType.SliderWithButtons or sap.gantt.config.ZoomControlType.SliderOnly. */ stepCountOfSlider?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Array of plain objects which has "key" and "text" properties, or array of sap.ui.core.Item used to configure * the items in the Select control when the zoom control type is sap.gantt.config.ZoomControlType.Select. */ infoOfSelectItems?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ToolbarGroup constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ToolbarGroupSettings extends sap.ui.core.$ElementSettings { /** * Specifies the position of the toolbar group. Note that all toolbar groups must be put into the Gantt * chart toolbar. */ position?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Overflow priority. See {@link sap.m.OverflowToolbarPriority} */ overflowPriority?: | sap.m.OverflowToolbarPriority | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Type of a button in the toolbar group if it's a button */ buttonType?: | sap.m.ButtonType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ToolbarScheme constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ToolbarSchemeSettings extends sap.ui.core.$ElementSettings { /** * Unique key of the toolbar scheme */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Toolbar group for selecting a source We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. */ sourceSelect?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for bird eye We recommend that you set the type of this argument to `sap.gantt.config.BirdEyeGroup`. * Otherwise some properties you set may not function properly. */ birdEye?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for the Gantt chart layout We recommend that you set the type of this argument to `sap.gantt.config.LayoutGroup`. * Otherwise some properties you set may not function properly. */ layout?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for custom toolbar items We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. */ customToolbarItems?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for expanding a chart We recommend that you set the type of this argument to `sap.gantt.config.ExpandChartGroup`. * Otherwise some properties you set may not function properly. */ expandChart?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for expanding nodes of a tree table We recommend that you set the type of this argument * to `sap.gantt.config.ToolbarGroup`. Otherwise some properties you set may not function properly. */ expandTree?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for the time zoom We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. */ timeZoom?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar group for legend We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. */ legend?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * See {@link sap.gantt.config.SettingGroup} We recommend that you set the type of this argument to `sap.gantt.config.SettingGroup`. * Otherwise some properties you set may not function properly. */ settings?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * See {@link sap.gantt.config.ModeGroup} We recommend that you set the type of this argument to `sap.gantt.config.ModeGroup`. * Otherwise some properties you set may not function properly. */ mode?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar design. See {@link sap.m.ToolbarDesign} */ toolbarDesign?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * You can define bird eye toolbar items in the Gantt chart toolbar. * * @deprecated As of version 1.64. the concept has been discarded. */ class BirdEyeGroup extends sap.gantt.config.ToolbarGroup { /** * Creates and initializes a new toolbar group for bird eye button * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$BirdEyeGroupSettings ); /** * Creates and initializes a new toolbar group for bird eye button * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$BirdEyeGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.BirdEyeGroup with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.config.ToolbarGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.BirdEyeGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getBirdEyeRange birdEyeRange}. * * Specify the data range that bird eye use to calculte the suitable visible horizon By default the bird * eye is a menu button: one menu item for ` sap.gantt.config.BirdEyeRange.VisibleRows` and the other for * `sap.gantt.config.BirdEyeRange.AllRows` * * * @returns Value of property `birdEyeRange` */ getBirdEyeRange(): string; /** * Sets a new value for property {@link #getBirdEyeRange birdEyeRange}. * * Specify the data range that bird eye use to calculte the suitable visible horizon By default the bird * eye is a menu button: one menu item for ` sap.gantt.config.BirdEyeRange.VisibleRows` and the other for * `sap.gantt.config.BirdEyeRange.AllRows` * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setBirdEyeRange( /** * New value for property `birdEyeRange` */ sBirdEyeRange?: string ): this; } /** * The ChartScheme control is one of the settings of {@link sap.gantt.GanttChart}. A Gantt chart uses * this setting to decide the mode of Gantt chart and the shapes to display in the Gantt chart. A Gantt * chart contains one or more Chart schemes. By switching between these schemes, the Gantt chart can display * different shapes. * * @deprecated As of version 1.64. the concept has been discarded. */ class ChartScheme extends sap.ui.core.Element { /** * Creates and initializes a new ChartScheme class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ChartSchemeSettings ); /** * Creates and initializes a new ChartScheme class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ChartSchemeSettings ); /** * Creates a new subclass of class sap.gantt.config.ChartScheme with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ChartScheme. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getBackgroundClass backgroundClass}. * * Decides the background color of the row in the chart scheme * * * @returns Value of property `backgroundClass` */ getBackgroundClass(): string; /** * Gets current value of property {@link #getHaveBackground haveBackground}. * * Decides whether the shape has a background * * Default value is `false`. * * * @returns Value of property `haveBackground` */ getHaveBackground(): boolean; /** * Gets current value of property {@link #getIcon icon}. * * URL of the icon of the Chart scheme * * * @returns Value of property `icon` */ getIcon(): sap.ui.core.URI; /** * Gets current value of property {@link #getKey key}. * * Unique key of the Chart scheme * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getModeKey modeKey}. * * Key of {@link sap.gantt.config.Mode} * * Default value is `sap.gantt.config.DEFAULT_MODE_KEY`. * * * @returns Value of property `modeKey` */ getModeKey(): string; /** * Gets current value of property {@link #getName name}. * * Description of the Chart scheme * * * @returns Value of property `name` */ getName(): string; /** * Gets current value of property {@link #getRowIndexName rowIndexName}. * * Decides which attribute serves as the purpose of "rowIndex" if it has multiple rows * * Default value is `"rowIndex"`. * * * @returns Value of property `rowIndexName` */ getRowIndexName(): string; /** * Gets current value of property {@link #getRowSpan rowSpan}. * * Decides the row height of {@link sap.gantt.GanttChartBase} For example, if rowSpan is 2, the row height * of the Gantt chart equals twice of the row height of the tree table * * Default value is `1`. * * * @returns Value of property `rowSpan` */ getRowSpan(): int; /** * Gets current value of property {@link #getShapeKeys shapeKeys}. * * Array of the key of {@link sap.gantt.config.Shape} * * Default value is `[]`. * * * @returns Value of property `shapeKeys` */ getShapeKeys(): string[]; /** * Sets a new value for property {@link #getBackgroundClass backgroundClass}. * * Decides the background color of the row in the chart scheme * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setBackgroundClass( /** * New value for property `backgroundClass` */ sBackgroundClass: string ): this; /** * Sets a new value for property {@link #getHaveBackground haveBackground}. * * Decides whether the shape has a background * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setHaveBackground( /** * New value for property `haveBackground` */ bHaveBackground?: boolean ): this; /** * Sets a new value for property {@link #getIcon icon}. * * URL of the icon of the Chart scheme * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setIcon( /** * New value for property `icon` */ sIcon?: sap.ui.core.URI ): this; /** * Sets a new value for property {@link #getKey key}. * * Unique key of the Chart scheme * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getModeKey modeKey}. * * Key of {@link 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`. * * * @returns Reference to `this` in order to allow method chaining */ setModeKey( /** * New value for property `modeKey` */ sModeKey?: string ): this; /** * Sets a new value for property {@link #getName name}. * * Description of the Chart scheme * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setName( /** * New value for property `name` */ sName?: string ): this; /** * Sets a new value for property {@link #getRowIndexName rowIndexName}. * * Decides which attribute serves as the purpose of "rowIndex" if it has multiple rows * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"rowIndex"`. * * * @returns Reference to `this` in order to allow method chaining */ setRowIndexName( /** * New value for property `rowIndexName` */ sRowIndexName?: string ): this; /** * Sets a new value for property {@link #getRowSpan rowSpan}. * * Decides the row height of {@link sap.gantt.GanttChartBase} For example, if rowSpan is 2, the row height * of the Gantt chart equals twice of the row height of the tree table * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setRowSpan( /** * New value for property `rowSpan` */ iRowSpan?: int ): this; /** * Sets a new value for property {@link #getShapeKeys shapeKeys}. * * Array of the key of {@link sap.gantt.config.Shape} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeKeys( /** * New value for property `shapeKeys` */ sShapeKeys?: string[] ): this; } /** * Defines the column attribute which is used in the hierarchy column * * @deprecated As of version 1.64. the concept has been discarded. */ class ColumnAttribute extends sap.ui.core.Element { /** * 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 {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ColumnAttributeSettings ); /** * 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 {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ColumnAttributeSettings ); /** * 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 {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ColumnAttribute. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getAttribute attribute}. * * Attribute name of the column * * * @returns Value of property `attribute` */ getAttribute(): string; /** * Gets current value of property {@link #getObjectTypeKey objectTypeKey}. * * Key of {@link sap.gantt.config.ObjectType} * * * @returns Value of property `objectTypeKey` */ getObjectTypeKey(): string; /** * Sets a new value for property {@link #getAttribute attribute}. * * Attribute name of the column * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setAttribute( /** * New value for property `attribute` */ sAttribute?: string ): this; /** * Sets a new value for property {@link #getObjectTypeKey objectTypeKey}. * * Key of {@link sap.gantt.config.ObjectType} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setObjectTypeKey( /** * New value for property `objectTypeKey` */ sObjectTypeKey?: string ): this; } /** * 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. * * @deprecated As of version 1.64. the concept has been discarded. */ class ContainerLayout extends sap.ui.core.Element { /** * Creates and initializes a new container layout * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ContainerLayoutSettings ); /** * Creates and initializes a new container layout * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ContainerLayoutSettings ); /** * Creates a new subclass of class sap.gantt.config.ContainerLayout with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ContainerLayout. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getActiveModeKey activeModeKey}. * * Active mode key. See {@link sap.gantt.config.Mode} * * Default value is `sap.gantt.config.DEFAULT_MODE_KEY`. * * * @returns Value of property `activeModeKey` */ getActiveModeKey(): string; /** * Gets current value of property {@link #getGanttChartLayouts ganttChartLayouts}. * * Array of the Gantt chart layout. See {@link sap.gantt.config.GanttChartLayout} We recommend that you * set the type of this argument to `sap.gantt.config.GanttChartLayout[]`. Otherwise some properties you * set may not function properly. * * Default value is `[]`. * * * @returns Value of property `ganttChartLayouts` */ getGanttChartLayouts(): object[]; /** * Gets current value of property {@link #getKey key}. * * Unique key of the container layout * * Default value is `sap.gantt.config.DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY`. * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getOrientation orientation}. * * Orientation of the Gantt chart container. See {@link sap.ui.core.Oritentation} * * Default value is `Vertical`. * * * @returns Value of property `orientation` */ getOrientation(): sap.ui.core.Orientation; /** * Gets current value of property {@link #getSelectionPanelSize selectionPanelSize}. * * CSS size of the selection panel. See {@link sap.ui.core.CSSSize} * * Default value is `"30%"`. * * * @returns Value of property `selectionPanelSize` */ getSelectionPanelSize(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getText text}. * * Default value is `...see text or source`. * * * @returns Value of property `text` */ getText(): string; /** * Gets current value of property {@link #getToolbarSchemeKey toolbarSchemeKey}. * * Toolbar scheme key. See {@link sap.gantt.config.ToolbarScheme} * * Default value is `sap.gantt.config.DEFAULT_CONTAINER_TOOLBAR_SCHEME_KEY`. * * * @returns Value of property `toolbarSchemeKey` */ getToolbarSchemeKey(): string; /** * Sets a new value for property {@link #getActiveModeKey activeModeKey}. * * Active mode key. See {@link 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`. * * * @returns Reference to `this` in order to allow method chaining */ setActiveModeKey( /** * New value for property `activeModeKey` */ sActiveModeKey?: string ): this; /** * Sets a new value for property {@link #getGanttChartLayouts ganttChartLayouts}. * * Array of the Gantt chart layout. See {@link sap.gantt.config.GanttChartLayout} We recommend that you * set the type of this argument to `sap.gantt.config.GanttChartLayout[]`. Otherwise some properties you * set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setGanttChartLayouts( /** * New value for property `ganttChartLayouts` */ sGanttChartLayouts?: object[] ): this; /** * Sets a new value for property {@link #getKey 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`. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getOrientation orientation}. * * Orientation of the Gantt chart container. See {@link 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`. * * * @returns Reference to `this` in order to allow method chaining */ setOrientation( /** * New value for property `orientation` */ sOrientation?: sap.ui.core.Orientation ): this; /** * Sets a new value for property {@link #getSelectionPanelSize selectionPanelSize}. * * CSS size of the selection panel. See {@link 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%"`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectionPanelSize( /** * New value for property `selectionPanelSize` */ sSelectionPanelSize?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getText text}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `...see text or source`. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText?: string ): this; /** * Sets a new value for property {@link #getToolbarSchemeKey toolbarSchemeKey}. * * Toolbar scheme key. See {@link 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`. * * * @returns Reference to `this` in order to allow method chaining */ setToolbarSchemeKey( /** * New value for property `toolbarSchemeKey` */ sToolbarSchemeKey?: string ): this; } /** * Defines the expand chart which is used by {@link sap.gantt.config.ExpandChartGroup}. * * @deprecated As of version 1.64. the concept has been discarded. */ class ExpandChart extends sap.ui.core.Element { /** * 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 {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ExpandChartSettings ); /** * 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 {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ExpandChartSettings ); /** * 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 {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ExpandChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getChartSchemeKeys chartSchemeKeys}. * * Array of key of {@link sap.gantt.config.ChartScheme} * * Default value is `[]`. * * * @returns Value of property `chartSchemeKeys` */ getChartSchemeKeys(): string[]; /** * Gets current value of property {@link #getIcon icon}. * * URL of the icon of the expand chart * * * @returns Value of property `icon` */ getIcon(): sap.ui.core.URI; /** * Gets current value of property {@link #getIsExpand isExpand}. * * Specifies whether the action is to expand or to collapse a row in the chart. * * * @returns Value of property `isExpand` */ getIsExpand(): boolean; /** * Sets a new value for property {@link #getChartSchemeKeys chartSchemeKeys}. * * Array of key of {@link 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 `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setChartSchemeKeys( /** * New value for property `chartSchemeKeys` */ sChartSchemeKeys?: string[] ): this; /** * Sets a new value for property {@link #getIcon 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. * * * @returns Reference to `this` in order to allow method chaining */ setIcon( /** * New value for property `icon` */ sIcon?: sap.ui.core.URI ): this; /** * Sets a new value for property {@link #getIsExpand 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. * * * @returns Reference to `this` in order to allow method chaining */ setIsExpand( /** * New value for property `isExpand` */ bIsExpand?: boolean ): this; } /** * Defines a toolbar group for the expand chart-related toolbar items. These expand chart-related toolbar * items are displayed in the Gantt chart toolbar. * * @deprecated As of version 1.64. the concept has been discarded. */ class ExpandChartGroup extends sap.gantt.config.ToolbarGroup { /** * Creates and initializes a new expand chart group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ExpandChartGroupSettings ); /** * Creates and initializes a new expand chart group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ExpandChartGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.ExpandChartGroup with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.config.ToolbarGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ExpandChartGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEnableRichType enableRichType}. * * When this property is enabled, expand button is in emphasized button type, and collapse button is in * default button type. * * * @returns Value of property `enableRichType` */ getEnableRichType(): boolean; /** * Gets current value of property {@link #getExpandCharts expandCharts}. * * Array of {@link sap.gantt.config.ExpandChart} * * Default value is `[]`. * * * @returns Value of property `expandCharts` */ getExpandCharts(): object[]; /** * Gets current value of property {@link #getShowArrowText showArrowText}. * * When this property is enabled, text arrow is shown beside icon indicating expand/collapse function * * * @returns Value of property `showArrowText` */ getShowArrowText(): boolean; /** * Sets a new value for property {@link #getEnableRichType enableRichType}. * * When this property is enabled, expand button is in emphasized button type, and collapse button is in * default button type. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setEnableRichType( /** * New value for property `enableRichType` */ bEnableRichType: boolean ): this; /** * Sets a new value for property {@link #getExpandCharts expandCharts}. * * Array of {@link sap.gantt.config.ExpandChart} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setExpandCharts( /** * New value for property `expandCharts` */ sExpandCharts?: object[] ): this; /** * Sets a new value for property {@link #getShowArrowText showArrowText}. * * When this property is enabled, text arrow is shown beside icon indicating expand/collapse function * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShowArrowText( /** * New value for property `showArrowText` */ bShowArrowText: boolean ): this; } /** * Defines the Gantt chart layout. This includes but is not limited to the CSS size, mode, and hierarchy * of the Gantt chart. * * @deprecated As of version 1.64. the concept has been discarded. */ class GanttChartLayout extends sap.ui.core.Element { /** * Creates and initializes a new Gantt chart layout * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$GanttChartLayoutSettings ); /** * Creates and initializes a new Gantt chart layout * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$GanttChartLayoutSettings ); /** * Creates a new subclass of class sap.gantt.config.GanttChartLayout with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.GanttChartLayout. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getActiveModeKey activeModeKey}. * * Key of the mode. See {@link sap.gantt.config.Mode} * * Default value is `sap.gantt.config.DEFAULT_MODE_KEY`. * * * @returns Value of property `activeModeKey` */ getActiveModeKey(): string; /** * Gets current value of property {@link #getGanttChartSize ganttChartSize}. * * CSS Size of the Gantt chart. See {@link sap.ui.core.CSSSize} * * * @returns Value of property `ganttChartSize` */ getGanttChartSize(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getHierarchyKey hierarchyKey}. * * Key of the hierarchy. See {@link sap.gantt.config.Hierarchy} * * Default value is `sap.gantt.config.DEFAULT_HIERARCHY_KEY`. * * * @returns Value of property `hierarchyKey` */ getHierarchyKey(): string; /** * Sets a new value for property {@link #getActiveModeKey activeModeKey}. * * Key of the mode. See {@link 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`. * * * @returns Reference to `this` in order to allow method chaining */ setActiveModeKey( /** * New value for property `activeModeKey` */ sActiveModeKey?: string ): this; /** * Sets a new value for property {@link #getGanttChartSize ganttChartSize}. * * CSS Size of the Gantt chart. See {@link sap.ui.core.CSSSize} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setGanttChartSize( /** * New value for property `ganttChartSize` */ sGanttChartSize?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getHierarchyKey hierarchyKey}. * * Key of the hierarchy. See {@link sap.gantt.config.Hierarchy} * * 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_HIERARCHY_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setHierarchyKey( /** * New value for property `hierarchyKey` */ sHierarchyKey?: string ): this; } /** * Defines the hierarchy in the Gantt chart. The hierarchy is used for building the tree table in {@link sap.gantt.GanttChartWithTable}. * * @deprecated As of version 1.64. the concept has been discarded. */ class Hierarchy extends sap.ui.core.Element { /** * Creates and initializes a new hierarchy * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$HierarchySettings ); /** * Creates and initializes a new hierarchy * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$HierarchySettings ); /** * Creates a new subclass of class sap.gantt.config.Hierarchy with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.Hierarchy. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getActiveModeKey activeModeKey}. * * Key of {@link sap.gantt.config.Mode} * * Default value is `sap.gantt.config.DEFAULT_MODE_KEY`. * * * @returns Value of property `activeModeKey` */ getActiveModeKey(): string; /** * Gets current value of property {@link #getColumns columns}. * * Columns of the hierarchy. Array of {@link sap.gantt.config.HierarchyColumn} * * * @returns Value of property `columns` */ getColumns(): object[]; /** * Gets current value of property {@link #getExpandedLevels expandedLevels}. * * expandedLevels determines how the tree table is initially expanded. This property is a two-dimensional * array containing object types of row data. Only rows with data of the specified object types are expanded. * Each child array represents a specific level in the hierarchy with the first child array representing * the first level and so forth. For example, if this property is set to [["02", "03"], ["05"]], rows containing * data of object types 02 or 03 in the first level and rows containing data of object type 05 in the second * level are expanded. * * @deprecated As of version 1.46.8. This feature may cause severe performance issue! Since TreeTable doesn't * have API to expand specific multiple rows in one call, GanttChart expand the tree tale to level calculated * from the configuration, then loop all data in the model, collapse the node which does not full-fill the * configuration one by one. This feature is application specific and should be handled by application. * * @returns Value of property `expandedLevels` */ getExpandedLevels(): string[][]; /** * Gets current value of property {@link #getKey key}. * * Unique key of the hierarchy * * Default value is `sap.gantt.config.DEFAULT_HIERARCHY_KEY`. * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getText text}. * * Description of the hierarchy * * Default value is `"Default Hierarchy"`. * * * @returns Value of property `text` */ getText(): string; /** * Gets current value of property {@link #getToolbarSchemeKey toolbarSchemeKey}. * * Key of {@link sap.gantt.config.ToolbarScheme} * * Default value is `sap.gantt.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEME_KEY`. * * * @returns Value of property `toolbarSchemeKey` */ getToolbarSchemeKey(): string; /** * Sets a new value for property {@link #getActiveModeKey activeModeKey}. * * Key of {@link 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`. * * * @returns Reference to `this` in order to allow method chaining */ setActiveModeKey( /** * New value for property `activeModeKey` */ sActiveModeKey?: string ): this; /** * Sets a new value for property {@link #getColumns columns}. * * Columns of the hierarchy. Array of {@link sap.gantt.config.HierarchyColumn} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setColumns( /** * New value for property `columns` */ sColumns: object[] ): this; /** * Sets a new value for property {@link #getExpandedLevels expandedLevels}. * * expandedLevels determines how the tree table is initially expanded. This property is a two-dimensional * array containing object types of row data. Only rows with data of the specified object types are expanded. * Each child array represents a specific level in the hierarchy with the first child array representing * the first level and so forth. For example, if this property is set to [["02", "03"], ["05"]], rows containing * data of object types 02 or 03 in the first level and rows containing data of object type 05 in the second * level are expanded. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @deprecated As of version 1.46.8. This feature may cause severe performance issue! Since TreeTable doesn't * have API to expand specific multiple rows in one call, GanttChart expand the tree tale to level calculated * from the configuration, then loop all data in the model, collapse the node which does not full-fill the * configuration one by one. This feature is application specific and should be handled by application. * * @returns Reference to `this` in order to allow method chaining */ setExpandedLevels( /** * New value for property `expandedLevels` */ sExpandedLevels: string[][] ): this; /** * Sets a new value for property {@link #getKey key}. * * Unique key of the hierarchy * * 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_HIERARCHY_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getText text}. * * Description of the hierarchy * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"Default Hierarchy"`. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText?: string ): this; /** * Sets a new value for property {@link #getToolbarSchemeKey toolbarSchemeKey}. * * Key of {@link 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_GANTTCHART_TOOLBAR_SCHEME_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setToolbarSchemeKey( /** * New value for property `toolbarSchemeKey` */ sToolbarSchemeKey?: string ): this; } /** * Defines the column attribute which is used in the hierarchy column * * @deprecated As of version 1.64. the concept has been discarded. */ class HierarchyColumn extends sap.ui.core.Element { /** * Creates and initializes a new hierarchy column * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$HierarchyColumnSettings ); /** * Creates and initializes a new hierarchy column * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$HierarchyColumnSettings ); /** * Creates a new subclass of class sap.gantt.config.HierarchyColumn with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.HierarchyColumn. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getAttribute attribute}. * * Attribute * * * @returns Value of property `attribute` */ getAttribute(): string; /** * Gets current value of property {@link #getAttributes attributes}. * * Attributes. Array of {@link sap.gantt.config.ColumnAttribute} optional. array of objects. new file columnAttribute * to describe object: object type, attribute * * Default value is `[]`. * * * @returns Value of property `attributes` */ getAttributes(): object[]; /** * Gets current value of property {@link #getContentType contentType}. * * Content type of the column * * * @returns Value of property `contentType` */ getContentType(): string; /** * Gets current value of property {@link #getFilterAttribute filterAttribute}. * * Specifies the attribute by which the tree table filter items in the column * * * @returns Value of property `filterAttribute` */ getFilterAttribute(): string; /** * Gets current value of property {@link #getKey key}. * * Unique key of the hierarchy column * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getSortAttribute sortAttribute}. * * Specifies the attribute by which the tree table sorts items in the column * * * @returns Value of property `sortAttribute` */ getSortAttribute(): string; /** * Gets current value of property {@link #getTitle title}. * * Title is used as the title of the column header in the tree table * * * @returns Value of property `title` */ getTitle(): string; /** * Gets current value of property {@link #getWidth width}. * * Column Width * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Sets a new value for property {@link #getAttribute attribute}. * * Attribute * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setAttribute( /** * New value for property `attribute` */ sAttribute?: string ): this; /** * Sets a new value for property {@link #getAttributes attributes}. * * Attributes. Array of {@link sap.gantt.config.ColumnAttribute} optional. array of objects. new file columnAttribute * to describe object: object type, attribute * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setAttributes( /** * New value for property `attributes` */ sAttributes?: object[] ): this; /** * Sets a new value for property {@link #getContentType contentType}. * * Content type of the column * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setContentType( /** * New value for property `contentType` */ sContentType?: string ): this; /** * Sets a new value for property {@link #getFilterAttribute filterAttribute}. * * Specifies the attribute by which the tree table filter items in the column * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFilterAttribute( /** * New value for property `filterAttribute` */ sFilterAttribute?: string ): this; /** * Sets a new value for property {@link #getKey key}. * * Unique key of the hierarchy column * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getSortAttribute sortAttribute}. * * Specifies the attribute by which the tree table sorts items in the column * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSortAttribute( /** * New value for property `sortAttribute` */ sSortAttribute?: string ): this; /** * Sets a new value for property {@link #getTitle title}. * * Title is used as the title of the column header in the tree table * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; /** * Sets a new value for property {@link #getWidth width}. * * Column Width * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth: sap.ui.core.CSSSize ): this; } /** * You can specify the Gantt chart layout-related toolbar items in the Gantt chart toolbar * * @deprecated As of version 1.64. the concept has been discarded. */ class LayoutGroup extends sap.gantt.config.ToolbarGroup { /** * Creates and initializes a new layout group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$LayoutGroupSettings ); /** * Creates and initializes a new layout group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$LayoutGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.LayoutGroup with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.config.ToolbarGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.LayoutGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEnableRichStyle enableRichStyle}. * * Determines the button type. See {@link sap.m.ButtonType} true stands for {@link sap.m.ButtonType.Emphasized } * false stands for {@link sap.m.ButtonType.Default} * * Default value is `true`. * * @deprecated As of version 1.50. the concept has been discarded. * * @returns Value of property `enableRichStyle` */ getEnableRichStyle(): boolean; /** * Sets a new value for property {@link #getEnableRichStyle enableRichStyle}. * * Determines the button type. See {@link sap.m.ButtonType} true stands for {@link sap.m.ButtonType.Emphasized } * false stands for {@link sap.m.ButtonType.Default} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @deprecated As of version 1.50. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ setEnableRichStyle( /** * New value for property `enableRichStyle` */ bEnableRichStyle?: boolean ): this; } /** * The locale control is used for converting the UTC date time to your local date time */ class Locale extends sap.ui.core.Element { /** * Creates and initializes a new Locale * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$LocaleSettings ); /** * Creates and initializes a new Locale * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$LocaleSettings ); /** * Creates a new subclass of class sap.gantt.config.Locale with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.Locale. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getDstHorizons dstHorizons}. * * Day-light saving time periods. Array of {@link sap.gantt.config.TimeHorizon} other locale info like langu, * dateFormat, timeFormat and numberFormat, please use UI5 standard configuration object. * * Default value is `[]`. * * @deprecated As of version 1.119. the concept has been discarded. * * @returns Value of property `dstHorizons` */ getDstHorizons(): object[]; /** * Gets current value of property {@link #getUtcdiff utcdiff}. * * Gap value to the UTC time in the format hhmmss * * Default value is `"000000"`. * * @deprecated As of version 1.119. the concept has been discarded. * * @returns Value of property `utcdiff` */ getUtcdiff(): string; /** * Gets current value of property {@link #getUtcsign utcsign}. * * Sign of the gap to the UTC time. Two valid values: "+" or "-". * * Default value is `"+"`. * * @deprecated As of version 1.119. the concept has been discarded. * * @returns Value of property `utcsign` */ getUtcsign(): string; /** * Sets a new value for property {@link #getDstHorizons dstHorizons}. * * Day-light saving time periods. Array of {@link sap.gantt.config.TimeHorizon} other locale info like langu, * dateFormat, timeFormat and numberFormat, please use UI5 standard configuration object. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * @deprecated As of version 1.119. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ setDstHorizons( /** * New value for property `dstHorizons` */ sDstHorizons?: object[] ): this; /** * Custom timezone for Gantt. The localization time zone is considered as the default time zone for the * locale, see {@link sap.base.i18n.Localization#getTimezone} * * * @returns returns the control for chaining */ setTimeZone( /** * Timezone to set */ sTimeZone: string, /** * flag to suppress the invalidation and by default the locale will be invalidate */ bSuppressInvalidate: boolean ): sap.gantt.config.Locale; /** * Sets a new value for property {@link #getUtcdiff utcdiff}. * * Gap value to the UTC time in the format hhmmss * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"000000"`. * * @deprecated As of version 1.119. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ setUtcdiff( /** * New value for property `utcdiff` */ sUtcdiff?: string ): this; /** * Sets a new value for property {@link #getUtcsign utcsign}. * * Sign of the gap to the UTC time. Two valid values: "+" or "-". * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"+"`. * * @deprecated As of version 1.119. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ setUtcsign( /** * New value for property `utcsign` */ sUtcsign?: string ): this; } /** * The Mode control specifies the mode which is used in GanttChart and Shape. Mode enables GanttChart to * show the same objects in different views. * * @deprecated As of version 1.64. the concept has been discarded. */ class Mode extends sap.ui.core.Element { /** * Creates and initializes a new mode * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ModeSettings ); /** * Creates and initializes a new mode * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ModeSettings ); /** * Creates a new subclass of class sap.gantt.config.Mode with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.Mode. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getActiveIcon activeIcon}. * * URL of the active icon of the mode * * * @returns Value of property `activeIcon` */ getActiveIcon(): sap.ui.core.URI; /** * Gets current value of property {@link #getIcon icon}. * * URL of the icon of the mode * * * @returns Value of property `icon` */ getIcon(): sap.ui.core.URI; /** * Gets current value of property {@link #getKey key}. * * Unique key of the mode * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getText text}. * * Description of the mode * * * @returns Value of property `text` */ getText(): string; /** * Sets a new value for property {@link #getActiveIcon 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. * * * @returns Reference to `this` in order to allow method chaining */ setActiveIcon( /** * New value for property `activeIcon` */ sActiveIcon: sap.ui.core.URI ): this; /** * Sets a new value for property {@link #getIcon 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. * * * @returns Reference to `this` in order to allow method chaining */ setIcon( /** * New value for property `icon` */ sIcon?: sap.ui.core.URI ): this; /** * Sets a new value for property {@link #getKey key}. * * Unique key of the mode * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getText text}. * * Description of the mode * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText?: string ): this; } /** * The ModeGroup control specifies the mode-related buttons in the Gantt chart toolbar * * @deprecated As of version 1.64. the concept has been discarded. */ class ModeGroup extends sap.gantt.config.ToolbarGroup { /** * Creates and initializes a new mode group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ModeGroupSettings ); /** * Creates and initializes a new mode group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ModeGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.ModeGroup with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.config.ToolbarGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ModeGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getModeKeys modeKeys}. * * Array of key of {@link sap.gantt.config.Mode} * * Default value is `[]`. * * * @returns Value of property `modeKeys` */ getModeKeys(): string[]; /** * Sets a new value for property {@link #getModeKeys modeKeys}. * * Array of key of {@link 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 `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setModeKeys( /** * New value for property `modeKeys` */ sModeKeys?: string[] ): this; } /** * Define the ObjectType which is used in GanttChart * * @deprecated As of version 1.64. the concept has been discarded. */ class ObjectType extends sap.ui.core.Element { /** * Creates and initializes a new object type * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ObjectTypeSettings ); /** * Creates and initializes a new object type * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ObjectTypeSettings ); /** * Creates a new subclass of class sap.gantt.config.ObjectType with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ObjectType. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getDescription description}. * * Description of the object type * * * @returns Value of property `description` */ getDescription(): string; /** * Gets current value of property {@link #getExpandedChartSchemeKeys expandedChartSchemeKeys}. * * Specifies the expanded chart scheme in which the the object type can be shown Array of keys of {@link sap.gantt.config.ChartScheme} * * Default value is `[]`. * * * @returns Value of property `expandedChartSchemeKeys` */ getExpandedChartSchemeKeys(): string[]; /** * Gets current value of property {@link #getKey key}. * * Unique Key of the object type * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getMainChartSchemeKey mainChartSchemeKey}. * * Specifies the chart scheme in which the the object type can be shown Key of {@link sap.gantt.config.ChartScheme} * * Default value is `sap.gantt.config.DEFAULT_MAIN_CHART_SCHEME_KEY`. * * * @returns Value of property `mainChartSchemeKey` */ getMainChartSchemeKey(): string; /** * Sets a new value for property {@link #getDescription description}. * * Description of the object type * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDescription( /** * New value for property `description` */ sDescription?: string ): this; /** * Sets a new value for property {@link #getExpandedChartSchemeKeys expandedChartSchemeKeys}. * * Specifies the expanded chart scheme in which the the object type can be shown Array of keys of {@link 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 `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setExpandedChartSchemeKeys( /** * New value for property `expandedChartSchemeKeys` */ sExpandedChartSchemeKeys?: string[] ): this; /** * Sets a new value for property {@link #getKey key}. * * Unique Key of the object type * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getMainChartSchemeKey mainChartSchemeKey}. * * Specifies the chart scheme in which the the object type can be shown Key of {@link 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 `sap.gantt.config.DEFAULT_MAIN_CHART_SCHEME_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setMainChartSchemeKey( /** * New value for property `mainChartSchemeKey` */ sMainChartSchemeKey?: string ): this; } /** * The SettingGroup control allows you to specify the number of setting items to display in the Setting * window. * * @deprecated As of version 1.64. the concept has been discarded. */ class SettingGroup extends sap.gantt.config.ToolbarGroup { /** * Creates and initializes a new setting group. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$SettingGroupSettings ); /** * Creates and initializes a new setting group. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$SettingGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.SettingGroup with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.config.ToolbarGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.SettingGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getItems items}. * * Association to the setting item. See {@link sap.gantt.config.SettingItem} We recommend that you set the * type of this argument to `sap.gantt.config.SettingItem[]`. Otherwise some properties you set may not * function properly. * * Default value is `sap.gantt.config.DEFAULT_TOOLBAR_SETTING_ITEMS`. * * * @returns Value of property `items` */ getItems(): object[]; /** * Sets a new value for property {@link #getItems items}. * * Association to the setting item. See {@link sap.gantt.config.SettingItem} We recommend that you set the * type of this argument to `sap.gantt.config.SettingItem[]`. Otherwise some properties you set may not * function properly. * * 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_TOOLBAR_SETTING_ITEMS`. * * * @returns Reference to `this` in order to allow method chaining */ setItems( /** * New value for property `items` */ sItems?: object[] ): this; } /** * The SettingItem control allows you to create a setting item in the toolbar, which is presented as a checkbox * with a label. */ class SettingItem extends sap.ui.core.Element { /** * Creates and initializes a new setting item. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$SettingItemSettings ); /** * Creates and initializes a new setting item. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$SettingItemSettings ); /** * Creates a new subclass of class sap.gantt.config.SettingItem with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.SettingItem. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getChecked checked}. * * Indicates whether the checkbox is selected or not * * Default value is `false`. * * * @returns Value of property `checked` */ getChecked(): boolean; /** * Gets current value of property {@link #getDisplayText displayText}. * * Aria label of the checkbox * * * @returns Value of property `displayText` */ getDisplayText(): string; /** * Gets current value of property {@link #getKey key}. * * Identifier of an event when the checkbox is toggled * * * @returns Value of property `key` */ getKey(): string; /** * Sets a new value for property {@link #getChecked checked}. * * Indicates whether the checkbox is selected or not * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setChecked( /** * New value for property `checked` */ bChecked?: boolean ): this; /** * Sets a new value for property {@link #getDisplayText displayText}. * * Aria label of the checkbox * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDisplayText( /** * New value for property `displayText` */ sDisplayText?: string ): this; /** * Sets a new value for property {@link #getKey key}. * * Identifier of an event when the checkbox is toggled * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; } /** * Configuration object for Shape. * * This configuration specifies the Shape class used to represent specific data and how the Shape class * is constructed. Some properties of Shape can be directly configured by setting property `shapeProperties`. * * A Shape class may come from the shape library provided in namespace `sap.gantt.shape` or from any extended * shape you've created. Shape classes are instantiated according to the structure described in this configuration * class inside `sap.gantt.Gantt`. The aggregation structure is described by properties `groupAggregation`, * `clippathAggregation`, and `selectedClassName`. * * The root shape is called 'top shape'. Some properties are only top shape relevant such as `key`, `level`, * and `selectedClassName`. * * @deprecated As of version 1.64. the concept has been discarded. */ class Shape extends sap.ui.core.Element { /** * Creates and initializes a shape configuration. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ShapeSettings ); /** * Creates and initializes a shape configuration. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ShapeSettings ); /** * Creates a new subclass of class sap.gantt.config.Shape with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.Shape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getClippathAggregation clippathAggregation}. * * Aggregation path classes for sap.gantt.shape.Clippath class. This aggregation is only valid for shape * classes with tag='clippath'. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `clippathAggregation` */ getClippathAggregation(): object[]; /** * Gets current value of property {@link #getCountInBirdEye countInBirdEye}. * * Specifies whether or not should the shape be considered into bird eye range. we suggest to set this property * to true only for shapes that really need to be considered into bird eye range. * * Default value is `false`. * * * @returns Value of property `countInBirdEye` */ getCountInBirdEye(): boolean; /** * Gets current value of property {@link #getGroupAggregation groupAggregation}. * * Aggregation shapes for sap.gantt.shape.Group class. This aggregation is only valid for shape classes * with tag='g'. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. Otherwise * some properties you set may not function properly. * * * @returns Value of property `groupAggregation` */ getGroupAggregation(): object[]; /** * Gets current value of property {@link #getKey key}. * * Primary key of the shape configuration. This property can be referenced from other configuration object, * such as `sap.gantt.config.ChartScheme`. This property is only relevant to top Shape configuration. * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getLevel level}. * * Level of shapes. Shapes closer to the top shape have a smaller value in level. This property is only * relevant to top shape configuration (non aggregated shape configuration). * * * @returns Value of property `level` */ getLevel(): string; /** * Gets current value of property {@link #getModeKeys modeKeys}. * * Specifies the key of modes in which the shape is drawn. If you leave this property empty, the shape is * drawn in all modes. * * Default value is `[]`. * * * @returns Value of property `modeKeys` */ getModeKeys(): string[]; /** * Gets current value of property {@link #getResizeShadowClassName resizeShadowClassName}. * * Aggregation class for drawing shadow when resizing this shape. If nothing is assigned to this property, * `sap.gantt.Gantt` instantiates the default shadow shape class. * * * @returns Value of property `resizeShadowClassName` */ getResizeShadowClassName(): string; /** * Gets current value of property {@link #getSelectedClassName selectedClassName}. * * Aggregation class for drawing selection of this shape. If nothing is assigned to this property, `sap.gantt.Gantt` * instantiates the default selected shape class. * * * @returns Value of property `selectedClassName` */ getSelectedClassName(): string; /** * Gets current value of property {@link #getShapeClassName shapeClassName}. * * Specifies the shape class to be used for data representation. Both shapes from `sap.gantt.shape` and * extended shapes can be used here. * * * @returns Value of property `shapeClassName` */ getShapeClassName(): string; /** * Gets current value of property {@link #getShapeDataName shapeDataName}. * * Specifies the name of the data name to be represented. This is for the top shape only. * * * @returns Value of property `shapeDataName` */ getShapeDataName(): string; /** * Gets current value of property {@link #getShapeProperties shapeProperties}. * * Pre-configured values for Shape. The values specified in this object have a higher priority than values * coded in the Shape class. * * Default value is `library.config.DEFAULT_EMPTY_OBJECT`. * * * @returns Value of property `shapeProperties` */ getShapeProperties(): object; /** * Get a pre-configured property from `shapeProperties`. * * This method together with method `hasShapeProperty` is frequently used in `sap.gantt.shape` classes * to make sure the principle of 'configuration first' is applied. . * * * @returns - Pre-configured value. */ getShapeProperty( /** * Name of the shape property. */ sPropertyName: string ): string; /** * Gets current value of property {@link #getSwitchOfCheckBox switchOfCheckBox}. * * Switch of shape's checkbox value in list legend, its value can be "noShow", "checked" and "unchecked". * * Default value is `"noShow"`. * * * @returns Value of property `switchOfCheckBox` */ getSwitchOfCheckBox(): string; /** * Checks if a property is pre-configured in `shapeProperties`. * * This method together with method `getShapeProperty()` is frequently used in `sap.gantt.shape` classes * to make sure the principle of 'configuration first' is applied. . * * * @returns - Whether the property is pre-configured. */ hasShapeProperty( /** * Name of the shape property. */ sPropertyName: string ): boolean; /** * Sets a new value for property {@link #getClippathAggregation clippathAggregation}. * * Aggregation path classes for sap.gantt.shape.Clippath class. This aggregation is only valid for shape * classes with tag='clippath'. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setClippathAggregation( /** * New value for property `clippathAggregation` */ sClippathAggregation: object[] ): this; /** * Sets a new value for property {@link #getCountInBirdEye countInBirdEye}. * * Specifies whether or not should the shape be considered into bird eye range. we suggest to set this property * to true only for shapes that really need to be considered into bird eye range. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setCountInBirdEye( /** * New value for property `countInBirdEye` */ bCountInBirdEye?: boolean ): this; /** * Sets a new value for property {@link #getGroupAggregation groupAggregation}. * * Aggregation shapes for sap.gantt.shape.Group class. This aggregation is only valid for shape classes * with tag='g'. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. Otherwise * some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setGroupAggregation( /** * New value for property `groupAggregation` */ sGroupAggregation: object[] ): this; /** * Sets a new value for property {@link #getKey key}. * * Primary key of the shape configuration. This property can be referenced from other configuration object, * such as `sap.gantt.config.ChartScheme`. This property is only relevant to top Shape configuration. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getLevel level}. * * Level of shapes. Shapes closer to the top shape have a smaller value in level. This property is only * relevant to top shape configuration (non aggregated shape configuration). * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setLevel( /** * New value for property `level` */ sLevel?: string ): this; /** * Sets a new value for property {@link #getModeKeys modeKeys}. * * Specifies the key of modes in which the shape is drawn. If you leave this property empty, the shape is * drawn in all modes. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setModeKeys( /** * New value for property `modeKeys` */ sModeKeys?: string[] ): this; /** * Sets a new value for property {@link #getResizeShadowClassName resizeShadowClassName}. * * Aggregation class for drawing shadow when resizing this shape. If nothing is assigned to this property, * `sap.gantt.Gantt` instantiates the default shadow shape class. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setResizeShadowClassName( /** * New value for property `resizeShadowClassName` */ sResizeShadowClassName?: string ): this; /** * Sets a new value for property {@link #getSelectedClassName selectedClassName}. * * Aggregation class for drawing selection of this shape. If nothing is assigned to this property, `sap.gantt.Gantt` * instantiates the default selected shape class. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedClassName( /** * New value for property `selectedClassName` */ sSelectedClassName?: string ): this; /** * Sets a new value for property {@link #getShapeClassName shapeClassName}. * * Specifies the shape class to be used for data representation. Both shapes from `sap.gantt.shape` and * extended shapes can be used here. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShapeClassName( /** * New value for property `shapeClassName` */ sShapeClassName?: string ): this; /** * Sets a new value for property {@link #getShapeDataName shapeDataName}. * * Specifies the name of the data name to be represented. This is for the top shape only. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShapeDataName( /** * New value for property `shapeDataName` */ sShapeDataName?: string ): this; /** * Sets a new value for property {@link #getShapeProperties shapeProperties}. * * Pre-configured values for Shape. The values specified in this object have a higher priority than values * coded in the Shape class. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_EMPTY_OBJECT`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeProperties( /** * New value for property `shapeProperties` */ oShapeProperties?: object ): this; /** * Sets a new value for property {@link #getSwitchOfCheckBox switchOfCheckBox}. * * Switch of shape's checkbox value in list legend, its value can be "noShow", "checked" and "unchecked". * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"noShow"`. * * * @returns Reference to `this` in order to allow method chaining */ setSwitchOfCheckBox( /** * New value for property `switchOfCheckBox` */ sSwitchOfCheckBox?: string ): this; } /** * Defines the time axis of a Gantt chart * * @deprecated As of version 1.44. replaced by sap.gantt.axistime.AxisTimeStrategy */ class TimeAxis extends sap.ui.core.Element { /** * Creates and initializes a new time axis * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$TimeAxisSettings ); /** * Creates and initializes a new time axis * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$TimeAxisSettings ); /** * Creates a new subclass of class sap.gantt.config.TimeAxis with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.TimeAxis. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getCoarsestGranularity coarsestGranularity}. * * Granularity when the GanttChart is zoomed out to the minimum * * Default value is `"1month"`. * * * @returns Value of property `coarsestGranularity` */ getCoarsestGranularity(): string; /** * Gets current value of property {@link #getFinestGranularity finestGranularity}. * * Granularity when the Gantt chart is zoomed in to the maximum * * Default value is `"5min"`. * * * @returns Value of property `finestGranularity` */ getFinestGranularity(): string; /** * Gets current value of property {@link #getGranularity granularity}. * * Initial granularity of the time axis * * Default value is `"4day"`. * * * @returns Value of property `granularity` */ getGranularity(): string; /** * Gets current value of property {@link #getInitHorizon initHorizon}. * * Time horizon which is displayed after the Gantt chart is initialized We recommend that you set the type * of this argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function * properly. * * Default value is `sap.gantt.config.DEFAULT_INIT_HORIZON`. * * * @returns Value of property `initHorizon` */ getInitHorizon(): object; /** * Gets current value of property {@link #getPlanHorizon planHorizon}. * * Whole time horizon of the Gantt chart We recommend that you set the type of this argument to `sap.gantt.config.TimeHorizon`. * Otherwise some properties you set may not function properly. * * Default value is `sap.gantt.config.DEFAULT_PLAN_HORIZON`. * * * @returns Value of property `planHorizon` */ getPlanHorizon(): object; /** * Gets current value of property {@link #getRate rate}. * * Zoom rate of the Gantt chart * * Default value is `1`. * * * @returns Value of property `rate` */ getRate(): float; /** * Gets current value of property {@link #getZoomStrategy zoomStrategy}. * * Zoom strategy of the Gantt chart * * {@see sap.gantt.axistime.AxisTimeStrategy} * * Default value is `sap.gantt.config.DEFAULT_TIME_ZOOM_STRATEGY`. * * * @returns Value of property `zoomStrategy` */ getZoomStrategy(): object; /** * Sets a new value for property {@link #getCoarsestGranularity coarsestGranularity}. * * Granularity when the GanttChart is zoomed out to the minimum * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"1month"`. * * * @returns Reference to `this` in order to allow method chaining */ setCoarsestGranularity( /** * New value for property `coarsestGranularity` */ sCoarsestGranularity?: string ): this; /** * Sets a new value for property {@link #getFinestGranularity finestGranularity}. * * Granularity when the Gantt chart is zoomed in to the maximum * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"5min"`. * * * @returns Reference to `this` in order to allow method chaining */ setFinestGranularity( /** * New value for property `finestGranularity` */ sFinestGranularity?: string ): this; /** * Sets a new value for property {@link #getGranularity granularity}. * * Initial granularity of the time axis * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"4day"`. * * * @returns Reference to `this` in order to allow method chaining */ setGranularity( /** * New value for property `granularity` */ sGranularity?: string ): this; /** * Sets a new value for property {@link #getInitHorizon initHorizon}. * * Time horizon which is displayed after the Gantt chart is initialized We recommend that you set the type * of this argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function * properly. * * 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_INIT_HORIZON`. * * * @returns Reference to `this` in order to allow method chaining */ setInitHorizon( /** * New value for property `initHorizon` */ oInitHorizon?: object ): this; /** * Sets a new value for property {@link #getPlanHorizon planHorizon}. * * Whole time horizon of the Gantt chart We recommend that you set the type of this argument to `sap.gantt.config.TimeHorizon`. * Otherwise some properties you set may not function properly. * * 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_PLAN_HORIZON`. * * * @returns Reference to `this` in order to allow method chaining */ setPlanHorizon( /** * New value for property `planHorizon` */ oPlanHorizon?: object ): this; /** * Sets a new value for property {@link #getRate rate}. * * Zoom rate of the Gantt chart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setRate( /** * New value for property `rate` */ fRate?: float ): this; /** * Sets a new value for property {@link #getZoomStrategy zoomStrategy}. * * Zoom strategy of the Gantt chart * * {@see sap.gantt.axistime.AxisTimeStrategy} * * 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_TIME_ZOOM_STRATEGY`. * * * @returns Reference to `this` in order to allow method chaining */ setZoomStrategy( /** * New value for property `zoomStrategy` */ oZoomStrategy?: object ): this; } /** * Defines the Time horizon */ class TimeHorizon extends sap.ui.core.Element { /** * Creates and initializes a new Time horizon * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * =Initial settings for the new control */ mSettings?: sap.gantt.config.$TimeHorizonSettings ); /** * Creates and initializes a new Time horizon * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * =Initial settings for the new control */ mSettings?: sap.gantt.config.$TimeHorizonSettings ); /** * Creates a new subclass of class sap.gantt.config.TimeHorizon with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.TimeHorizon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Compares two time horizons. * * * @returns True if both horizons are equal. */ equals( /** * Time horizon to compare. */ oTimeHorizon: undefined ): boolean; /** * Gets current value of property {@link #getEndTime endTime}. * * End time of the time horizon in this format: YYYYMMDDHHMMSS. If the type of `endTime` is `Object`, the * value is converted to a string. **Note:** Modifying this property does not invalidate the control. * * Default value is `undefined`. * * * @returns Value of property `endTime` */ getEndTime(): string; /** * Gets current value of property {@link #getStartTime startTime}. * * Start time of the time horizon in this format: YYYYMMDDHHMMSS. If the type of `startTime` is `Object`, * the value is converted to a string. **Note:** Modifying this property does not invalidate the control. * * Default value is `undefined`. * * * @returns Value of property `startTime` */ getStartTime(): string; /** * Sets a new value for property {@link #getEndTime endTime}. * * End time of the time horizon in this format: YYYYMMDDHHMMSS. If the type of `endTime` is `Object`, the * value is converted to a string. **Note:** Modifying this property does not invalidate the control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `undefined`. * * * @returns Reference to `this` in order to allow method chaining */ setEndTime( /** * New value for property `endTime` */ sEndTime?: string ): this; /** * Sets a new value for property {@link #getStartTime startTime}. * * Start time of the time horizon in this format: YYYYMMDDHHMMSS. If the type of `startTime` is `Object`, * the value is converted to a string. **Note:** Modifying this property does not invalidate the control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `undefined`. * * * @returns Reference to `this` in order to allow method chaining */ setStartTime( /** * New value for property `startTime` */ sStartTime?: string ): this; } /** * You can define time zooming related toolbar items in the Gantt chart toolbar. * * @deprecated As of version 1.64. the concept has been discarded. */ class TimeZoomGroup extends sap.gantt.config.ToolbarGroup { /** * Creates and initializes a new time zoom group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$TimeZoomGroupSettings ); /** * Creates and initializes a new time zoom group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$TimeZoomGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.TimeZoomGroup with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.config.ToolbarGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.TimeZoomGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getInfoOfSelectItems infoOfSelectItems}. * * Array of plain objects which has "key" and "text" properties, or array of sap.ui.core.Item used to configure * the items in the Select control when the zoom control type is sap.gantt.config.ZoomControlType.Select. * * * @returns Value of property `infoOfSelectItems` */ getInfoOfSelectItems(): object[]; /** * Gets current value of property {@link #getShowZoomButtons showZoomButtons}. * * Enables zoom in and zoom out buttons for the time zooming function. * * Default value is `true`. * * @deprecated As of version 1.44. replaced by zoomControlType * * @returns Value of property `showZoomButtons` */ getShowZoomButtons(): boolean; /** * Gets current value of property {@link #getShowZoomSlider showZoomSlider}. * * Enables the Slider control for the time zooming function. * * Default value is `true`. * * @deprecated As of version 1.44. replaced by zoomControlType * * @returns Value of property `showZoomSlider` */ getShowZoomSlider(): boolean; /** * Gets current value of property {@link #getStepCountOfSlider stepCountOfSlider}. * * Sets the step when the zoom control type is sap.gantt.config.ZoomControlType.SliderWithButtons or sap.gantt.config.ZoomControlType.SliderOnly. * * Default value is `10`. * * * @returns Value of property `stepCountOfSlider` */ getStepCountOfSlider(): int; /** * Gets current value of property {@link #getZoomControlType zoomControlType}. * * Defines the control type to set the zoom rate. * * Default value is `SliderWithButtons`. * * * @returns Value of property `zoomControlType` */ getZoomControlType(): sap.gantt.config.ZoomControlType; /** * Sets a new value for property {@link #getInfoOfSelectItems infoOfSelectItems}. * * Array of plain objects which has "key" and "text" properties, or array of sap.ui.core.Item used to configure * the items in the Select control when the zoom control type is sap.gantt.config.ZoomControlType.Select. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setInfoOfSelectItems( /** * New value for property `infoOfSelectItems` */ sInfoOfSelectItems: object[] ): this; /** * Sets a new value for property {@link #getShowZoomButtons showZoomButtons}. * * Enables zoom in and zoom out buttons for the time zooming function. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @deprecated As of version 1.44. replaced by zoomControlType * * @returns Reference to `this` in order to allow method chaining */ setShowZoomButtons( /** * New value for property `showZoomButtons` */ bShowZoomButtons?: boolean ): this; /** * Sets a new value for property {@link #getShowZoomSlider showZoomSlider}. * * Enables the Slider control for the time zooming function. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @deprecated As of version 1.44. replaced by zoomControlType * * @returns Reference to `this` in order to allow method chaining */ setShowZoomSlider( /** * New value for property `showZoomSlider` */ bShowZoomSlider?: boolean ): this; /** * Sets a new value for property {@link #getStepCountOfSlider stepCountOfSlider}. * * Sets the step when the zoom control type is sap.gantt.config.ZoomControlType.SliderWithButtons or sap.gantt.config.ZoomControlType.SliderOnly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setStepCountOfSlider( /** * New value for property `stepCountOfSlider` */ iStepCountOfSlider?: int ): this; /** * Sets a new value for property {@link #getZoomControlType zoomControlType}. * * Defines the control type to set the zoom rate. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `SliderWithButtons`. * * * @returns Reference to `this` in order to allow method chaining */ setZoomControlType( /** * New value for property `zoomControlType` */ sZoomControlType?: sap.gantt.config.ZoomControlType ): this; } /** * Defines the toolbar group. Toolbar groups enables you to categorize related toolbar items. For example, * you can put all settings-related toolbar items in the Setting group. * * @deprecated As of version 1.64. the concept has been discarded. */ class ToolbarGroup extends sap.ui.core.Element { /** * Creates and initializes a new toolbar group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ToolbarGroupSettings ); /** * Creates and initializes a new toolbar group * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ToolbarGroupSettings ); /** * Creates a new subclass of class sap.gantt.config.ToolbarGroup with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ToolbarGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getButtonType buttonType}. * * Type of a button in the toolbar group if it's a button * * Default value is `Default`. * * * @returns Value of property `buttonType` */ getButtonType(): sap.m.ButtonType; /** * Gets current value of property {@link #getOverflowPriority overflowPriority}. * * Overflow priority. See {@link sap.m.OverflowToolbarPriority} * * Default value is `Low`. * * * @returns Value of property `overflowPriority` */ getOverflowPriority(): sap.m.OverflowToolbarPriority; /** * Gets current value of property {@link #getPosition position}. * * Specifies the position of the toolbar group. Note that all toolbar groups must be put into the Gantt * chart toolbar. * * * @returns Value of property `position` */ getPosition(): string; /** * Sets a new value for property {@link #getButtonType buttonType}. * * Type of a button in the toolbar group if it's a button * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Default`. * * * @returns Reference to `this` in order to allow method chaining */ setButtonType( /** * New value for property `buttonType` */ sButtonType?: sap.m.ButtonType ): this; /** * Sets a new value for property {@link #getOverflowPriority overflowPriority}. * * Overflow priority. See {@link sap.m.OverflowToolbarPriority} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Low`. * * * @returns Reference to `this` in order to allow method chaining */ setOverflowPriority( /** * New value for property `overflowPriority` */ sOverflowPriority?: sap.m.OverflowToolbarPriority ): this; /** * Sets a new value for property {@link #getPosition position}. * * Specifies the position of the toolbar group. Note that all toolbar groups must be put into the Gantt * chart toolbar. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setPosition( /** * New value for property `position` */ sPosition?: string ): this; } /** * Defines the Toolbar scheme * * @deprecated As of version 1.64. the concept has been discarded. */ class ToolbarScheme extends sap.ui.core.Element { /** * Creates and initializes a new toolbar scheme * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ToolbarSchemeSettings ); /** * Creates and initializes a new toolbar scheme * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.config.$ToolbarSchemeSettings ); /** * Creates a new subclass of class sap.gantt.config.ToolbarScheme with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.config.ToolbarScheme. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getBirdEye birdEye}. * * Toolbar group for bird eye We recommend that you set the type of this argument to `sap.gantt.config.BirdEyeGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `birdEye` */ getBirdEye(): object; /** * Gets current value of property {@link #getCustomToolbarItems customToolbarItems}. * * Toolbar group for custom toolbar items We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `customToolbarItems` */ getCustomToolbarItems(): object; /** * Gets current value of property {@link #getExpandChart expandChart}. * * Toolbar group for expanding a chart We recommend that you set the type of this argument to `sap.gantt.config.ExpandChartGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `expandChart` */ getExpandChart(): object; /** * Gets current value of property {@link #getExpandTree expandTree}. * * Toolbar group for expanding nodes of a tree table We recommend that you set the type of this argument * to `sap.gantt.config.ToolbarGroup`. Otherwise some properties you set may not function properly. * * * @returns Value of property `expandTree` */ getExpandTree(): object; /** * Gets current value of property {@link #getKey key}. * * Unique key of the toolbar scheme * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getLayout layout}. * * Toolbar group for the Gantt chart layout We recommend that you set the type of this argument to `sap.gantt.config.LayoutGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `layout` */ getLayout(): object; /** * Gets current value of property {@link #getLegend legend}. * * Toolbar group for legend We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `legend` */ getLegend(): object; /** * Gets current value of property {@link #getMode mode}. * * See {@link sap.gantt.config.ModeGroup} We recommend that you set the type of this argument to `sap.gantt.config.ModeGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `mode` */ getMode(): object; /** * Gets current value of property {@link #getSettings settings}. * * See {@link sap.gantt.config.SettingGroup} We recommend that you set the type of this argument to `sap.gantt.config.SettingGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `settings` */ getSettings(): object; /** * Gets current value of property {@link #getSourceSelect sourceSelect}. * * Toolbar group for selecting a source We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `sourceSelect` */ getSourceSelect(): object; /** * Gets current value of property {@link #getTimeZoom timeZoom}. * * Toolbar group for the time zoom We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `timeZoom` */ getTimeZoom(): object; /** * Gets current value of property {@link #getToolbarDesign toolbarDesign}. * * Toolbar design. See {@link sap.m.ToolbarDesign} * * Default value is `sap.m.ToolbarDesign.Auto`. * * * @returns Value of property `toolbarDesign` */ getToolbarDesign(): string; /** * Sets a new value for property {@link #getBirdEye birdEye}. * * Toolbar group for bird eye We recommend that you set the type of this argument to `sap.gantt.config.BirdEyeGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setBirdEye( /** * New value for property `birdEye` */ oBirdEye?: object ): this; /** * Sets a new value for property {@link #getCustomToolbarItems customToolbarItems}. * * Toolbar group for custom toolbar items We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCustomToolbarItems( /** * New value for property `customToolbarItems` */ oCustomToolbarItems?: object ): this; /** * Sets a new value for property {@link #getExpandChart expandChart}. * * Toolbar group for expanding a chart We recommend that you set the type of this argument to `sap.gantt.config.ExpandChartGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setExpandChart( /** * New value for property `expandChart` */ oExpandChart?: object ): this; /** * Sets a new value for property {@link #getExpandTree expandTree}. * * Toolbar group for expanding nodes of a tree table We recommend that you set the type of this argument * to `sap.gantt.config.ToolbarGroup`. Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setExpandTree( /** * New value for property `expandTree` */ oExpandTree?: object ): this; /** * Sets a new value for property {@link #getKey key}. * * Unique key of the toolbar scheme * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getLayout layout}. * * Toolbar group for the Gantt chart layout We recommend that you set the type of this argument to `sap.gantt.config.LayoutGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setLayout( /** * New value for property `layout` */ oLayout?: object ): this; /** * Sets a new value for property {@link #getLegend legend}. * * Toolbar group for legend We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setLegend( /** * New value for property `legend` */ oLegend?: object ): this; /** * Sets a new value for property {@link #getMode mode}. * * See {@link sap.gantt.config.ModeGroup} We recommend that you set the type of this argument to `sap.gantt.config.ModeGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setMode( /** * New value for property `mode` */ oMode?: object ): this; /** * Sets a new value for property {@link #getSettings settings}. * * See {@link sap.gantt.config.SettingGroup} We recommend that you set the type of this argument to `sap.gantt.config.SettingGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSettings( /** * New value for property `settings` */ oSettings?: object ): this; /** * Sets a new value for property {@link #getSourceSelect sourceSelect}. * * Toolbar group for selecting a source We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSourceSelect( /** * New value for property `sourceSelect` */ oSourceSelect?: object ): this; /** * Sets a new value for property {@link #getTimeZoom timeZoom}. * * Toolbar group for the time zoom We recommend that you set the type of this argument to `sap.gantt.config.ToolbarGroup`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeZoom( /** * New value for property `timeZoom` */ oTimeZoom?: object ): this; /** * Sets a new value for property {@link #getToolbarDesign toolbarDesign}. * * Toolbar design. See {@link sap.m.ToolbarDesign} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `sap.m.ToolbarDesign.Auto`. * * * @returns Reference to `this` in order to allow method chaining */ setToolbarDesign( /** * New value for property `toolbarDesign` */ sToolbarDesign?: string ): this; } /** * Define the range of data that bird eye would use to calculate visibleHorizon * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'config.BirdEyeRange'. */ enum BirdEyeRange { /** * Bird eye will calculate visibleHorizon based on all rows of current view, but this mode may cause low * performance. Using this bird eye range, the result is not influenced by vertical scroll bar position * as the total rows never changes. */ AllRows = "AllRows", /** * Bird eye will calculate visibleHorizon based on row data only in visible rows. Using this bird eye range, * the result can be influenced by vertical scroll bar position as visible rows may change with the movement * of the vertical scroll bar position. */ VisibleRows = "VisibleRows", } /** * Defines the control where find and select search box will appear * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'config.FindMode'. */ enum FindMode { /** * Find and select search box will appear on container toolbar as well as search side panel User can toggle * between toolbar and side panel using "find popup" button and "side panel" button respectively */ Both = "Both", /** * Find and select search box will appear only on the search side panel */ SidePanel = "SidePanel", /** * Find and select search box will appear only on the container toolbar */ Toolbar = "Toolbar", } /** * Different time units used as part of the zoom level. They are names of d3 time unit classes. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'config.TimeUnit'. */ enum TimeUnit { /** * Time unit of day. */ day = "d3.time.day", /** * Time unit of hour. */ hour = "d3.time.hour", /** * Time unit of millisecond. * * @since 1.123 */ millisecond = "sap.gantt.polyfills.time.timeMillisecond", /** * Time unit of minute. */ minute = "d3.time.minute", /** * Time unit of month. */ month = "d3.time.month", /** * Time unit of second. * * @since 1.123 */ second = "d3.time.second", /** * Time unit of week. */ week = "d3.time.week", /** * Time unit of year. */ year = "d3.time.year", } /** * Define the type of zoom control in global tool bar * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'config.ZoomControlType'. */ enum ZoomControlType { /** * Uses the ButtonsOnly control to modify the time zoom rate. The SliderOnly control only consists of zoom * in and zoom out buttons. */ ButtonsOnly = "ButtonsOnly", /** * Display no zoom control */ None = "None", /** * Uses the Select control to modify the time zoom rate. The Select control consists of a drop down list * to select a suitable zoom rate. */ Select = "Select", /** * Uses the SliderOnly control to modify the time zoom rate. The SliderOnly control only consists of a slider. */ SliderOnly = "SliderOnly", /** * Uses the SliderWithButtons control to modify the time zoom rate. The SliderWithButtons control consists * of zoom in and zoom out magnifier buttons and a slider. */ SliderWithButtons = "SliderWithButtons", } } /** * Namespace `sap.gantt.palette` provides color palette definitions for standard shapes. * * @since 1.69 */ namespace palette { /** * Accent colors: sapUiAccent1-sapUiAccent10 * * @since 1.69 */ export const AccentColors: any[]; /** * Legend colors: sapUiLegend1-sapUiLegend20 * * @since 1.69 */ export const LegendColors: any[]; /** * Semantic colors: * - `sapUiNegativeText` - Negative (warning) * - `sapUiCriticalText` - Critical (alert) * - `sapUiPositiveText` - Positive (success) * - `sapUiInformativeText` - Informative (information) * - `sapUiNeutralText` - Neutral (no level) * * @since 1.69 */ export const SemanticColors: string[]; } /** * The `sap.gantt.shape` namespace. * * This namespace provides the following configuration related features: * - A base class `sap.gantt.shape.Shape` is provided directly in this namespace * - A default selection shape class `sap.gantt.shape.SelectedShape` is provided directly in this namespace * * - All basic shapes corresponding to SVG tag are provided directly in this namespace * - Extended shapes from tag shapes are provided in sub-namespace `ext` * - Special calendar shape, which should be used in combination with the calendar paint server, is provided * in sub-namespace`cal` */ namespace shape { namespace cal { /** * Describes the settings that can be provided to the Calendar constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $CalendarSettings extends sap.gantt.shape.$RectangleSettings { isBulk?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; enableSelection?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; calendarName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Calendar shape. * * The Calendar shape must be used in combination with Calendar def class {@link sap.gantt.def.cal.Calendar } * which draws SVG 'defs' tag. * * @deprecated As of version 1.64. the concept has been discarded. */ class Calendar extends sap.gantt.shape.Rectangle { /** * Creates a Calendar shape which consumes pattern from Calendar in 'def' package. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.cal.$CalendarSettings ); /** * Creates a Calendar shape which consumes pattern from Calendar in 'def' package. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.cal.$CalendarSettings ); /** * Creates a new subclass of class sap.gantt.shape.cal.Calendar with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Rectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.cal.Calendar. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `calendarName`. * * Calendar key. * * This property is used to generate referencing string to compose the `fill` property. This property is * must provided. * * * @returns Value of property `calendarName`. */ getCalendarName( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets current value of property `enableSelection`. * * General recommendation is don't configure or code against this property. Calendar is treated as a bulk * shape filled with pattern occupying visible chart area. Application should implement their own shape * if a select able calendar is expected. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `fill`. * * General recommendation is don't configure or code against this property. Calendar is treated as a bulk * shape filled with pattern occupying visible chart area. Application should implement their own shape * if a select able calendar is expected. * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `height`. * * General recommendation is don't configure or code against this property. Calendar is treated as a bulk * shape filled with pattern occupying visible chart area. Application should implement their own shape * if a select able calendar is expected. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets current value of property `isBulk`. * * General recommendation is don't configure or code against this property. * * * @returns Value of property `isBulk`. */ getIsBulk( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `width`. * * General recommendation is don't configure or code against this property. Calendar is treated as a bulk * shape filled with pattern occupying visible chart area. Application should implement their own shape * if a select able calendar is expected. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets current value of property `x`. * * General recommendation is don't configure or code against this property. Calendar is treated as a bulk * shape filled with pattern occupying visible chart area. Application should implement their own shape * if a select able calendar is expected. * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets current value of property `y`. * * General recommendation is don't configure or code against this property. Calendar is treated as a bulk * shape filled with pattern occupying visible chart area. Application should implement their own shape * if a select able calendar is expected. * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getCalendarName calendarName}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"nwt"`. * * * @returns Reference to `this` in order to allow method chaining */ setCalendarName( /** * New value for property `calendarName` */ sCalendarName?: string ): this; /** * Sets a new value for property {@link #getEnableSelection enableSelection}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableSelection( /** * New value for property `enableSelection` */ bEnableSelection?: boolean ): this; /** * Sets a new value for property {@link #getIsBulk isBulk}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsBulk( /** * New value for property `isBulk` */ bIsBulk?: boolean ): this; } } namespace ext { namespace rls { /** * Describes the settings that can be provided to the Relationship constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.Relationship}. */ interface $RelationshipSettings extends sap.gantt.shape.$PathSettings { /** * CSS class name of the relationship shape */ htmlClass?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Category name */ category?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Indicates whether the shape is a closed path */ isClosed?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Indicates whether the width of the polygon represents the duration of time */ isDuration?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Line color of the relationship shape */ stroke?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Fill color of the relationship shape (the color of the arrow and the square at the ends) */ fill?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Relationship type */ type?: | sap.gantt.shape.ext.rls.RelationshipType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Path of predecessor element */ fromObjectPath?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Expand row index of predecessor element */ fromExpandRowIndex?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Shape of predecessor element */ fromShapeId?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Data of predecessor element */ fromDataId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Path of successor element */ toObjectPath?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Expand row index of successor element */ toExpandRowIndex?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Shape of successor element */ toShapeId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Data of successor element */ toDataId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Indicates whether the start point (square) of the relationship shape is visible */ showStart?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Indicates whether the end point (arrow) of the relationship shape is visible */ showEnd?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Indicates whether an 'L' shape is used for the finish-to-start type */ lShapeforTypeFS?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Minimum length for relationship lines */ minXLen?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Size of the arrow */ arrowSideLength?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; selectedShape?: sap.gantt.shape.ext.rls.SelectedRelationship; } /** * Describes the settings that can be provided to the SelectedRelationship constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $SelectedRelationshipSettings extends sap.gantt.shape.ext.rls.$RelationshipSettings { /** * Line color of the relationship. */ stroke?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Width of the relationship line. */ strokeWidth?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Enables users to visualize the relationship between elements. * * Four types of relationships are supported and L-shaped lines are supported for the finish-to-start * type. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.Relationship}. */ class Relationship extends sap.gantt.shape.Path { /** * Creates and initializes a Relationship object * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.rls.$RelationshipSettings ); /** * Creates and initializes a Relationship object * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.rls.$RelationshipSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.rls.Relationship with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.rls.Relationship >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.rls.Relationship. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Destroys the selectedShape in the aggregation {@link #getSelectedShape selectedShape}. * * * @returns Reference to `this` in order to allow method chaining */ destroySelectedShape(): this; /** * Gets current value of property {@link #getArrowSideLength arrowSideLength}. * * Size of the arrow * * Default value is `5`. * * * @returns Value of property `arrowSideLength` */ getArrowSideLength(): float; /** * Gets current value of property {@link #getCategory category}. * * Category name * * Default value is `sap.gantt.shape.ShapeCategory.Relationship`. * * * @returns Value of property `category` */ getCategory(): string; /** * Gets current value of property {@link #getFill fill}. * * Fill color of the relationship shape (the color of the arrow and the square at the ends) * * Default value is `"#000000"`. * * * @returns Value of property `fill` */ getFill(): string; /** * Gets the data of the predecessor element * * * @returns Data of predecessor */ getFromDataId( /** * Raw data object */ oData: object ): string; /** * Gets the expand row index of predecessor object * * * @returns Expand row index of predecessor element */ getFromExpandRowIndex( /** * Raw data object */ oData: object ): int; /** * Gets the path of predecessor object * * * @returns Path of predecessor element */ getFromObjectPath( /** * Raw data object */ oData: object ): string; /** * Gets the shape ID of the predecessor element * * * @returns Shape ID of the predecessor element */ getFromShapeId( /** * Raw data object */ oData: object ): string; /** * Gets the CSS class of the relationship shape * * * @returns CSS class name of the relationship shape */ getHtmlClass( /** * Raw data object */ oData: object ): string; /** * Gets current value of property {@link #getIsClosed isClosed}. * * Indicates whether the shape is a closed path * * Default value is `true`. * * * @returns Value of property `isClosed` */ getIsClosed(): boolean; /** * Gets current value of property {@link #getIsDuration isDuration}. * * Indicates whether the width of the polygon represents the duration of time * * Default value is `false`. * * * @returns Value of property `isDuration` */ getIsDuration(): boolean; /** * Gets the'L' shape switch * * * @returns 'L' shape configuration (whether the system uses L-shaped lines to represent finish-start relationships) */ getLShapeforTypeFS( /** * Raw data object */ oData: object ): boolean; /** * Gets current value of property {@link #getMinXLen minXLen}. * * Minimum length for relationship lines * * Default value is `10`. * * * @returns Value of property `minXLen` */ getMinXLen(): float; /** * Gets content of aggregation {@link #getSelectedShape selectedShape}. */ getSelectedShape(): sap.gantt.shape.ext.rls.SelectedRelationship; /** * Gets whether the end shape is visible * * * @returns End shape configuration (whether the end shape is visible */ getShowEnd( /** * Raw data object */ oData: object ): boolean; /** * Gets whether the start shape is visible * * * @returns Start shape configuration (whether the start shape is visible) */ getShowStart( /** * Raw data object */ oData: object ): boolean; /** * Gets current value of property {@link #getStroke stroke}. * * Line color of the relationship shape * * Default value is `"#000000"`. * * * @returns Value of property `stroke` */ getStroke(): string; /** * Gets the data of the successor element * * * @returns Data of the successor element */ getToDataId( /** * Raw data object */ oData: object ): string; /** * Gets the expand row index of successor object * * * @returns Expand row index of successor element */ getToExpandRowIndex( /** * Raw data object */ oData: object ): int; /** * Gets the path of the successor element * * * @returns Path of the successor element */ getToObjectPath( /** * Raw data object */ oData: object ): string; /** * Gets the shape ID of the successor element * * * @returns Shape ID of the successor element */ getToShapeId( /** * Raw data object */ oData: object ): string; /** * Gets the relationship type * * * @returns The type number (from 0 to 3) */ getType( /** * Raw data object */ oData: object ): number; /** * Sets a new value for property {@link #getArrowSideLength arrowSideLength}. * * Size of the arrow * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setArrowSideLength( /** * New value for property `arrowSideLength` */ fArrowSideLength?: float ): this; /** * Sets a new value for property {@link #getCategory category}. * * Category name * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `sap.gantt.shape.ShapeCategory.Relationship`. * * * @returns Reference to `this` in order to allow method chaining */ setCategory( /** * New value for property `category` */ sCategory?: string ): this; /** * Sets a new value for property {@link #getFill fill}. * * Fill color of the relationship shape (the color of the arrow and the square at the ends) * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"#000000"`. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill?: string ): this; /** * Sets a new value for property {@link #getFromDataId fromDataId}. * * Data of predecessor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFromDataId( /** * New value for property `fromDataId` */ sFromDataId: string ): this; /** * Sets a new value for property {@link #getFromExpandRowIndex fromExpandRowIndex}. * * Expand row index of predecessor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setFromExpandRowIndex( /** * New value for property `fromExpandRowIndex` */ iFromExpandRowIndex?: int ): this; /** * Sets a new value for property {@link #getFromObjectPath fromObjectPath}. * * Path of predecessor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFromObjectPath( /** * New value for property `fromObjectPath` */ sFromObjectPath: string ): this; /** * Sets a new value for property {@link #getFromShapeId fromShapeId}. * * Shape of predecessor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFromShapeId( /** * New value for property `fromShapeId` */ sFromShapeId: string ): this; /** * Sets a new value for property {@link #getHtmlClass htmlClass}. * * CSS class name of the relationship shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"relationshipLine"`. * * * @returns Reference to `this` in order to allow method chaining */ setHtmlClass( /** * New value for property `htmlClass` */ sHtmlClass?: string ): this; /** * Sets a new value for property {@link #getIsClosed isClosed}. * * Indicates whether the shape is a closed path * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsClosed( /** * New value for property `isClosed` */ bIsClosed?: boolean ): this; /** * Sets a new value for property {@link #getIsDuration isDuration}. * * Indicates whether the width of the polygon represents the duration of time * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setIsDuration( /** * New value for property `isDuration` */ bIsDuration?: boolean ): this; /** * Sets a new value for property {@link #getLShapeforTypeFS lShapeforTypeFS}. * * Indicates whether an 'L' shape is used for the finish-to-start type * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setLShapeforTypeFS( /** * New value for property `lShapeforTypeFS` */ bLShapeforTypeFS?: boolean ): this; /** * Sets a new value for property {@link #getMinXLen minXLen}. * * Minimum length for relationship lines * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setMinXLen( /** * New value for property `minXLen` */ fMinXLen?: float ): this; /** * Sets the aggregated {@link #getSelectedShape selectedShape}. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedShape( /** * The selectedShape to set */ oSelectedShape: sap.gantt.shape.ext.rls.SelectedRelationship ): this; /** * Sets a new value for property {@link #getShowEnd showEnd}. * * Indicates whether the end point (arrow) of the relationship shape is visible * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowEnd( /** * New value for property `showEnd` */ bShowEnd?: boolean ): this; /** * Sets a new value for property {@link #getShowStart showStart}. * * Indicates whether the start point (square) of the relationship shape is visible * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowStart( /** * New value for property `showStart` */ bShowStart?: boolean ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Line color of the relationship shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"#000000"`. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke?: string ): this; /** * Sets a new value for property {@link #getToDataId toDataId}. * * Data of successor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setToDataId( /** * New value for property `toDataId` */ sToDataId: string ): this; /** * Sets a new value for property {@link #getToExpandRowIndex toExpandRowIndex}. * * Expand row index of successor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setToExpandRowIndex( /** * New value for property `toExpandRowIndex` */ iToExpandRowIndex?: int ): this; /** * Sets a new value for property {@link #getToObjectPath toObjectPath}. * * Path of successor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setToObjectPath( /** * New value for property `toObjectPath` */ sToObjectPath: string ): this; /** * Sets a new value for property {@link #getToShapeId toShapeId}. * * Shape of successor element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setToShapeId( /** * New value for property `toShapeId` */ sToShapeId: string ): this; /** * Sets a new value for property {@link #getType type}. * * Relationship type * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `FinishToFinish`. * * * @returns Reference to `this` in order to allow method chaining */ setType( /** * New value for property `type` */ sType?: sap.gantt.shape.ext.rls.RelationshipType ): this; } /** * Provides an implementation of shape for drawing relationships with red and wider lines when they * are selected. * * @deprecated As of version 1.64. the concept has been discarded. */ class SelectedRelationship extends sap.gantt.shape.ext.rls .Relationship { /** * Creates and initializes a SelectedRelationship object * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.rls.$SelectedRelationshipSettings ); /** * Creates and initializes a SelectedRelationship object * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.rls.$SelectedRelationshipSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.rls.SelectedRelationship with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.rls.Relationship.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.rls.SelectedRelationship >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.rls.SelectedRelationship. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of `fill`. * * See {@link sap.gantt.shape.Shape#getFill} for a detailed description of `fill`. * * * @returns Hard coded value: "red". */ getFill( /** * Shape data. */ oData?: object ): string; /** * Do not use! This method only exists for type compatibility reasons and always returns 0. * * @deprecated As of version 1.90.0. the concept has been discarded. * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object ): number; /** * Gets the value of `stroke`. * * See {@link sap.gantt.shape.Shape#getStroke} for a detailed description of `stroke`. * * * @returns Hard coded value: "red". */ getStroke( /** * Shape data. */ oData?: object ): string; /** * Gets the value of `strokeWidth`. * * See {@link sap.gantt.shape.Shape#getStrokeWidth} for a detailed description of `strokeWidth`. * * * @returns Hard coded value: 2. */ getStrokeWidth( /** * Shape data. */ oData: object ): int; /** * Do not use! This method only exists for type compatibility reasons and does nothing. * * @deprecated As of version 1.90.0. the concept has been discarded. * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns this to allow method chaining */ setHeight( /** * the height */ height: number ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Line color of the relationship. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: string ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * Width of the relationship line. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ iStrokeWidth: int ): this; } /** * Type of relationships * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'shape.ext.rls.RelationshipType'. */ enum RelationshipType { /** * Finish to finish type. */ FinishToFinish = "FinishToFinish", /** * Finish to start type. */ FinishToStart = "FinishToStart", /** * Start to finish type. */ StartToFinish = "StartToFinish", /** * Start to start type. */ StartToStart = "StartToStart", } } namespace ubc { /** * Describes the settings that can be provided to the UbcBorderPath constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcBorderPathSettings extends sap.gantt.shape.$PathSettings {} /** * Describes the settings that can be provided to the UbcOverCapacityZonePolygon constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcOverCapacityZonePolygonSettings extends sap.gantt.shape.ext.ubc.$UbcPolygonSettings {} /** * Describes the settings that can be provided to the UbcPolygon constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcPolygonSettings extends sap.gantt.shape.$PolygonSettings {} /** * Describes the settings that can be provided to the UbcShortageCapacityPolygon constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcShortageCapacityPolygonSettings extends sap.gantt.shape.ext.ubc.$UbcPolygonSettings {} /** * Describes the settings that can be provided to the UbcTooltipRectangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcTooltipRectangleSettings extends sap.gantt.shape.$RectangleSettings {} /** * Describes the settings that can be provided to the UbcUnderCapacityZonePolygon constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcUnderCapacityZonePolygonSettings extends sap.gantt.shape.ext.ubc.$UbcPolygonSettings {} /** * Describes the settings that can be provided to the UbcUsedPolygon constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UbcUsedPolygonSettings extends sap.gantt.shape.ext.ubc.$UbcPolygonSettings {} /** * Describes the settings that can be provided to the UtilizationBarChart constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UtilizationBarChartSettings extends sap.gantt.shape.$GroupSettings {} /** * This shape is used to represent a planned capacity line. * * Graphic Effect is: * * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UbcBorderPath extends sap.gantt.shape.Path { /** * Creates and initializes a fragment of the Utilization Bar Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Path#constructor sap.gantt.shape.Path } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcBorderPathSettings ); /** * Creates and initializes a fragment of the Utilization Bar Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Path#constructor sap.gantt.shape.Path } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcBorderPathSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcBorderPath with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UbcBorderPath >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcBorderPath. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * d attribute of the path element. * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `enableSelection`. * * This property determines whether a shape is enabled for a selection behavior. The default value for * a Utilization Line Chart is false. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:**You can provide stroke with HTML colors and the URL reference * to a paint server can be provided. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "blue". * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. The default value is 0.3. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to represent the background of an over capacity zone. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UbcOverCapacityZonePolygon extends sap.gantt.shape.ext.ubc .UbcPolygon { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcOverCapacityZonePolygonSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcOverCapacityZonePolygonSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon with name `sClassName` * and enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ubc.UbcPolygon.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide fill with HTML colors and the URL reference * to a paint server. Paint server definitions can be retrieved from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. The default value of 'fill' is * the URL reference. * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `points`. * * points attribute of the polygon element. The value of 'points' is calculated by the coordinates of * four vertices of a visible area. * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** You can provide stroke with HTML colors and the URL reference * to a paint server. Paint server definitions can be retrieved from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. The default value is * "#CAC7BA". * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. The default value is 0.3. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * Base class for ` sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon`, ` sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon`, * ` sap.gantt.shape.ext.ubc.UbcShortagePolygon`, ` sap.gantt.shape.ext.ubc.UbcUsedPolygon`. * * This base class defines a number of shared methods. * * @deprecated As of version 1.64. the concept has been discarded. */ abstract class UbcPolygon extends sap.gantt.shape.Polygon { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Polygon#constructor sap.gantt.shape.Polygon } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcPolygonSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Polygon#constructor sap.gantt.shape.Polygon } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcPolygonSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcPolygon with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Polygon.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcPolygon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `enableSelection`. * * This property determines whether a shape is enabled for a selection behavior. The default value for * a Utilization Line Chart is false. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; } /** * This shape is used to represent a shortage capacity area. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UbcShortageCapacityPolygon extends sap.gantt.shape.ext.ubc .UbcPolygon { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcShortageCapacityPolygonSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcShortageCapacityPolygonSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon with name `sClassName` * and enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ubc.UbcPolygon.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide the fill attribute with HTML colors and * the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "#FF0000". * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `points`. * * points attribute of polygon element. The value of 'points' is calculated by using the coordinates * of all points for the shortage capacity area. * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** HTML color and url reference to paint server can be provided * to stroke. Paint server definitions usually comes from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. The default value is "#CAC7BA". * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. The default value is 0.3. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to represent an invisible rectangle with tooltips. Note that a tooltip appears only * when the title tag is specified on the rectangle. * * Graphic Effect is: * * Capacity: * 50 * Required Capacity: 65 Capacity: 45 * Required Capacity: 10 * Capacity: * 65 * Required Capacity: 75 Capacity: 75 * Required Capacity: 35 * Capacity: * 55 * Required Capacity: 55 Capacity: 55 * Required Capacity: 75 * * * @deprecated As of version 1.64. the concept has been discarded. */ class UbcTooltipRectangle extends sap.gantt.shape.Rectangle { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Rectangle#constructor sap.gantt.shape.Rectangle } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcTooltipRectangleSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Rectangle#constructor sap.gantt.shape.Rectangle } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcTooltipRectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcTooltipRectangle with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Rectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UbcTooltipRectangle >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcTooltipRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `enableSelection`. * * This property determines whether a shape is enabled for a selection behavior. The default value for * the Utilization Line Chart is false. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `fillOpacity`. * * Standard SVG 'fill-Opacity' attribute. The value of fillOpacity for a rectangle with tooltips must * be 0. The default value is 0. * * * @returns Value of property `fillOpacity`. */ getFillOpacity( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `height`. * * Height of a rectangle. The default value is the height of the row minus 1px, which is the * width of stroke. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `strokeOpacity`. * * Standard SVG 'stroke-Opacity' attribute. The value of strokeOpacity for a rectangle with tooltips * must be 0. The default value is 0. * * * @returns Value of property `strokeOpacity`. */ getStrokeOpacity( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo?: object ): number; /** * Gets the value of property `title`. * * A title is visualized as a tooltip in web browsers. **Notes:** Use character entities to perform simple * text tabbing and breaking. (Use " " for tab and " * " for break.) * * * @returns Value of property `title`. */ getTitle( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `width`. * * Width of a rectangle. * * Your application should not configure this value. Instead, the getter calculates the width by using property * `start_date` and property `end_date`. If your application overwrites the getter by configuration or code, * accurate results cannot be guaranteed. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `x`. * * x coordinate of the top-left point of a rectangle. * * Your application should not configure this value. Instead, the getter calculates the value of x by using * property `start_date`. * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `y`. * * y coordinate of the top-left point of a rectangle. * * Your application should not configure this value. Instead, the getter calculates the value of y by using * parameter `oRowInfo`. The default value is the y coordinate of the top-left point of the row. * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to represent an unplanned capacity area. * * Graphic Effect is: * * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UbcUnderCapacityZonePolygon extends sap.gantt.shape.ext.ubc .UbcPolygon { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcUnderCapacityZonePolygonSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcUnderCapacityZonePolygonSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon with name `sClassName` * and enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ubc.UbcPolygon.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide the fill attribute with HTML colors and * the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "#40d44c". * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `points`. * * points attribute of the polygon element. The value of 'points' is calculated by using the coordinates * of all points of the unplanned capacity area. * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; } /** * This shape is used to represent a healthy planned capacity area. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UbcUsedPolygon extends sap.gantt.shape.ext.ubc.UbcPolygon { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcUsedPolygonSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ubc.UbcPolygon#constructor sap.gantt.shape.ext.ubc.UbcPolygon } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UbcUsedPolygonSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcUsedPolygon with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ubc.UbcPolygon.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UbcUsedPolygon >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcUsedPolygon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide the fill attribute with HTML colors and * the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "#CAC7BA". * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `points`. * * points attribute of polygon element. The value of 'points' is calculated by using the coordinates * of all points for the healthy planned capacity area. * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; } /** * UBC is a complex shape. This class is the outer container with tag='g'. All fragments are aggregated * into this container. You can remove a fragment from the container if your application does not need it. * * The container has six aggregations: * - {@link sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon}(used to represent the OverCapacity Zone * area), * - {@link sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon}(used to represent the Unplanned Capacity * area), * - {@link sap.gantt.shape.ext.ubc.UbcShortageCapacityPolygon}(used to the draw Shortage area), * - {@link sap.gantt.shape.ext.ubc.UbcUsedPolygon}(used to represent the HealthyPlanned Capacity area), * * - {@link sap.gantt.shape.ext.ubc.UbcBorderPath}(used to represent the planned capacity line), * - {@link sap.gantt.shape.ext.ubc.UbcTooltipRectangle}(used to represent a rectangle with invisible * tooltips for each period of capacity change). * * A super class ` sap.gantt.shape.ext.ubc.UbcPolygon` is abstracted because the four polygons in this * container (UbcOverCapacityZonePolygon, UbcUnderCapacityZonePolygon, UbcShortageCapacityPolygon, and UbcUsedPolygon) * share similar logic. * * Graphic Effect is: * * Capacity: 50 * Required Capacity: 65 Capacity: 45 * Required Capacity: 10 Capacity: 65 * Required Capacity: 75 * Capacity: 75 * Required Capacity: 35 * Capacity: 55 * Required Capacity: 55 * Capacity: 55 * Required Capacity: 75 * OverCapacity Zone * Planned Capacity * Shortage HealthyPlanned * Capacity UnPlanned * Capacity * * An example of the structure of data to feed utilization bar chart: * ` { bc_capacity: { id: "capacity_0", period: [ { start_date: "20160123000000", supply: "9", demand: * "7" },{ start_date: "20160127093400", supply: "8", demand: "8" } ] }, bc_tooltip: [ { start_date: "20160123000000", * supply: "9", demand: "7", end_date: "20160127093400" },{ start_date: "20160127093400", supply: "8", demand: * "8", start_date: "20160203134520" } ] } ` * * @deprecated As of version 1.64. the concept has been discarded. */ class UtilizationBarChart extends sap.gantt.shape.Group { /** * Creates and initializes a new Utilization Bar Chart (UBC) container class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Group#constructor sap.gantt.shape.Group } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UtilizationBarChartSettings ); /** * Creates and initializes a new Utilization Bar Chart (UBC) container class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Group#constructor sap.gantt.shape.Group } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ubc.$UtilizationBarChartSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ubc.UtilizationBarChart with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Group.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ubc.UtilizationBarChart >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ubc.UtilizationBarChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `enableSelection`. * * This property determines whether a shape is enabled for selection behavior. The default value for * the Utilization Line Chart is false. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; } } namespace ulc { /** * Describes the settings that can be provided to the UlcBorderPath constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcBorderPathSettings extends sap.gantt.shape.$PathSettings {} /** * Describes the settings that can be provided to the UlcClipingPath constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcClipingPathSettings extends sap.gantt.shape.$PathSettings {} /** * Describes the settings that can be provided to the UlcClipPath constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcClipPathSettings extends sap.gantt.shape.$ClipPathSettings {} /** * Describes the settings that can be provided to the UlcDimension constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcDimensionSettings extends sap.gantt.shape.$GroupSettings {} /** * Describes the settings that can be provided to the UlcMiddleLine constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcMiddleLineSettings extends sap.gantt.shape.$LineSettings {} /** * Describes the settings that can be provided to the UlcOverCapacityZoneRectangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcOverCapacityZoneRectangleSettings extends sap.gantt.shape.ext.ulc.$UlcRectangleSettings {} /** * Describes the settings that can be provided to the UlcOverClipRectangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcOverClipRectangleSettings extends sap.gantt.shape.ext.ulc.$UlcRectangleSettings {} /** * Describes the settings that can be provided to the UlcRectangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcRectangleSettings extends sap.gantt.shape.$RectangleSettings {} /** * Describes the settings that can be provided to the UlcTooltipRectangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcTooltipRectangleSettings extends sap.gantt.shape.ext.ulc.$UlcRectangleSettings {} /** * Describes the settings that can be provided to the UlcUnderClipRectangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UlcUnderClipRectangleSettings extends sap.gantt.shape.ext.ulc.$UlcRectangleSettings {} /** * Describes the settings that can be provided to the UtilizationLineChart constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $UtilizationLineChartSettings extends sap.gantt.shape.$ShapeSettings {} /** * This shape is used to draw dimension lines. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcBorderPath extends sap.gantt.shape.Path { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Path#constructor sap.gantt.shape.Path } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcBorderPathSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Path#constructor sap.gantt.shape.Path } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcBorderPathSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcBorderPath with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcBorderPath >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcBorderPath. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * 'd' attribute of the path element. The 'd' attribute has powerful usages. * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** You can provide stroke with HTML colors and URL references * to paint servers. Paint server definitions usually comes from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. The default value is 1. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to define path data inside {@link sap.gantt.shape.ext.ulc.UlcClipPath}. * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcClipingPath extends sap.gantt.shape.Path { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Path#constructor sap.gantt.shape.Path } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcClipingPathSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Path#constructor sap.gantt.shape.Path } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcClipingPathSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcClipingPath with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcClipingPath >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcClipingPath. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * 'd' attribute of path element. The 'd' attribute has powerful usages. * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; } /** * This shape is a container of {@link sap.gantt.shape.ext.ulc.UlcClipingPath}. * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcClipPath extends sap.gantt.shape.ClipPath { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ClipPath#constructor sap.gantt.shape.ClipPath } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcClipPathSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ClipPath#constructor sap.gantt.shape.ClipPath } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcClipPathSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcClipPath with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ClipPath.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcClipPath >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcClipPath. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `htmlClass`. * * Customized HTML classes. To provide multiple classes, separate them using space. Note that each UlcClipPath * must have a unique HTML class or a unique set of HTML classes. The 'clip-path' property of UlcOverClipRectangle * and UlcUnderClipRectangle identifies HTML classes. * * * @returns Value of property `htmlClass`. */ getHtmlClass( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; } /** * This shape is a container for {@link sap.gantt.shape.ext.ulc.UlcBorderPath}, {@link sap.gantt.shape.ext.ulc.UlcOverClipRectangle}, * {@link sap.gantt.shape.ext.ulc.UlcUnderClipRectangle}, {@link sap.gantt.shape.ext.ulc.UlcClipPath}, {@link sap.gantt.shape.ext.ulc.UlcClipingPath}. * * For each dimension, it has two colors, one is OverCapacity and the other is UnderCapacity. When the * `UlcClipPath` of a dimension and `UlcOverClipRectangle` overlap, which means the utilization rate is * above 100%, the overlapped part will be colored by OverCapacity. The overlapped part of `UlcClipPath` * and `UlcUnderClipRectangle` is colored by UnderCapacity. * * `UlcClipingPath` is aggregated in `UlcClipPath`. `UlcClipingPath` and `UlcBorderPath` share the same * value of property 'd'. `UlcBorderPath` is used to visualize the dimension line. * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcDimension extends sap.gantt.shape.Group { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Group#constructor sap.gantt.shape.Group } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcDimensionSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Group#constructor sap.gantt.shape.Group } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcDimensionSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcDimension with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Group.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcDimension >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcDimension. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; } /** * This shape is used to draw a middle line, which indicates the position of 50%. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcMiddleLine extends sap.gantt.shape.Line { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Line#constructor sap.gantt.shape.Line } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcMiddleLineSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Line#constructor sap.gantt.shape.Line } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcMiddleLineSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcMiddleLine with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Line.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcMiddleLine >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcMiddleLine. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** You can provide the stroke with HTML colors and the URL * reference to a paint server. Paint server definitions can be retrieved from paint servers rendered by * {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "#CAC7BA". * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeDasharray`. * * Standard SVG 'stroke-dasharray' attribute. The default value is "5,5". * * * @returns Value of property `strokeDasharray`. */ getStrokeDasharray( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. The default value is 1. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `x1`. * * x coordinate of the start of the line. * * Usually an application does not configure this value. Instead, the getter calculates the value of x1 * by using the view boundary for the visible area in the Gantt Chart. * * * @returns Value of property `x1`. */ getX1( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `x2`. * * x coordinate of the end of the line. * * Usually an application does not configure this value. Instead, the getter calculates the value of 'x2' * by using the view boundary's terminal point, which is filtered by the visible area in a Gantt Chart. * * * * * @returns Value of property `x2`. */ getX2( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `y1`. * * y coordinate of the start of the line. * * At the top of each row, a certain amount of space (in the shape of a rectangular frame) is reserved for * over capacity area. You can use 'maxVisibleRatio' in 'shapeConfig' to specify the amount of area to reserve. * With the reserved area deducted from a row, the height of the middle line is set to 50% of the row height. * * * * @returns Value of property `y1`. */ getY1( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `y2`. * * y coordinate of the end of the line. * * y2 shares the same value with y1. * * * @returns Value of property `y2`. */ getY2( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; } /** * This shape is used to draw the over capacity zone background. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcOverCapacityZoneRectangle extends sap.gantt.shape.ext.ulc .UlcRectangle { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcOverCapacityZoneRectangleSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcOverCapacityZoneRectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcOverCapacityZoneRectangle with name `sClassName` * and enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ulc.UlcRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcOverCapacityZoneRectangle >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcOverCapacityZoneRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide `fill` property with the HTML colors and * the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value of 'fill' is a URL reference. * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** HTML colors and url reference to paint server can be provided * to stroke. Paint server definitions usually comes from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. The default value is "#CAC7BA". * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. The default value is 0. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to draw the over clipping rectangle. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcOverClipRectangle extends sap.gantt.shape.ext.ulc .UlcRectangle { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcOverClipRectangleSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcOverClipRectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcOverClipRectangle with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ulc.UlcRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcOverClipRectangle >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcOverClipRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `clipPath`. * * Standard SVG 'clippath' attribute. * * The referred ID must be consistent with the HTML class generated by `UlcClipPath`. * * * @returns Value of property `clipPath`. */ getClipPath( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide the `fill` property with HTML colors and * the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "#FF0000". * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; } /** * Base class for {@link sap.gantt.shape.ext.ulc.UlcOverCapacityZoneRectangle}, {@link sap.gantt.shape.ext.ulc.UlcOverClipRectangle}, * {@link sap.gantt.shape.ext.ulc.UlcUnderClipRectangle}, {@link sap.gantt.shape.ext.ulc.UlcTooltipRectangle}. * * This base class defines a number of shared methods. * * @deprecated As of version 1.64. the concept has been discarded. */ abstract class UlcRectangle extends sap.gantt.shape.Rectangle { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Rectangle#constructor sap.gantt.shape.Rectangle } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcRectangleSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Rectangle#constructor sap.gantt.shape.Rectangle } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcRectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcRectangle with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Rectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcRectangle >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `height`. * * Height of the rectangle. The default value of height is calculated by the over capacity rectangle. * * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `width`. * * Width of the rectangle. * * Usually an application does not configure this value. Instead, the getter calculates the value of width * by using the view boundary for the visible area in a Gantt Chart. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `x`. * * x coordinate of the rectangle left-top point. * * Usually an application does not configure this value. Instead, the getter calculates the value of x by * using the view boundary for the visible area in a Gantt Chart. * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `y`. * * y coordinate of a rectangle left-top point. * * Usually application does not configure this value. Instead getter calculates the value of y using parameter * `oRowInfo`. The default value is y coordinate of the top-left point of the row. * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to create invisible rectangles with tooltips enabled by tag 'title'. * * Graphic Effect is: * * dimention1: 0-150% * dimention2: 0-110% * dimention1: * 150% * dimention2: 110% dimention1: 150%-70% * dimention2: 110%-105% * dimention1: * 70% * dimention2: 105% dimention1: 70%-0 * dimention2: 105%-0 * * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcTooltipRectangle extends sap.gantt.shape.ext.ulc .UlcRectangle { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcTooltipRectangleSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcTooltipRectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcTooltipRectangle with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ulc.UlcRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcTooltipRectangle >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcTooltipRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `fillOpacity`. * * Standard SVG 'fill-Opacity' attribute. The value of fillOpacity for tooltip rectangles must be 0. * * * * @returns Value of property `fillOpacity`. */ getFillOpacity( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `height`. * * Height of the rectangle. The default value is the height of the row. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `strokeOpacity`. * * Standard SVG 'stroke-Opacity' attribute. The value of strokeOpacity for tooltip rectangles must be * 0. * * * @returns Value of property `strokeOpacity`. */ getStrokeOpacity( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo?: object ): number; /** * Gets the value of property `title`. * * Title is visualized as a tooltip by browsers. **Notes:** Use character entities to perform simple text * tabbing and breaking. (Use " " for tab and " * " for break.) * * * @returns Value of property `title`. */ getTitle( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `width`. * * Width of the rectangle. * * Usually an application does not configure this value. Instead, the getter calculates value of width by * using the `from` and `to` properties. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `x`. * * x coordinate of the rectangle left-top point. * * Usually an application does not configure this value. Instead, the getter calculates the value of x by * using property `from`. * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * This shape is used to draw the under clipping rectangle. * * Graphic Effect is: * * * * @deprecated As of version 1.64. the concept has been discarded. */ class UlcUnderClipRectangle extends sap.gantt.shape.ext.ulc .UlcRectangle { /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcUnderClipRectangleSettings ); /** * Creates and initializes a fragment of the Utilization Line Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.ext.ulc.UlcRectangle#constructor sap.gantt.shape.ext.ulc.UlcRectangle } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UlcUnderClipRectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UlcUnderClipRectangle with name `sClassName` * and enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.ext.ulc.UlcRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UlcUnderClipRectangle >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UlcUnderClipRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `clipPath`. * * Standard SVG 'clippath' attribute. * * The referred ID must be consistent with the html class generated by `UlcClipPath`. * * * @returns Value of property `clipPath`. */ getClipPath( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** You can provide the `fill` property with HTML colors and * the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered * by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * The default value is "#F2F2F2". * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `fillOpacity`. * * Standard SVG 'fill-Opacity' attribute. The default value is 0.3. * * * @returns Value of property `fillOpacity`. */ getFillOpacity( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `height`. * * Height of the rectangle. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `strokeOpacity`. * * Standard SVG 'stroke-Opacity' attribute. The default value is 0.3. * * * @returns Value of property `strokeOpacity`. */ getStrokeOpacity( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo?: object ): number; /** * Gets the value of property `y`. * * y coordinate of the rectangle left-top point. * * * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; } /** * ULC is a complex shape. This class is the outer container with tag='g'. All fragments are aggregated * into this container. You can remove a fragment from the container if your application does not need it. * * The container has four aggregations: * - {@link sap.gantt.shape.ext.ulc.UlcMiddleLine}(used to draw a middle line, which indicates the position * of 50% utilization rate), * - {@link sap.gantt.shape.ext.ulc.UlcOverCapacityZoneRectangle}(used to draw over capacity Zone), * - {@link sap.gantt.shape.ext.ulc.UlcDimension}(used to draw Dimensions, OverCapacityClipping, and UnderCapacityClipping), * * - {@link sap.gantt.shape.ext.ulc.UlcTooltipRectangle}(used to draw invisible tooltip rectangles for * each period of capacity change). * * Each dimension consists of `UlcOverClipRectangle`, `UlcUnderClipRectangle`, `UlcClipPath`, and `UlcBorderPath`. * `UlcClipingPath` is aggregated in `UlcClipPath`. * * A super class `sap.gantt.shape.ext.ulc.UlcRectangle` is abstracted because the other four rectangles(UlcOverCapacityZoneRectangle, * UlcOverClipRectangle, UlcUnderClipRectangle, and UlcTooltipRectangle) share similar logic. * * Graphic Effect is: * * dimention1: * 0-150% * dimention2: 0-110% dimention1: * 150% * dimention2: 110% dimention1: * 150%-70% * dimention2: 110%-105% dimention1: * 70% * dimention2: 105% dimention1: * 70%-0 * dimention2: 105%-0 >100% Zone OverCapacityClipping * <100% Zone 50% * UnderCapacityClipping Dimensions * * * An example for the structure of data to feed utilization chart: * ` { order: [{ id: "ulc_0", util: [ { dimension: "util_volumn", values:[ { from: "20160123000000", to: * "20160123000000", firstOne: true, value: 0 }, { from: "20160124071000", to: "20160124071000", value: * 97.6 }, { from: "20160124071000", to: "20160127051300", firstOne: true, value: 97.6 },{ from: "20160127051300", * to: "20160127051300", value: 97.6 },{ from: "20160128093312", to: "20160128093312", lastOne: true, value: * 0 } ] },{ dimension: "util_mass", values:[ { from: "20160123000000", to: "20160123000000", firstOne: * true, value: 0 } { from: "20160124071000", to: "20160124071000", value: 114.5 }, { from: "20160124071000", * to: "20160127051300", value: 114.5 },{ from: "20160127051300", to: "20160127051300", value: 114.5 },{ * from: "20160128093312", to: "20160128093312", lastOne: true, value: 0 } ] } ] }], tooltip: [ { from: * "20160123000000", to: "20160124071000", firstOne: true, util_volumn: { previous: 0, next: 97.6 }, util_mass:{ * previous: 0, next: 114.5 } },{ from: "20160124071000", to: "20160127051300", util_volumn: { val: 97.6 * }, util_mass:{ val: 114.5 } },{ from: "20160127051300", to: "20160128093312", lastOne: true, util_volumn: * { previous: 97.6, next: 0 }, util_mass:{ previous: 114.5, next: 0 } } ] } ` * * @deprecated As of version 1.64. the concept has been discarded. */ class UtilizationLineChart extends sap.gantt.shape.Shape { /** * Creates and initializes a new Utilization Line Chart container class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Shape#constructor sap.gantt.shape.Shape } * can be used. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UtilizationLineChartSettings ); /** * Creates and initializes a new Utilization Line Chart container class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.shape.Shape#constructor sap.gantt.shape.Shape } * can be used. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.ulc.$UtilizationLineChartSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.ulc.UtilizationLineChart with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.shape.ext.ulc.UtilizationLineChart >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.ulc.UtilizationLineChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `enableSelection`. * * This value controls whether a shape is enabled for selection behavior. The default value for Utilization * Line Chart is false. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; } } /** * Describes the settings that can be provided to the Chevron constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseChevron}. */ interface $ChevronSettings extends sap.gantt.shape.$PathSettings { isClosed?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; isDuration?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; headLength?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; tailLength?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; height?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Cursor constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseCursor}. */ interface $CursorSettings extends sap.gantt.shape.$PathSettings { isClosed?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; length?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; width?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; pointHeight?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Diamond constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseDiamong}. */ interface $DiamondSettings extends sap.gantt.shape.$PathSettings { isClosed?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; verticalDiagonal?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; horizontalDiagonal?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Iconfont constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $IconfontSettings extends sap.gantt.shape.$TextSettings { name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; collectionName?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Pentangle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $PentangleSettings extends sap.gantt.shape.$PolygonSettings { radius?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; radius2?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the TextRepeat constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $TextRepeatSettings extends sap.gantt.shape.$DefinitionsSettings { childTagName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; x?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; y?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; width?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; height?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; dx?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; dy?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; fontSize?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; fontFamily?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Triangle constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseTriangle}. */ interface $TriangleSettings extends sap.gantt.shape.$PathSettings { isClosed?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; base?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; height?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; distanceOfyAxisHeight?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Chevron shape class using SVG tag 'path'. It's usually used to represent a duration of time. * * The following SVG image shows how the properties are designed: * * time endTime rotation Center * height tailLength headLength * * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseChevron}. */ class Chevron extends sap.gantt.shape.Path { /** * Creates and initializes a new Chevron class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$ChevronSettings ); /** * Creates and initializes a new Chevron class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$ChevronSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.Chevron with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.Chevron. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * d attribute of the path element. * * Your application should not configure this value. Instead, the getter calculates the value of d by using * property `time`, `endTime`, `tailLength`, `headLength`, and `height`. * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `headLength`. * * Head length of a chevron shape. * * This property influences property `d`. * * * @returns Value of property `headLength`. */ getHeadLength( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `height`. * * Height of a chevron shape. * * This property influences property `d`. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `isClosed`. * * * @returns Value of property `isClosed`. */ getIsClosed( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `isDuration`. * * * @returns Value of property `isDuration`. */ getIsDuration( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `tailLength`. * * Tail length of a chevron shape. * * This property influences property `d`. * * * @returns Value of property `tailLength`. */ getTailLength( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getHeadLength headLength}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setHeadLength( /** * New value for property `headLength` */ fHeadLength?: float ): this; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `15`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ fHeight?: float ): this; /** * Sets a new value for property {@link #getIsClosed isClosed}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsClosed( /** * New value for property `isClosed` */ bIsClosed?: boolean ): this; /** * Sets a new value for property {@link #getIsDuration isDuration}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsDuration( /** * New value for property `isDuration` */ bIsDuration?: boolean ): this; /** * Sets a new value for property {@link #getTailLength tailLength}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setTailLength( /** * New value for property `tailLength` */ fTailLength?: float ): this; } /** * Cursor shape class using SVG tag 'path'. It's usually treated as a transient shape. * * The following SVG image shows how the properties are designed: * * * time * rotation Center * length width * point Height * * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseCursor}. */ class Cursor extends sap.gantt.shape.Path { /** * Creates and initializes a new Cursor class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$CursorSettings ); /** * Creates and initializes a new Cursor class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$CursorSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.Cursor with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.Cursor. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * d attribute of the path element. * * Your application should not configure this value. Instead, the getter calculates the value of d by using * properties `length`, `width`, and `pointHeight`. The value of these properties can be retrieved using * the corresponding getters (getLength, getWidth, and getPointHeight). * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `isClosed`. * * * @returns Value of property `isClosed`. */ getIsClosed( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `length`. * * Length of a cursor. * * This property influences property `d`. * * * @returns Value of property `length`. */ getLength( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `pointHeight`. * * Point height of a cursor. * * This property influences property `d`. * * * @returns Value of property `pointHeight`. */ getPointHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `width`. * * Width of a cursor. * * This property influences property `d`. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getIsClosed isClosed}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsClosed( /** * New value for property `isClosed` */ bIsClosed?: boolean ): this; /** * Sets a new value for property {@link #getLength length}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setLength( /** * New value for property `length` */ fLength?: float ): this; /** * Sets a new value for property {@link #getPointHeight pointHeight}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setPointHeight( /** * New value for property `pointHeight` */ fPointHeight?: float ): this; /** * Sets a new value for property {@link #getWidth width}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ fWidth?: float ): this; } /** * Diamond shape class using SVG tag 'path'. It's usually treated as transient shape. * * The following SVG image shows how the properties are designed: * * * time rotation Center horizontalDiagonal vertitalDiagonal * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseDiamong}. */ class Diamond extends sap.gantt.shape.Path { /** * Creates and initializes a new Diamond class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$DiamondSettings ); /** * Creates and initializes a new Diamond class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$DiamondSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.Diamond with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.Diamond. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * d attribute of the path element. * * You application should not configure this value. Instead, the getter calculates value of d by using properties * `horizontalDiagonal` and `verticalDiagonal`. The value of these properties can be retrieved using the * corresponding getters (getHorizontalDiagonal and getVerticalDiagonal). * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `horizontalDiagonal`. * * Horizontal diagonal of a diamond shape. * * This property influences property `d`. * * * @returns Value of property `horizontalDiagonal`. */ getHorizontalDiagonal( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `isClosed`. * * * @returns Value of property `isClosed`. */ getIsClosed( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `verticalDiagonal`. * * Vertical diagonal of a diamond shape. * * This property influences property `d`. * * * @returns Value of property `verticalDiagonal`. */ getVerticalDiagonal( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getHorizontalDiagonal horizontalDiagonal}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `12`. * * * @returns Reference to `this` in order to allow method chaining */ setHorizontalDiagonal( /** * New value for property `horizontalDiagonal` */ fHorizontalDiagonal?: float ): this; /** * Sets a new value for property {@link #getIsClosed isClosed}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsClosed( /** * New value for property `isClosed` */ bIsClosed?: boolean ): this; /** * Sets a new value for property {@link #getVerticalDiagonal verticalDiagonal}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `12`. * * * @returns Reference to `this` in order to allow method chaining */ setVerticalDiagonal( /** * New value for property `verticalDiagonal` */ fVerticalDiagonal?: float ): this; } /** * Iconfont shape class using SVG tag 'text'. This shape is usually used to display icons in Gantt chart. * * @deprecated As of version 1.64. the concept has been discarded. */ class Iconfont extends sap.gantt.shape.Text { /** * Creates and initializes a new Iconfont class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.$IconfontSettings ); /** * Creates and initializes a new Iconfont class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.$IconfontSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.Iconfont with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Text.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.Iconfont. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `collectionName`. * * The collectionName of iconfont as mentioned in property `text` * * * @returns Value of property `collectionName`. */ getCollectionName( /** * Shape data. */ oData: object ): string; /** * Gets the value of property `fontFamily`. * * Font family of Iconfont. * * * @returns Value of property `fontFamily`. */ getFontFamily( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `name`. * * The name of iconfont as mentioned in property `text` * * * @returns Value of property `name`. */ getName( /** * Shape data. */ oData: object ): string; /** * Gets the value of property `text`. * * The text string of iconfont is read via {@link sap.ui.core.IconPool.getIconInfo} passing Name and * CollectionName as parameters. To use the SAP openui5 predefined icons, don't set the property CollectionName. * To use the icons in other collections, you need register first. For example, after calling function sap.ushell.iconfonts.registerFiori2IconFont, * then you can use the icon collection with names "BusinessSuiteInAppSymbols", "Fiori2"... * * * @returns Value of property `text`. */ getText( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getCollectionName collectionName}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCollectionName( /** * New value for property `collectionName` */ sCollectionName: string ): this; /** * Sets a new value for property {@link #getName name}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setName( /** * New value for property `name` */ sName: string ): this; } /** * Pentangle shape class using SVG tag 'polygon'. It's usually treated as a transient shape. * * Following SVG image shows how the properties are designed: * * time rotation Center radius radius2 * * @deprecated As of version 1.64. the concept has been discarded. */ class Pentangle extends sap.gantt.shape.Polygon { /** * Creates and initializes a new Pentangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$PentangleSettings ); /** * Creates and initializes a new Pentangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$PentangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.Pentangle with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Polygon.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.Pentangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * points attribute of the polygon element. * * Your application should not configure this value. Instead, the getter calculates the value of d by using * properties `radius` and `radus2`. The value of these properties can be retrieved using the corresponding * getters (getRadius and getRadius2). If your application overwrites the value of d by configuration or * code, accurate results cannot be guaranteed. * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `radius`. * * Radius of a pentangle shape. * * This property influences property `points`. * * * @returns Value of property `radius`. */ getRadius( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `radius2`. * * The second radius of a pentangle shape. If this property is not provided, radius2 is set to a value * making radius and radius2 fit the golden ratio. * * This property influences property `points`. * * * @returns Value of property `radius2`. */ getRadius2( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getRadius radius}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setRadius( /** * New value for property `radius` */ fRadius?: float ): this; /** * Sets a new value for property {@link #getRadius2 radius2}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `undefined`. * * * @returns Reference to `this` in order to allow method chaining */ setRadius2( /** * New value for property `radius2` */ fRadius2?: float ): this; } /** * A TextRepeat definition shape is used to define graphic objects which can be replicated ("tiled") at * fixed intervals in the x and y axes to cover the areas to be painted. The text patterns are defined using * a 'pattern' element and then referenced by the 'fill' and 'stroke' properties on a given graphics element * to indicate that the element will be filled or stroked with the referenced pattern. * * @deprecated As of version 1.64. the concept has been discarded. */ class TextRepeat extends sap.gantt.shape.Definitions { /** * Creates and initializes a repeatable text pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.$TextRepeatSettings ); /** * Creates and initializes a repeatable text pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.ext.$TextRepeatSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.TextRepeat with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Definitions.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.TextRepeat. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of the `childTagName` property. * * Child element of 'defs' element. The default value is 'pattern'. * * * @returns Value of the `childTagName` property. */ getChildTagName( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of the `dx` property. * * dx value of the start position of text pattern tiles. * * * @returns Value of the `dx` property. */ getDx( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of the `dy` property. * * dy value of the start position of text pattern tiles. * * * @returns Value of the `dy` property. */ getDy( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of the `fontFamily` property. * * Text font family. * * * @returns Value of the `fontFamily` property. */ getFontFamily( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of the `fontSize` property. * * Text font size. * * * @returns Value of the `fontSize` property. */ getFontSize( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): int; /** * Gets the value of the `height` property. * * Height of a reference rectangle. * * * @returns Value of the `height` property. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): float; /** * Gets the value of the `text` property. * * Text string. * * * @returns Value of the `text` property. */ getText( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of the `width` property. * * Width of a reference rectangle. * * * @returns Value of the `width` property. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): float; /** * Gets the value of the `x` property. * * x coordinate of the text pattern tiles. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * as a base. * * * @returns Value of the `x` property. */ getX( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): float; /** * Gets the value of the `y` property. * * y coordinate of the text pattern tiles. * * * @returns Value of the `y` property. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): float; /** * Sets a new value for property {@link #getChildTagName childTagName}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"pattern"`. * * * @returns Reference to `this` in order to allow method chaining */ setChildTagName( /** * New value for property `childTagName` */ sChildTagName?: string ): this; /** * Sets a new value for property {@link #getDx dx}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDx( /** * New value for property `dx` */ sDx: string ): this; /** * Sets a new value for property {@link #getDy dy}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDy( /** * New value for property `dy` */ sDy: string ): this; /** * Sets a new value for property {@link #getFontFamily fontFamily}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFontFamily( /** * New value for property `fontFamily` */ sFontFamily: string ): this; /** * Sets a new value for property {@link #getFontSize fontSize}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFontSize( /** * New value for property `fontSize` */ iFontSize: int ): this; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `15`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ fHeight?: float ): this; /** * Sets a new value for property {@link #getText text}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText: string ): this; /** * Sets a new value for property {@link #getWidth width}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ fWidth: float ): this; /** * Sets a new value for property {@link #getX x}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ fX: float ): this; /** * Sets a new value for property {@link #getY y}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ fY: float ): this; } /** * Triangle shape class using SVG tag 'path'. It's usually treated as a transient shape. * * The following image shows how the properties are designed: * * time * rotation Center * height distanceOfyAxisHeight * base * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseTriangle}. */ class Triangle extends sap.gantt.shape.Path { /** * Creates and initializes a new Triangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$TriangleSettings ); /** * Creates and initializes a new Triangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.shape.ext.$TriangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.ext.Triangle with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ext.Triangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `base`. * * Base side of a triangle. * * This property influences property `d`. * * * @returns Value of property `base`. */ getBase( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `d`. * * d attribute of path element. * * Your application should not configure this value. Instead, the getter calculates the value of d by using * properties `time`, `base`, `height`, and `distanceOfyAxisHeight`. The value of these properties can be * retrieved from the corresponding getters (getTime, getBase, getHeight, and getDistanceOfyAxisHeight). * * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): string; /** * Gets the value of property `distanceOfyAxisHeight`. * * distanceOfyAxisHeight of a triangle, which refers to the distance between the left point to the altitude * of the triangle. * * This property influences property `d`. * * * @returns Value of property `distanceOfyAxisHeight`. */ getDistanceOfyAxisHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `height`. * * Height of a triangle. * * This property influences property `d`. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): number; /** * Gets the value of property `isClosed`. * * * @returns Value of property `isClosed`. */ getIsClosed( /** * Shape data. */ oData: object, /** * Information about the row and row data. */ oRowInfo: object ): boolean; /** * Sets a new value for property {@link #getBase base}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setBase( /** * New value for property `base` */ fBase?: float ): this; /** * Sets a new value for property {@link #getDistanceOfyAxisHeight distanceOfyAxisHeight}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setDistanceOfyAxisHeight( /** * New value for property `distanceOfyAxisHeight` */ fDistanceOfyAxisHeight?: float ): this; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ fHeight?: float ): this; /** * Sets a new value for property {@link #getIsClosed isClosed}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsClosed( /** * New value for property `isClosed` */ bIsClosed?: boolean ): this; } } /** * Describes the settings that can be provided to the Circle constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $CircleSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; cx?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; cy?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; r?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ClipPath constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ClipPathSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Paths defining the clipPath. */ paths?: | sap.gantt.shape.Path[] | sap.gantt.shape.Path | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Definitions constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $DefinitionsSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; childTagName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Definition string. Subclasses can implement their own getters of this property to override the one in * this class. */ content?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Unique id for definition. */ referenceId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Group constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseGroup}. */ interface $GroupSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; RLSAnchors?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; shapes?: | sap.gantt.shape.Shape[] | sap.gantt.shape.Shape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Image constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseImage}. */ interface $ImageSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; image?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; x?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; y?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; width?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; height?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Line constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseLine}. */ interface $LineSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; isDuration?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; x1?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; y1?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; x2?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; y2?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Path constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BasePath}. */ interface $PathSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; isClosed?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; fill?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; d?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Polygon constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $PolygonSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; points?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Polyline constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $PolylineSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; fill?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; points?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the Rectangle constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseChevron}. */ interface $RectangleSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; isDuration?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; x?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; y?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; width?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; height?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; rx?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; ry?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the ResizeShadowShape constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $ResizeShadowShapeSettings extends sap.gantt.shape.$PathSettings { height?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the SelectedShape constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $SelectedShapeSettings extends sap.gantt.shape.$PathSettings { fill?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; fillOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; strokeOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; height?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Shape constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseShape}. */ interface $ShapeSettings extends sap.ui.core.$ElementSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; category?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; htmlClass?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; isDuration?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; time?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; endTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; ariaLabel?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; xBias?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; yBias?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; fill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; strokeOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; fillOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; strokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; strokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; clipPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; transform?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; filter?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; enableHover?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; enableDnD?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; enableSelection?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; enableResize?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; rowYCenter?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; rotationCenter?: | float[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; rotationAngle?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; isBulk?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; arrayAttribute?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; timeFilterAttribute?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; endTimeFilterAttribute?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; legend?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Selected Shape. * * Selected shape specifies how to draw the selection high-light. Application can implement it by extending * `sap.gantt.shape.SelectedShape` and configure it in `sap.gantt.config.Shape`. */ selectedShape?: sap.gantt.shape.SelectedShape; /** * Resize Shadow Shape. * * Resize Shadow shape specifies how to draw the shadow highlight when resizing. Applications can implement * it by extending `sap.gantt.shape.ResizeShadowShape` and configure it in `sap.gantt.config.Shape`. */ resizeShadowShape?: sap.gantt.shape.ResizeShadowShape; } /** * Describes the settings that can be provided to the Text constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseText}. */ interface $TextSettings extends sap.gantt.shape.$ShapeSettings { tag?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; x?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; y?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; fontSize?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; textAnchor?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; fontFamily?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; wrapWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; wrapDy?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; truncateWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; ellipsisWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Circle shape class using SVG tag 'circle'. This shape is usually used to represent points in time. * * * * * @deprecated As of version 1.64. the concept has been discarded. */ class Circle extends sap.gantt.shape.Shape { /** * Creates and initializes a new Circle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$CircleSettings ); /** * Creates and initializes a new Circle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$CircleSettings ); /** * Creates a new subclass of class sap.gantt.shape.Circle with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Circle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `cx`. * * x coordinate of the center of the circle. * * Usually applications do not set this value. This getter carries out the calculation using the `time` * property as a base and makes some adjustments. * * * @returns Value of property `cx`. */ getCx( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the current value of property `cy`. * * y coordinate of the center of the circle. * * Usually applications do not set this value. This getter carries out the calculation using parameter `oRowInfo` * as a base and makes some adjustments to align the center of the row rectangle along the y axis. If you * override the default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `cy`. */ getCy( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `r`. * * Radius of the circle. * * * @returns Value of property `r`. */ getR( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getCx cx}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCx( /** * New value for property `cx` */ fCx: float ): this; /** * Sets a new value for property {@link #getCy cy}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCy( /** * New value for property `cy` */ fCy: float ): this; /** * Sets a new value for property {@link #getR r}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setR( /** * New value for property `r` */ fR?: float ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"circle"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Clippath shape class using SVG container tag 'clippath'. It is usually used together with {@link sap.gantt.shape.Path } * as aggregations, and referenced by other shapes by URL. * * * * * @deprecated As of version 1.64. the concept has been discarded. */ class ClipPath extends sap.gantt.shape.Shape { /** * Creates and initializes a new Clippath class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$ClipPathSettings ); /** * Creates and initializes a new Clippath class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$ClipPathSettings ); /** * Creates a new subclass of class sap.gantt.shape.ClipPath with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ClipPath. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some path to the aggregation {@link #getPaths paths}. * * * @returns Reference to `this` in order to allow method chaining */ addPath( /** * The path to add; if empty, nothing is inserted */ oPath: sap.gantt.shape.Path ): this; /** * Destroys all the paths in the aggregation {@link #getPaths paths}. * * * @returns Reference to `this` in order to allow method chaining */ destroyPaths(): this; /** * Gets content of aggregation {@link #getPaths paths}. * * Paths defining the clipPath. */ getPaths(): sap.gantt.shape.Path[]; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Checks for the provided `sap.gantt.shape.Path` in the aggregation {@link #getPaths paths}. and returns * its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfPath( /** * The path whose index is looked for */ oPath: sap.gantt.shape.Path ): int; /** * Inserts a path into the aggregation {@link #getPaths paths}. * * * @returns Reference to `this` in order to allow method chaining */ insertPath( /** * The path to insert; if empty, nothing is inserted */ oPath: sap.gantt.shape.Path, /** * The `0`-based index the path should be inserted at; for a negative value of `iIndex`, the path is inserted * at position 0; for a value greater than the current size of the aggregation, the path is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getPaths paths}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllPaths(): sap.gantt.shape.Path[]; /** * Removes a path from the aggregation {@link #getPaths paths}. * * * @returns The removed path or `null` */ removePath( /** * The path to remove or its index or id */ vPath: int | string | sap.gantt.shape.Path ): sap.gantt.shape.Path | null; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"clippath"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Base class for all SVG definitions. It is different from the svgDefs in `GanttChartBase`. It is a container * shape and related to shape data. * * SVG uses the 'defs' tag to represent graphic objects that can be reused at a later time. Currently * `sap.gantt` provides defs like TextRepeat. Applications can also extend this base class to support more * functionality. * * @deprecated As of version 1.64. the concept has been discarded. */ class Definitions extends sap.gantt.shape.Shape { /** * Creates and initializes a new SVG graphic object according to shape data. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$DefinitionsSettings ); /** * Creates and initializes a new SVG graphic object according to shape data. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$DefinitionsSettings ); /** * Creates a new subclass of class sap.gantt.shape.Definitions with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Definitions. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of the `childTagName` property. * * The 'defs' element is a container element for referenced elements. The content model for 'defs' is the * same as that for the 'g' element; thus, any element that can be a child of a 'g' can also be a child * of a 'defs'. The 'childTagName' is the name of any child element of 'defs'. * * * * @returns Value of the `childTagName` property. */ getChildTagName( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets current value of property {@link #getContent content}. * * Definition string. Subclasses can implement their own getters of this property to override the one in * this class. * * Default value is `empty string`. * * * @returns Value of property `content` */ getContent(): string; /** * Gets current value of property {@link #getReferenceId referenceId}. * * Unique id for definition. * * * @returns Value of property `referenceId` */ getReferenceId(): string; /** * Gets the value of the `tag` property. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of the `tag` property. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getChildTagName childTagName}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setChildTagName( /** * New value for property `childTagName` */ sChildTagName: string ): this; /** * Sets a new value for property {@link #getContent content}. * * Definition string. Subclasses can implement their own getters of this property to override the one in * this class. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `empty string`. * * * @returns Reference to `this` in order to allow method chaining */ setContent( /** * New value for property `content` */ sContent?: string ): this; /** * Sets a new value for property {@link #getReferenceId referenceId}. * * Unique id for definition. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setReferenceId( /** * New value for property `referenceId` */ sReferenceId: string ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"defs"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Group shape class using SVG tag 'group'. It is a container shape. Any other shapes can be aggregated * under a group. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseGroup}. */ class Group extends sap.gantt.shape.Shape { /** * Creates and initializes a new Group class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$GroupSettings ); /** * Creates and initializes a new Group class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$GroupSettings ); /** * Creates a new subclass of class sap.gantt.shape.Group with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Group. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some shape to the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ addShape( /** * The shape to add; if empty, nothing is inserted */ oShape: sap.gantt.shape.Shape ): this; /** * Destroys all the shapes in the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes(): this; /** * Generate a referenceId according to shape data. * * 'referenceId' is used to identify Definitions shapes. Aggregation shapes of a Group shape can retrieve * the 'referenceId' by their getParentReferenceId method and then consume the corresponding Definition * shape. * * * @returns Value of the `referenceId` property. */ genReferenceId( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * To enable connections between in-row shapes, a custom Group class has to be implemented that extends * `sap.gantt.shape.Group`. Additionally, the `getRLSAnchors` method has to be implemented for the Relationship * class to know the coordinates of the connection points. * * * @returns Coordinates of the "from" shape (start) and "to" shape (end) */ getRLSAnchors( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowObjectInfo: object ): object; /** * Gets content of aggregation {@link #getShapes shapes}. */ getShapes(): sap.gantt.shape.Shape[]; /** * Gets the value of the `tag` property. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of the `tag` property. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Checks for the provided `sap.gantt.shape.Shape` in the aggregation {@link #getShapes shapes}. and returns * its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape( /** * The shape whose index is looked for */ oShape: sap.gantt.shape.Shape ): int; /** * Inserts a shape into the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape( /** * The shape to insert; if empty, nothing is inserted */ oShape: sap.gantt.shape.Shape, /** * The `0`-based index the shape should be inserted at; for a negative value of `iIndex`, the shape is inserted * at position 0; for a value greater than the current size of the aggregation, the shape is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getShapes shapes}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes(): sap.gantt.shape.Shape[]; /** * Removes a shape from the aggregation {@link #getShapes shapes}. * * * @returns The removed shape or `null` */ removeShape( /** * The shape to remove or its index or id */ vShape: int | string | sap.gantt.shape.Shape ): sap.gantt.shape.Shape | null; /** * Sets a new value for property {@link #getRLSAnchors RLSAnchors}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setRLSAnchors( /** * New value for property `RLSAnchors` */ oRLSAnchors: object ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"g"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Image shape class using SVG tag 'image'. This shape is usually used to represent points in time. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseImage}. */ class Image extends sap.gantt.shape.Shape { /** * Creates and initializes a new Image class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$ImageSettings ); /** * Creates and initializes a new Image class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$ImageSettings ); /** * Creates a new subclass of class sap.gantt.shape.Image with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Image. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `height`. * * Height of the image. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `image`. * * IRI reference of the image. * * * @returns Value of property `image`. */ getImage( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `width`. * * Width of the image. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the current value of property `x`. * * x coordinate of the image rectangle. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * as a base and makes some adjustments. * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the current value of property `y`. * * y coordinate of the image rectangle. * * Usually applications do not set this value. This getter carries out the calculation using parameter `oRowInfo` * as a base and makes some adjustments to align the center of the row rectangle along the y axis. If you * override the default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `20`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ fHeight?: float ): this; /** * Sets a new value for property {@link #getImage image}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setImage( /** * New value for property `image` */ sImage: string ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"image"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; /** * Sets a new value for property {@link #getWidth width}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `20`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ fWidth?: float ): this; /** * Sets a new value for property {@link #getX x}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ fX: float ): this; /** * Sets a new value for property {@link #getY y}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ fY: float ): this; } /** * Line shape class using SVG tag 'line'. This shape is usually used to represent durations. * * * * * * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseLine}. */ class Line extends sap.gantt.shape.Shape { /** * Creates and initializes a new Line class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$LineSettings ); /** * Creates and initializes a new Line class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$LineSettings ); /** * Creates a new subclass of class sap.gantt.shape.Line with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Line. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `isDuration`. * * * @returns Value of property `isDuration`. */ getIsDuration( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `x1`. * * x coordinate of the start of the line. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * as a base and makes some adjustments. * * * @returns Value of property `x1`. */ getX1( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `x2`. * * x coordinate of the end of the line. * * Usually applications do not set this value. This getter carries out the calculation using property `endTime` * as a base and makes some adjustments. * * * @returns Value of property `x2`. */ getX2( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `y1`. * * y coordinate of the start of the line. * * Usually applications do not set this value. This getter carries out the calculation using parameter `oRowInfo`, * and makes some adjustments to align the center of the row rectangle along the y axis. If you override * the default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `y1`. */ getY1( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `y2`. * * y coordinate of the end of the line. * * Usually applications do not set this value. This getter carries out the calculation using parameter `oRowInfo` * as a base and makes some adjustments to align the center of the row rectangle along the y axis. f you * override the default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `y2`. */ getY2( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getIsDuration isDuration}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsDuration( /** * New value for property `isDuration` */ bIsDuration?: boolean ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"line"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; /** * Sets a new value for property {@link #getX1 x1}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX1( /** * New value for property `x1` */ fX1: float ): this; /** * Sets a new value for property {@link #getX2 x2}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX2( /** * New value for property `x2` */ fX2: float ): this; /** * Sets a new value for property {@link #getY1 y1}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY1( /** * New value for property `y1` */ fY1: float ): this; /** * Sets a new value for property {@link #getY2 y2}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY2( /** * New value for property `y2` */ fY2: float ): this; } /** * Path shape class using SVG tag 'path'. * * * * * * * M100,200 C100,100 250,100 250,200 * S400,300 400,200 * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BasePath}. */ class Path extends sap.gantt.shape.Shape { /** * Creates and initializes a new Path class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$PathSettings ); /** * Creates and initializes a new Path class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$PathSettings ); /** * Creates a new subclass of class sap.gantt.shape.Path with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Path. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * d attribute of path element. The 'd' attribute has very powerful grammar. Rich extension of paths * is provided in namespace `sap.gantt.shape.ext`. * This shape provides a default implementation of the d attribute: * * time endTime * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets current value of property {@link #getFill fill}. * * Default value is `"none"`. * * * @returns Value of property `fill` */ getFill(): string; /** * Gets the value of property `isClosed`. * * When this value is true, the 'fill' attribute is applied. Otherwise, the 'fill' attribute is none. * * * * @returns Value of property `isClosed`. */ getIsClosed( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getD d}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setD( /** * New value for property `d` */ sD: string ): this; /** * Sets a new value for property {@link #getFill fill}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"none"`. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill?: string ): this; /** * Sets a new value for property {@link #getIsClosed isClosed}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setIsClosed( /** * New value for property `isClosed` */ bIsClosed?: boolean ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"path"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Polygon shape class using SVG tag 'polygon'. * * * * * @deprecated As of version 1.64. the concept has been discarded. */ class Polygon extends sap.gantt.shape.Shape { /** * Creates and initializes a new Polygon class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$PolygonSettings ); /** * Creates and initializes a new Polygon class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$PolygonSettings ); /** * Creates a new subclass of class sap.gantt.shape.Polygon with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Polygon. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `points`. * * Points attribute of the polygon element. Rich extension of paths is provided in namespace `sap.gantt.shape.ext`. * This shape provides a default implementation of points: * * time rotation Center * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getPoints points}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setPoints( /** * New value for property `points` */ sPoints: string ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"polygon"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Polyline shape class using SVG tag 'polyline'. * * * * * @deprecated As of version 1.64. the concept has been discarded. */ class Polyline extends sap.gantt.shape.Shape { /** * Creates and initializes a new Polyline class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$PolylineSettings ); /** * Creates and initializes a new Polyline class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$PolylineSettings ); /** * Creates a new subclass of class sap.gantt.shape.Polyline with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Polyline. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getFill fill}. * * Default value is `"none"`. * * * @returns Value of property `fill` */ getFill(): string; /** * Gets the value of property `points`. * * points attribute of the polygon shape. This shape provides a default implementation of points: * * time rotation Center * * * @returns Value of property `points`. */ getPoints( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getFill fill}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"none"`. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill?: string ): this; /** * Sets a new value for property {@link #getPoints points}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setPoints( /** * New value for property `points` */ sPoints: string ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"polyline"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; } /** * Rectangle shape class using SVG tag 'rect'. This shape is usually used to represent durations. * * * * * * * * * * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseChevron}. */ class Rectangle extends sap.gantt.shape.Shape { /** * Creates and initializes a new Rectangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$RectangleSettings ); /** * Creates and initializes a new Rectangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$RectangleSettings ); /** * Creates a new subclass of class sap.gantt.shape.Rectangle with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Rectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `height`. * * Height of the rectangle. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `isDuration`. * * * @returns Value of property `isDuration`. */ getIsDuration( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `rx`. * * Rx of the rectangle. * * * @returns Value of property `rx`. */ getRx( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `ry`. * * Ry of the rectangle. * * * @returns Value of property `ry`. */ getRy( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** TWe do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `width`. * * Width of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using properties * `time` and `endTime`. If you override the default value calculated by the getter, proper rendering is * not guaranteed. * * * @returns Value of property `width`. */ getWidth( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `x`. * * x coordinate of the top-left corner of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * as a base. * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `y`. * * y coordinate of the top-left corner of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using parameter `oRowInfo` * as a base and uses property `height` as an offset to align the center of the row rectangle along the * y axis. If you override the default value calculated by the getter, the alignment of the center is not * guaranteed. * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `15`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ fHeight?: float ): this; /** * Sets a new value for property {@link #getIsDuration isDuration}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setIsDuration( /** * New value for property `isDuration` */ bIsDuration?: boolean ): this; /** * Sets a new value for property {@link #getRx rx}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"0"`. * * * @returns Reference to `this` in order to allow method chaining */ setRx( /** * New value for property `rx` */ sRx?: string ): this; /** * Sets a new value for property {@link #getRy ry}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"0"`. * * * @returns Reference to `this` in order to allow method chaining */ setRy( /** * New value for property `ry` */ sRy?: string ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"rect"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; /** * Sets a new value for property {@link #getWidth width}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ fWidth: float ): this; /** * Sets a new value for property {@link #getX x}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ fX: float ): this; /** * Sets a new value for property {@link #getY y}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ fY: float ): this; } /** * Provides an implementation of shadow shapes, allowing you to create a highlighting effect by drawing * the shadow shapes with thicker strokes in red. * * @deprecated As of version 1.64. the concept has been discarded. */ class ResizeShadowShape extends sap.gantt.shape.Path { /** * Constructor for a new ResizeShadowShape. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial instance for the new control */ mSettings?: sap.gantt.shape.$ResizeShadowShapeSettings ); /** * Constructor for a new ResizeShadowShape. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the ResizeShadowShape instance */ sId?: string, /** * Initial instance for the new control */ mSettings?: sap.gantt.shape.$ResizeShadowShapeSettings ); /** * Creates a new subclass of class sap.gantt.shape.ResizeShadowShape with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.ResizeShadowShape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getHeight height}. * * Default value is `15`. * * * @returns Value of property `height` */ getHeight(): int; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `15`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ iHeight?: int ): this; } /** * Provides an implementation of selected shapes, allowing you to create a highlighting effect by drawing * the selected shapes with red and thicker strokes. * * @deprecated As of version 1.64. the concept has been discarded. */ class SelectedShape extends sap.gantt.shape.Path { /** * Constructor for a new SelectedShape. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.shape.$SelectedShapeSettings ); /** * Constructor for a new SelectedShape. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.shape.$SelectedShapeSettings ); /** * Creates a new subclass of class sap.gantt.shape.SelectedShape with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Path.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.SelectedShape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `d`. * * d attribute of the path element. * * Usually applications do not set this value. This getter carries out the calculation using properties * `time`, `endTime`, `tailLength`, `headLength`, and `height`. * * * @returns Value of property `d` or null if the generated d is invalid according to the given data. */ getD( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `enableDnD`. * * This value determines whether the selectedShape of a shape is enabled for drag-and-drop. * * * @returns Value of property `enableDnD`. */ getEnableDnD( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `enableSelection`. * * This value determines whether the selectedShape of a shape is enabled for selection. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** HTML color and url reference to paint server can be provided * to fill. Paint server definitions usually comes from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData?: object, /** * Information of the row and row data. */ oRowInfo?: object ): string; /** * Gets current value of property `fillOpacity`. * * Standard SVG 'fill-Opacity' attribute. * * * @returns Value of property `fillOpacity`. */ getFillOpacity( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo?: object ): number; /** * Gets the value of property `height`. * * This value determines the height of the selectedShape. * * * @returns Value of property `height`. */ getHeight( /** * Shape data. */ oData: object ): number; /** * Gets current value of property `isDuration`. * * When this flag is set to true, the shape is called 'duration shape'. And `time` stands for startTime, * `endTime` stands for end time. When this flag is set to be false, the shape is called 'transient shape'. * And only `time` is used. Usually these 3 properties are used to determine x position of one shape. * * * @returns Value of property `isDuration`. */ getIsDuration( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets the value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** An HTML color and URL reference to an SVG definition can * be provided for strokes. SVG definitions usually come from SVG definitions rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable}, or {@link sap.gantt.GanttChart}. * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets current value of property `strokeOpacity`. * * Standard SVG 'stroke-Opacity' attribute. * * * @returns Value of property `strokeOpacity`. */ getStrokeOpacity( /** * Shape data. */ oData: object ): number; /** * Gets the value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `transform`. * * Standard SVG 'transform' attribute. The implementation of getTransform() provides some logic to enable * properties `rotationCenter` and `rotationAngle`. If you override the default value calculated by the * getter, proper rotation is not guaranteed. * * * @returns Value of property `transform`. */ getTransform( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Sets a new value for property {@link #getFill fill}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"none"`. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill?: string ): this; /** * Sets a new value for property {@link #getFillOpacity fillOpacity}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setFillOpacity( /** * New value for property `fillOpacity` */ fFillOpacity?: float ): this; /** * Sets a new value for property {@link #getHeight height}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `15`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ iHeight?: int ): this; /** * Sets a new value for property {@link #getStrokeOpacity strokeOpacity}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeOpacity( /** * New value for property `strokeOpacity` */ fStrokeOpacity?: float ): this; } /** * Base class for all shape classes. * * Shape class is designed to describe how data should be visualized by an SVG tag. Most shape classes * contain only properties and only one aggregation: * - Some properties come from standard SVG attribute. Examples are `fill`, `stroke` etc. * - Some properties designed to put Shape class into Gantt chart's coordinate system, especially the * X axis called `sap.gantt.misc.AxisTime`. Examples are `time`, `endTime` etc. * - Some properties are designed to provide some geometry attributes. Examples are `side`, `center` in * some extend shapes. * - Every shape has aggregation called selectedShape to provide a way to specify how selection of the * shape should be designed. * - Some container shapes like `g` and `clippath` has aggregation to aggregate other shapes in. * * Because d3 is used underneath and d3 use array to do batch data-binding, therefore Shape classes are * not designed in the way of SAPUI5 standard data-binding (one shape instance per data). Instead, each * Shape instance stands for a particular way of visualize one data structure. And one Shape instance is * used to draw a list of data by Drawers in Gantt chart. * * Because of this specialty, application cannot instantiate a shape class directly. Instead they can use * configuration {@link sap.gantt.config.Shape} to describe which Shape class is used to draw which data * in what way. And pass this configuration to Gantt chart control by property `shapes`. Gantt chart control * use these configurations to instatiate Shape instances and Drawers. Drawers consumes Shape instances * to draw real SVG shapes. * * Each shape classes are designed to support 'configuration-first' principle. So called configure is the * `shapeProperties` property of `sap.gantt.config.Shape`. In this object property, application can provide * following things: * - A value. Example: `{tooltip: 'svg rocks'}.` * - An attribute from data. Example: `{time: {startTime}}` * - A formatted attribute from data. Example: `{tooltip: "{time:Timestamp} the stock price falls to {price:Number}."}` * The typed numeric values for the key number are formatted by the configurations provided by {@link sap.ui.core.format.NumberFormat}, * and the date and time values for the key timestamp are formatted by the configurations provided by {@link sap.gantt.misc.Format}. * * * In many applications, simple configuration or even binding cannot meet business requriement. Therefore * applications are allowed to extend shapes and provide their own getter methods to effect all properties * by data. For in row shapes, two parameters are injected to help application to do coding. All the shapes * provided by Gantt chart follows 'configuration first' principle by invoking method `_configFirst()`. * Meaning if application provide value by sap.gantt.config.Shape, the configuration over-write code logic * in getters. * * **Note:** Setter methods are only used for set default values. Because a Shape instance stands for a * way of drawing. The instance self does not hold any status (property values). Meanwhile, all getter are * injected with actual data and related informations to adapt to d3 paradigm. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseShape}. */ abstract class Shape extends sap.ui.core.Element { /** * Creates and initializes a new Shape class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.shape.$ShapeSettings ); /** * Creates and initializes a new Shape class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.shape.$ShapeSettings ); /** * Creates a new subclass of class sap.gantt.shape.Shape with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Shape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * This method must be used to ensure 'configuration-first' principle for extended shapes. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Resolved attribute. */ _configFirst( /** * Attribute name. */ sAttrName: string, /** * Shape data. */ oData: object, /** * whether scale by size mode or not */ bScaleBySapUiSizeMode: boolean ): string; /** * Rotate Shape * * @ui5-protected Do not call from applications (only from related classes in the framework) */ _rotate( /** * Shape data. */ oData: object, /** * Shape Row Info. */ oRowInfo: object, /** * Return Value. */ aRetVal: object ): void; /** * Provide logic for rotation considering RTL. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Actual rotation angle. */ _rtlRotation( /** * Rotation angle. */ nAngle: number ): number; /** * Translate Shape * * @ui5-protected Do not call from applications (only from related classes in the framework) */ _translate( /** * Shape data. */ oData: object, /** * Shape Row Info. */ oRowInfo: object, /** * Return Value. */ aRetVal: object ): void; /** * Destroys the resizeShadowShape in the aggregation {@link #getResizeShadowShape resizeShadowShape}. * * * @returns Reference to `this` in order to allow method chaining */ destroyResizeShadowShape(): this; /** * Destroys the selectedShape in the aggregation {@link #getSelectedShape selectedShape}. * * * @returns Reference to `this` in order to allow method chaining */ destroySelectedShape(): this; /** * Gets current value of property `ariaLabel`. * * Arial Label enables screen readers. * * * @returns Value of property `ariaLabel`. */ getAriaLabel( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `arrayAttribute`. * * Specify which attribute is child array. * * * @returns Value of property `arrayAttribute`. */ getArrayAttribute( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Get the AxisTime of gantt chart instance * * * @returns the AxisTime instance */ getAxisTime(): object; /** * Gets current value of property `category`. * * Values are in enum {@link sap.gantt.shape.ShapeCategory}. * * * @returns Value of property `category`. */ getCategory( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `clipPath`. * * Standard SVG 'clippath' attribute. * * * @returns Value of property `clipPath`. */ getClipPath( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `enableDnD`. * * This value controls whether a shape is enabled for drag-and-drop behavior. * * * @returns Value of property `enableDnD`. */ getEnableDnD( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `enableHover`. * * This value controls whether a shape is enabled to fire mouse enter and leave event. * * * @returns Value of property `enableHover`. */ getEnableHover( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `enableResize`. * * This value controls whether a shape is enabled for the resize behavior. * * * @returns Value of property `enableResize`. */ getEnableResize( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `enableSelection`. * * This value controls whether a shape is enabled for selection behavior. * * * @returns Value of property `enableSelection`. */ getEnableSelection( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `endTime`. * * End timestamp for duration shape. * * * @returns Value of property `endTime`. */ getEndTime( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `endTimeFilterAttribute`. * * Specify which is end time attribute of items in child array. * * * @returns Value of property `endTimeFilterAttribute`. */ getEndTimeFilterAttribute( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `fill`. * * Standard SVG 'fill' attribute. **Note:** HTML color and url reference to paint server can be provided * to fill. Paint server definitions usually comes from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * @returns Value of property `fill`. */ getFill( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `fillOpacity`. * * Standard SVG 'fill-Opacity' attribute. * * * @returns Value of property `fillOpacity`. */ getFillOpacity( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets current value of property `filter`. * * Standard SVG 'filter' attribute. Usually value of filter is an url referenced from paint server definition * rendered by {@link sap.gantt.GanttChartContainer}, {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * * @returns Value of property `filter`. */ getFilter( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `htmlClass`. * * Customized html classes. Multiple classes can be provided and seperated by space. * * * @returns Value of property `htmlClass`. */ getHtmlClass( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `isBulk`. * * Gantt chart do filtering of data by timestamp for performance sake. For simple shapes which has `time` * or `endTime` provided, set this flag to false. For shapes (path or polygon) which connect a list of data, * set this value to false. And if filtering is required to next level data, provide `arrayAttribute`, `timeFilterAttribute` * and `endTimeFilterAttribute` in combination. * * * @returns Value of property `isBulk`. */ getIsBulk( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets current value of property `isDuration`. * * When this flag is set to true, the shape is called 'duration shape'. And `time` stands for startTime, * `endTime` stands for end time. When this flag is set to be false, the shape is called 'transient shape'. * And only `time` is used. Usually these 3 properties are used to determine x position of one shape. * * * @returns Value of property `isDuration`. */ getIsDuration( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): boolean; /** * Gets legend value of property `legend`. * * Specifies the legend text of the shape. * * * @returns Value of property `legend`. */ getLegend( /** * Shape data. */ oData: object ): string; /** * Retrieves the parent shape's referenceId. * * The referenceId, which is related to shape data, is generated by a Group shape. Aggregation shapes * can use this method to retrieve the referenceId. * * * @returns Value of `referenceId`. */ getParentReferenceId( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets content of aggregation {@link #getResizeShadowShape resizeShadowShape}. * * Resize Shadow Shape. * * Resize Shadow shape specifies how to draw the shadow highlight when resizing. Applications can implement * it by extending `sap.gantt.shape.ResizeShadowShape` and configure it in `sap.gantt.config.Shape`. */ getResizeShadowShape(): sap.gantt.shape.ResizeShadowShape; /** * Gets current value of property `rotationAngle`. * * This value is used in combination of property `rotationCenter`. By providing both shape can be rotated * with any angle around rotation center. * * * @returns Value of property `rotationAngle`. */ getRotationAngle( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets current value of property `rotationCenter`. * * This value is used in combination of property `rotationAngle`. By providing both shape can be rotated * with any angle around rotation center. Default implementation is the coordinate at `time` in x coordinate, * and `rowYCenter` in y coordinate. If application over-write this property by configuration or code, the * logic cannot be guaranteed. * * * @returns Value of property `rotationCenter`. */ getRotationCenter( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): any[]; /** * Gets current value of property `rowYCenter`. * * Default implementation is return the middle position of the row in y direction. If application over-write * this property by configuration or code, the logic cannot be guaranteed. * * * @returns Value of property `rowYCenter`. */ getRowYCenter( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): any[]; /** * Gets content of aggregation {@link #getSelectedShape selectedShape}. * * Selected Shape. * * Selected shape specifies how to draw the selection high-light. Application can implement it by extending * `sap.gantt.shape.SelectedShape` and configure it in `sap.gantt.config.Shape`. */ getSelectedShape(): sap.gantt.shape.SelectedShape; /** * This method is used to get view boundary for visible area in Gantt Chart. The view boundary is a range * of x-coordinate for visible area. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns View boundary for visible area in Gantt Chart. */ getShapeViewBoundary(): any[]; /** * Gets current value of property `stroke`. * * Standard SVG 'stroke' attribute. **Note:** HTML color and url reference to paint server can be provided * to stroke. Paint server definitions usually comes from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * @returns Value of property `stroke`. */ getStroke( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `strokeDasharray`. * * Standard SVG 'stroke-dasharray' attribute. * * * @returns Value of property `strokeDasharray`. */ getStrokeDasharray( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `strokeOpacity`. * * Standard SVG 'stroke-Opacity' attribute. * * * @returns Value of property `strokeOpacity`. */ getStrokeOpacity( /** * Shape data. */ oData: object ): number; /** * Gets current value of property `strokeWidth`. * * Standard SVG 'stroke-width' attribute. * * * @returns Value of property `strokeWidth`. */ getStrokeWidth( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Get the shape style string * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns shape styles */ getStyle( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `tag`. * * SVG tag name of the shape. **Note:** This value is not recommended to be over-written by configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `time`. * * Timestamp for transient shape or start timestamp for duration shape. * * * @returns Value of property `time`. */ getTime( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `timeFilterAttribute`. * * Specify which is time attribute of items in child array. * * * @returns Value of property `timeFilterAttribute`. */ getTimeFilterAttribute( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `title`. * * Title is visualized as tooltip by browser. **Notes:** Use character entity to do simple text tabbing * and breaking. (Use " " for tab and " * " for break.) * * * @returns Value of property `title`. */ getTitle( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `transform`. * * Standard SVG 'transform' attribute. Some logic in getTransform() is provided to enable property `rotationCenter` * and `rotationAngle`. If application over-write this property by configuration or coding, rotation behavior * cannot be guaranteed. * * * @returns Value of property `transform`. */ getTransform( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): string; /** * Gets current value of property `xBias`. * * Fine-tune x coordinate. This value only works for category `inRowShape`. Shape usually determines * position in x coordinate by property `isDuration`, `time` and `endTime`. Application can use this property * to do some x coordinate adjustment in pixel. The xBias will be automatically mirrored for RTL mode. It * means if you set 10 to property xBias, in RTL mode, the value of the xBias will be -10. * * * @returns Value of property `xBias`. */ getXBias( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Gets current value of property `yBias`. * * Fine-tune y coordinate. This value only works for category `inRowShape`. Y coordinate is automatically * determined by row. Application can use this property to do some y coordinate adjustment in pixel. * * * @returns Value of property `yBias`. */ getYBias( /** * Shape data. */ oData: object, /** * Information of the row and row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getAriaLabel ariaLabel}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setAriaLabel( /** * New value for property `ariaLabel` */ sAriaLabel: string ): this; /** * Sets a new value for property {@link #getArrayAttribute arrayAttribute}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setArrayAttribute( /** * New value for property `arrayAttribute` */ sArrayAttribute: string ): this; /** * Sets a new value for property {@link #getCategory category}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.shape.ShapeCategory.InRowShape`. * * * @returns Reference to `this` in order to allow method chaining */ setCategory( /** * New value for property `category` */ sCategory?: string ): this; /** * Sets a new value for property {@link #getClipPath clipPath}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setClipPath( /** * New value for property `clipPath` */ sClipPath: string ): this; /** * Sets a new value for property {@link #getEnableDnD enableDnD}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableDnD( /** * New value for property `enableDnD` */ bEnableDnD?: boolean ): this; /** * Sets a new value for property {@link #getEnableHover enableHover}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableHover( /** * New value for property `enableHover` */ bEnableHover?: boolean ): this; /** * Sets a new value for property {@link #getEnableResize enableResize}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableResize( /** * New value for property `enableResize` */ bEnableResize?: boolean ): this; /** * Sets a new value for property {@link #getEnableSelection enableSelection}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableSelection( /** * New value for property `enableSelection` */ bEnableSelection?: boolean ): this; /** * Sets a new value for property {@link #getEndTime endTime}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setEndTime( /** * New value for property `endTime` */ sEndTime: string ): this; /** * Sets a new value for property {@link #getEndTimeFilterAttribute endTimeFilterAttribute}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setEndTimeFilterAttribute( /** * New value for property `endTimeFilterAttribute` */ sEndTimeFilterAttribute: string ): this; /** * Sets a new value for property {@link #getFill fill}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getFillOpacity fillOpacity}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setFillOpacity( /** * New value for property `fillOpacity` */ fFillOpacity?: float ): this; /** * Sets a new value for property {@link #getFilter filter}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFilter( /** * New value for property `filter` */ sFilter: string ): this; /** * Sets a new value for property {@link #getHtmlClass htmlClass}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setHtmlClass( /** * New value for property `htmlClass` */ sHtmlClass: string ): this; /** * Sets a new value for property {@link #getIsBulk isBulk}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setIsBulk( /** * New value for property `isBulk` */ bIsBulk?: boolean ): this; /** * Sets a new value for property {@link #getIsDuration isDuration}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setIsDuration( /** * New value for property `isDuration` */ bIsDuration?: boolean ): this; /** * Sets a new value for property {@link #getLegend legend}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setLegend( /** * New value for property `legend` */ sLegend: string ): this; /** * Sets the aggregated {@link #getResizeShadowShape resizeShadowShape}. * * * @returns Reference to `this` in order to allow method chaining */ setResizeShadowShape( /** * The resizeShadowShape to set */ oResizeShadowShape: sap.gantt.shape.ResizeShadowShape ): this; /** * Sets a new value for property {@link #getRotationAngle rotationAngle}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setRotationAngle( /** * New value for property `rotationAngle` */ fRotationAngle: float ): this; /** * Sets a new value for property {@link #getRotationCenter rotationCenter}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setRotationCenter( /** * New value for property `rotationCenter` */ sRotationCenter: float[] ): this; /** * Sets a new value for property {@link #getRowYCenter rowYCenter}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `7.5`. * * * @returns Reference to `this` in order to allow method chaining */ setRowYCenter( /** * New value for property `rowYCenter` */ fRowYCenter?: float ): this; /** * Sets the aggregated {@link #getSelectedShape selectedShape}. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedShape( /** * The selectedShape to set */ oSelectedShape: sap.gantt.shape.SelectedShape ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeOpacity strokeOpacity}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeOpacity( /** * New value for property `strokeOpacity` */ fStrokeOpacity?: float ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ fStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag: string ): this; /** * Sets a new value for property {@link #getTime time}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTime( /** * New value for property `time` */ sTime: string ): this; /** * Sets a new value for property {@link #getTimeFilterAttribute timeFilterAttribute}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeFilterAttribute( /** * New value for property `timeFilterAttribute` */ sTimeFilterAttribute: string ): this; /** * Sets a new value for property {@link #getTitle title}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle: string ): this; /** * Sets a new value for property {@link #getTransform transform}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTransform( /** * New value for property `transform` */ sTransform: string ): this; /** * Sets a new value for property {@link #getXBias xBias}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setXBias( /** * New value for property `xBias` */ fXBias?: float ): this; /** * Sets a new value for property {@link #getYBias yBias}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setYBias( /** * New value for property `yBias` */ fYBias?: float ): this; } /** * Text shape class using SVG tag 'text'. This shape is usually used to represent points in time. * * * Hello, out there * * * * Normal text Text with line-through Underlined text One word has different underlining * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.BaseText}. */ class Text extends sap.gantt.shape.Shape { /** * Creates and initializes a new Text class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$TextSettings ); /** * Creates and initializes a new Text class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.shape.$TextSettings ); /** * Creates a new subclass of class sap.gantt.shape.Text with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.shape.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.shape.Text. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `ellipsisWidth`. * * Ellipsis width if truncate happens. Default value 12 indicates 12px length reserved for ellipsis. * If the value is -1, no ellipsis appears even truncate happens. If the value is bigger than -1, ellipsis * will be 3 dots in length of this value. * * * @returns Value of property `ellipsisWidth`. */ getEllipsisWidth( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `fontFamily`. * * Text font family. * * * @returns Value of property `fontFamily`. */ getFontFamily( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `fontSize`. * * Text font size. * * * @returns Value of property `fontSize`. */ getFontSize( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `tag`. * * SVG tag name of the shape. **Note:** We do not recommend that you change this value using a configuration * or coding. * * * @returns Value of property `tag`. */ getTag( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `text`. * * Text string. * * * @returns Value of property `text`. */ getText( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `textAnchor`. * * Text anchor. Possible values are 'start', 'middle', and 'end'. * * * @returns Value of property `textAnchor`. */ getTextAnchor( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): string; /** * Gets the value of property `truncateWidth`. * * Truncating width. Default value -1 indicates truncating function is not activated. To enable truncating, * give a truncate width here. If text length exceeds truncate width, text is truncated. * * * @returns Value of property `truncateWidth`. */ getTruncateWidth( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `x`. * * x coordinate of the bottom-left corner of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using property `time`. * If you override the default value calculated by the getter, the alignment of the center is not guaranteed. * * * * @returns Value of property `x`. */ getX( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Gets the value of property `y`. * * y coordinate of the bottom-left corner of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using parameter `oRowInfo` * and property `height` to align the center of the row rectangle along the y axis. If you override the * default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `y`. */ getY( /** * Shape data. */ oData: object, /** * Information about the row and the row data. */ oRowInfo: object ): number; /** * Sets a new value for property {@link #getEllipsisWidth ellipsisWidth}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `12`. * * * @returns Reference to `this` in order to allow method chaining */ setEllipsisWidth( /** * New value for property `ellipsisWidth` */ fEllipsisWidth?: float ): this; /** * Sets a new value for property {@link #getFontFamily fontFamily}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFontFamily( /** * New value for property `fontFamily` */ sFontFamily: string ): this; /** * Sets a new value for property {@link #getFontSize fontSize}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setFontSize( /** * New value for property `fontSize` */ iFontSize?: int ): this; /** * Sets a new value for property {@link #getTag tag}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"text"`. * * * @returns Reference to `this` in order to allow method chaining */ setTag( /** * New value for property `tag` */ sTag?: string ): this; /** * Sets a new value for property {@link #getText text}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText: string ): this; /** * Sets a new value for property {@link #getTextAnchor textAnchor}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"start"`. * * * @returns Reference to `this` in order to allow method chaining */ setTextAnchor( /** * New value for property `textAnchor` */ sTextAnchor?: string ): this; /** * Sets a new value for property {@link #getTruncateWidth truncateWidth}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `-1`. * * * @returns Reference to `this` in order to allow method chaining */ setTruncateWidth( /** * New value for property `truncateWidth` */ fTruncateWidth?: float ): this; /** * Sets a new value for property {@link #getWrapDy wrapDy}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `20`. * * * @returns Reference to `this` in order to allow method chaining */ setWrapDy( /** * New value for property `wrapDy` */ fWrapDy?: float ): this; /** * Sets a new value for property {@link #getWrapWidth wrapWidth}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `-1`. * * * @returns Reference to `this` in order to allow method chaining */ setWrapWidth( /** * New value for property `wrapWidth` */ fWrapWidth?: float ): this; /** * Sets a new value for property {@link #getX x}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ fX: float ): this; /** * Sets a new value for property {@link #getY y}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ fY: float ): this; } /** * Shape Categories. * * Different categories use different Drawers. Therefore, different categories may have different designs * of parameters in their getter methods. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'shape.ShapeCategory'. */ enum ShapeCategory { /** * Shapes attached to one row. */ InRowShape = "InRowShape", /** * Relationship shapes connecting two in-row shape instances. */ Relationship = "relationship", } } namespace axistime { /** * Describes the settings that can be provided to the AxisTimeStrategyBase constructor. */ interface $AxisTimeStrategyBaseSettings extends sap.ui.core.$ElementSettings { /** * Defines granularity levels, labelling formats, and range of the time line. * - granularity level: time span between two neighboring vertical lines. Examples: 12 hours. * - labelling format: time formats for the upper row and lower row in the time line. These two rows do * not have to share the same format. * - range: defines a certain length in pixel. This can be a value, or a function that returns the value. * Gantt Chart loops the granularity levels from the beginning and chooses the first granularity level with * the time span that consumes more than the defined length. For example, if the current range is 90, Gantt * Chart loops the granularity levels from the default initial granularity level 5min. If the 6hour granularity * level consumes 50 pixels, 12hour consumes 100 pixels, and 1Day consumes 200 pixels, the 12hour granularity * level is selected as the current granularity level as it's the first level with the time span that consumes * more than 90 pixels. * * The granularity level is a JSON object with the granularity as the key and some internal information * such as formatting. * * Take the `"12hour"` granularity level for example. * - `"12hour":` - Granularity level ID. * `"innerInterval"` - Time interval between neighboring vertical lines is 12 hours. * `"unit": sap.gantt.config.TimeUnit.day` - Time unit is day. * - `"span": 1` - Span is 1. * - `"range": 90` - This granularity level is selected as the current level if 12 hours is the first * time span that consumes more than 90 pixels to be displayed in the chart area. * - `"selector": (requiredRange) => 90 ` - This granularity level is selected as the current level if * 12 hours is the first time span that consumes more than 90 pixels to be displayed in the chart area. * Selector takes precedence over the range for level selection and provides flexibility to adjust range * or column size in the timeline * - `largeInterval` - Time interval of the upper row in the timeline is 1 day. Formatted in the locale * language with the format string. This zoom level implements an interval larger than the interval in the * default zoom level. * `"unit": sap.gantt.config.TimeUnit.day` Time unit is day. * - `"span": 1` - Time span is 1. * - `"format": "cccc dd.M.yyyy"` - Formats the string in CLDR date/time symbols. * - `"pattern": "yyyy"` -Aa data pattern in LDML format. This setting takes precedence over the setting * of "format". * - `"relativeTime": true` - Specifies whether or not to use relative time mode, which defaults to "false". * When you set this property to "true", Gantt Chart ignores the values of "format" and "pattern". In this * mode, if the largeInterval or the smallInterval of the timeline option uses the "sap.gantt.config.TimeUnit.day" * or "sap.gantt.config.TimeUnit.week" unit, you must set the span to 1. * - `"relativeTimePrefix": "Day"` - A string that specifies the prefix displayed before every relative * time point. For example, if you set this property to "Day", the relative timeline will display "Day 1", * "Day 2", "Day 3", and so on so forth. * - `smallInterval` - Time interval of the lower row in the timeline is 12 hours. Formatted in the locale * language with the format string. This zoom level implements an interval the same as the that of the default * zoom level. * `"unit": sap.gantt.config.TimeUnit.hour` - Time unit is hour. * - `"span": 2` - Time span is 2. * - `"format": "HH:mm"` - Formats the string in CLDR date/time symbols. * - `"relativeTime": false` * * The current granularity setting provides the following values in the default time line option: * `5min`, `10min`, `15min`, `30min`, * `1hour`, `2hour`, `4hour`, `6hour`, `12hour`, * `1day`, `2day`, `4day`, * `1week`, `2week`, * `1month`, `2month`, `4month`, `6month`, * `1year`, `2year`, `5year`. We recommend that you use the default time line option object instead of * creating one by yourself. Because the default time line option object has been precisely calculated and * it fits most use cases. If the default time line option is not the best-fit, you can select a time line * option from the range (coarsestTimeLineOption, 5 years to finestTimeLineOption, 5 minutes) listed above. * Note that creating a new time line option object is a complex process. Moreover, the extra effort may * not serve significant purposes and is likely to cause text overlay in the Gantt Chart header. */ timeLineOptions?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Current time line option of AxisTimeStrategy */ timeLineOption?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Coarsest time line option of AxisTimeStrategy */ coarsestTimeLineOption?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Finest time line option of AxisTimeStrategy */ finestTimeLineOption?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Total number of zoom levels on your zoom control. For example, the step count of Slider control and the * item count of Select control. */ zoomLevels?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Current zoom level of your Gantt chart with 0 representing the initial zoom level. The value of this * property must be lower than that of totalZoomLevels. */ zoomLevel?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configures the calendar type for the Gantt Chart time label. We recommend that you set the type of this * argument to `sap/base/i18n/date/CalendarType`. Otherwise some properties you set may not function properly. */ calendarType?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Configures the locale of the Gantt Chart time label. We recommend that you set the type of this argument * to `sap.ui.core.Locale`. Otherwise some properties you set may not function properly. */ locale?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configures the first day of the week relevant for displaying the Gantt Chart time intervals. * This property has the same value type as {@link sap.ui.core.LocaleData#getFirstDayOfWeek} and by default * uses the value from the current locale. * * @since 1.73 */ firstDayOfWeek?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies the mouse wheel zooming type, which determines the zoom granularity */ mouseWheelZoomType?: | sap.gantt.MouseWheelZoomType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the * global configuration is used. * * @since 1.110.0 */ calendarWeekNumbering?: | import("sap/base/i18n/date/CalendarWeekNumbering").default | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Entire time span Gantt Chart can display in the chart area We recommend that you set the type of this * argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function properly. * * Default totalHorizon value is: `sap.gantt.config.DEFAULT_TOTAL_HORIZON ` */ totalHorizon?: sap.gantt.config.TimeHorizon; /** * Time span Gantt Chart currently displays in the chart area Specifies the start and end points of the * time span that is visible in the chart area. `visibleHorizon` is less than or equal to `totalHorizon`. * You can configure the time horizon using one of the following patterns: * - [startTime, null]: Jump to the position where the start time is on the left edge of the screen without * changing the zoom rate. When you use this pattern, Gantt Chart calculates the endTime according to the * current zoom rate. * - [null, endTime]: Jump to the position where the end time is on the right edge of the screen without * changing the zoom rate. When you use this pattern, Gantt Chart calculates the startTime accoridng to * the current zoom rate. * - [startTime, endTime]: Every strategy has their own implementation to control misc.AxisTime. * * **Note:** Before you set visibleHorizon, you have to set totalHorizon first. We recommend that you set * the type of this argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not * function properly. * * Default visible horizon value is `sap.gantt.config.DEFAULT_VISIBLE_HORIZON` */ visibleHorizon?: sap.gantt.config.TimeHorizon; /** * Specifies the skip time pattern that is to be removed from the gantt timeline. We recommend that you * set the type of this argument to `sap.gantt.skipTime.SkipPattern`. Otherwise, some properties you set * may not function properly. * * Supported in `sap.gantt.axistime.StepwiseZoomStrategy` from 1.126. Supported in `sap.gantt.axistime.ProportionZoomStrategy` * from 1.128. Supported in `sap.gantt.axistime.FullScreenStrategy` from 1.128. * * The default value for skipTimePattern is null. * * @since 1.126 */ skipTimePattern?: sap.gantt.skipTime.SkipPattern; } /** * Describes the settings that can be provided to the FullScreenStrategy constructor. */ interface $FullScreenStrategySettings extends sap.gantt.axistime.$AxisTimeStrategyBaseSettings {} /** * Describes the settings that can be provided to the ProportionZoomStrategy constructor. */ interface $ProportionZoomStrategySettings extends sap.gantt.axistime.$AxisTimeStrategyBaseSettings { /** * Flag to enable millisecond support in the Gantt Chart's timeline. When the flag is enabled, the control * accepts ABAP timestamps in the format of `YYYYMMDDHHMMSSLLL` or JS Date with milliseconds bound to the * total horizon and visible horizon. Additionally, the control appends a millisecond offset to ABAP timestamps * bound to the total horizon and visible horizon in the following format: `YYYYMMDDHHMMSSLLL`. * * @since 1.123 */ enableMillisecondSupport?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the StepwiseZoomStrategy constructor. */ interface $StepwiseZoomStrategySettings extends sap.gantt.axistime.$AxisTimeStrategyBaseSettings {} /** * Base class for all zoom strategies. This base class defines basic properties and aggregations. * * This base class defines: * - Basic properties and aggregations. This class controls the zoom strategies and zoom rate in * Gantt Chart. sap.gantt provides three basic implementations of `AxisTimeStrategy`: * - `sap.gantt.axistime.ProportionZoomStrategy` - A zoom strategy that provides the proportional change * ability. Proportional change ensures that Gantt Chart dynamically adjusts the zoom rate to be the best * fit for rendering shapes in the chart area. This strategy cannot be used by the Select control. * - `sap.gantt.axistime.FullScreenStrategy` - A zoom strategy that sets the value of `totalHorizon` to * the value of `visibleHorizon`. When this strategy is implemented, `visibleHorizon` is fixed. Because * of this, when you scroll the splitter to expand or shrink the chart area, the value of `visibleHorizon` * remains intact, which makes shapes look larger or smaller accordingly. Moreover, the horizontal scroll * bar never appears and the zoom control is deactivated. * - `sap.gantt.axistime.StepwiseZoomStrategy` - A zoom strategy that provides the stepwise change ability * to control the zoom level of Gantt Chart, which is often used by the Select zoom control. */ abstract class AxisTimeStrategyBase extends sap.ui.core.Element { /** * Creates and initializes a new AxisTimeStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new AxisTimeStrategy */ mSettings?: sap.gantt.axistime.$AxisTimeStrategyBaseSettings ); /** * Creates and initializes a new AxisTimeStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new AxisTimeStrategy, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new AxisTimeStrategy */ mSettings?: sap.gantt.axistime.$AxisTimeStrategyBaseSettings ); /** * Creates a new subclass of class sap.gantt.axistime.AxisTimeStrategyBase with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.axistime.AxisTimeStrategyBase >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.axistime.AxisTimeStrategyBase. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Calculates the middle date of the given two dates. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns the middle date */ calMiddleDate( /** * the start date */ dStart: Date, /** * the end date */ dEnd: Date ): Date; /** * Calculate new visible horizon according to specified zoom center and zoom delta * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns a new visible horizon */ calVisibleHorizonByDelta( /** * the delta of visible horizon time range in MS unit */ nTimeSpanDelta: number, /** * optional the time where the zoom center located, if not provided, take the center of current visible * horizon as the zoom center */ oAnchorTime?: Date ): object; /** * Calculate new visible horizon according to specified zoom center and zoom rate * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns a new visible horizon */ calVisibleHorizonByRate( /** * the rate for new visible horizon */ nZoomRate: number, /** * optional the time where the zoom center located, if not provided, take the center of current visible * horizon as the zoom center */ oAnchorTime?: Date ): object; /** * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns whether this._oZoom.base is generated */ calZoomBase(): boolean; /** * @ui5-protected Do not call from applications (only from related classes in the framework) */ calZoomScale(): void; /** * @ui5-protected Do not call from applications (only from related classes in the framework) */ calZoomScaleByDate(): void; /** * Defaults the firstDayOfWeek property to a value from locale if user didn't specify it * * @ui5-protected Do not call from applications (only from related classes in the framework) */ checkFirstDayOfWeek( /** * Map/JSON-object with initial property values, aggregated objects etc. for the new object */ mSettings: object ): void; /** * Creates an AxisTime instance to be used in Gantt Chart. If you build your own AxisTimeStrategy, you may * need to implement this method and return your own AxisTime. */ createAxisTime( /** * Locale configuration passed from GanttChart */ oLocale: sap.gantt.config.Locale ): void; /** * Destroys the skipTimePattern in the aggregation {@link #getSkipTimePattern skipTimePattern}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ destroySkipTimePattern(): this; /** * Destroys the totalHorizon in the aggregation {@link #getTotalHorizon totalHorizon}. * * * @returns Reference to `this` in order to allow method chaining */ destroyTotalHorizon(): this; /** * Destroys the visibleHorizon in the aggregation {@link #getVisibleHorizon visibleHorizon}. * * * @returns Reference to `this` in order to allow method chaining */ destroyVisibleHorizon(): this; /** * Gets current value of property {@link #getCalendarType calendarType}. * * Configures the calendar type for the Gantt Chart time label. We recommend that you set the type of this * argument to `sap/base/i18n/date/CalendarType`. Otherwise some properties you set may not function properly. * * Default value is `CalendarType.Gregorian`. * * * @returns Value of property `calendarType` */ getCalendarType(): string; /** * @since 1.121.0 * * @returns returns given calendar week numbering or from the global configuration */ getCalendarWeekNumbering(): string; /** * Gets current value of property {@link #getCoarsestTimeLineOption coarsestTimeLineOption}. * * Coarsest time line option of AxisTimeStrategy * * * @returns Value of property `coarsestTimeLineOption` */ getCoarsestTimeLineOption(): object; /** * Gets current value of property {@link #getFinestTimeLineOption finestTimeLineOption}. * * Finest time line option of AxisTimeStrategy * * * @returns Value of property `finestTimeLineOption` */ getFinestTimeLineOption(): object; /** * Gets current value of property {@link #getFirstDayOfWeek firstDayOfWeek}. * * Configures the first day of the week relevant for displaying the Gantt Chart time intervals. * This property has the same value type as {@link sap.ui.core.LocaleData#getFirstDayOfWeek} and by default * uses the value from the current locale. * * @since 1.73 * * @returns Value of property `firstDayOfWeek` */ getFirstDayOfWeek(): int; /** * Gets current value of property {@link #getLocale locale}. * * Configures the locale of the Gantt Chart time label. We recommend that you set the type of this argument * to `sap.ui.core.Locale`. Otherwise some properties you set may not function properly. * * * @returns Value of property `locale` */ getLocale(): object; /** * Gets the time label formatter for Gantt Chart to draw the lower row in the timeline. * * * @returns Date formatter */ getLowerRowFormatter(): sap.ui.core.format.DateFormat; /** * Gets current value of property {@link #getMouseWheelZoomType mouseWheelZoomType}. * * Specifies the mouse wheel zooming type, which determines the zoom granularity * * Default value is `FineGranular`. * * * @returns Value of property `mouseWheelZoomType` */ getMouseWheelZoomType(): sap.gantt.MouseWheelZoomType; /** * Gets content of aggregation {@link #getSkipTimePattern skipTimePattern}. * * Specifies the skip time pattern that is to be removed from the gantt timeline. We recommend that you * set the type of this argument to `sap.gantt.skipTime.SkipPattern`. Otherwise, some properties you set * may not function properly. * * Supported in `sap.gantt.axistime.StepwiseZoomStrategy` from 1.126. Supported in `sap.gantt.axistime.ProportionZoomStrategy` * from 1.128. Supported in `sap.gantt.axistime.FullScreenStrategy` from 1.128. * * The default value for skipTimePattern is null. * * @since 1.126 */ getSkipTimePattern(): sap.gantt.skipTime.SkipPattern; /** * Gets current value of property {@link #getTimeLineOption timeLineOption}. * * Current time line option of AxisTimeStrategy * * * @returns Value of property `timeLineOption` */ getTimeLineOption(): object; /** * Gets current value of property {@link #getTimeLineOptions timeLineOptions}. * * Defines granularity levels, labelling formats, and range of the time line. * - granularity level: time span between two neighboring vertical lines. Examples: 12 hours. * - labelling format: time formats for the upper row and lower row in the time line. These two rows do * not have to share the same format. * - range: defines a certain length in pixel. This can be a value, or a function that returns the value. * Gantt Chart loops the granularity levels from the beginning and chooses the first granularity level with * the time span that consumes more than the defined length. For example, if the current range is 90, Gantt * Chart loops the granularity levels from the default initial granularity level 5min. If the 6hour granularity * level consumes 50 pixels, 12hour consumes 100 pixels, and 1Day consumes 200 pixels, the 12hour granularity * level is selected as the current granularity level as it's the first level with the time span that consumes * more than 90 pixels. * * The granularity level is a JSON object with the granularity as the key and some internal information * such as formatting. * * Take the `"12hour"` granularity level for example. * - `"12hour":` - Granularity level ID. * `"innerInterval"` - Time interval between neighboring vertical lines is 12 hours. * `"unit": sap.gantt.config.TimeUnit.day` - Time unit is day. * - `"span": 1` - Span is 1. * - `"range": 90` - This granularity level is selected as the current level if 12 hours is the first * time span that consumes more than 90 pixels to be displayed in the chart area. * - `"selector": (requiredRange) => 90 ` - This granularity level is selected as the current level if * 12 hours is the first time span that consumes more than 90 pixels to be displayed in the chart area. * Selector takes precedence over the range for level selection and provides flexibility to adjust range * or column size in the timeline * - `largeInterval` - Time interval of the upper row in the timeline is 1 day. Formatted in the locale * language with the format string. This zoom level implements an interval larger than the interval in the * default zoom level. * `"unit": sap.gantt.config.TimeUnit.day` Time unit is day. * - `"span": 1` - Time span is 1. * - `"format": "cccc dd.M.yyyy"` - Formats the string in CLDR date/time symbols. * - `"pattern": "yyyy"` -Aa data pattern in LDML format. This setting takes precedence over the setting * of "format". * - `"relativeTime": true` - Specifies whether or not to use relative time mode, which defaults to "false". * When you set this property to "true", Gantt Chart ignores the values of "format" and "pattern". In this * mode, if the largeInterval or the smallInterval of the timeline option uses the "sap.gantt.config.TimeUnit.day" * or "sap.gantt.config.TimeUnit.week" unit, you must set the span to 1. * - `"relativeTimePrefix": "Day"` - A string that specifies the prefix displayed before every relative * time point. For example, if you set this property to "Day", the relative timeline will display "Day 1", * "Day 2", "Day 3", and so on so forth. * - `smallInterval` - Time interval of the lower row in the timeline is 12 hours. Formatted in the locale * language with the format string. This zoom level implements an interval the same as the that of the default * zoom level. * `"unit": sap.gantt.config.TimeUnit.hour` - Time unit is hour. * - `"span": 2` - Time span is 2. * - `"format": "HH:mm"` - Formats the string in CLDR date/time symbols. * - `"relativeTime": false` * * The current granularity setting provides the following values in the default time line option: * `5min`, `10min`, `15min`, `30min`, * `1hour`, `2hour`, `4hour`, `6hour`, `12hour`, * `1day`, `2day`, `4day`, * `1week`, `2week`, * `1month`, `2month`, `4month`, `6month`, * `1year`, `2year`, `5year`. We recommend that you use the default time line option object instead of * creating one by yourself. Because the default time line option object has been precisely calculated and * it fits most use cases. If the default time line option is not the best-fit, you can select a time line * option from the range (coarsestTimeLineOption, 5 years to finestTimeLineOption, 5 minutes) listed above. * Note that creating a new time line option object is a complex process. Moreover, the extra effort may * not serve significant purposes and is likely to cause text overlay in the Gantt Chart header. * * * @returns Value of property `timeLineOptions` */ getTimeLineOptions(): object; /** * Gets content of aggregation {@link #getTotalHorizon totalHorizon}. * * Entire time span Gantt Chart can display in the chart area We recommend that you set the type of this * argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function properly. * * Default totalHorizon value is: `sap.gantt.config.DEFAULT_TOTAL_HORIZON ` */ getTotalHorizon(): sap.gantt.config.TimeHorizon; /** * Gets the time label formatter for Gantt Chart to draw the top row in the timeline. * * * @returns Date formatter */ getUpperRowFormatter(): sap.ui.core.format.DateFormat; /** * Gets content of aggregation {@link #getVisibleHorizon visibleHorizon}. * * Time span Gantt Chart currently displays in the chart area Specifies the start and end points of the * time span that is visible in the chart area. `visibleHorizon` is less than or equal to `totalHorizon`. * You can configure the time horizon using one of the following patterns: * - [startTime, null]: Jump to the position where the start time is on the left edge of the screen without * changing the zoom rate. When you use this pattern, Gantt Chart calculates the endTime according to the * current zoom rate. * - [null, endTime]: Jump to the position where the end time is on the right edge of the screen without * changing the zoom rate. When you use this pattern, Gantt Chart calculates the startTime accoridng to * the current zoom rate. * - [startTime, endTime]: Every strategy has their own implementation to control misc.AxisTime. * * **Note:** Before you set visibleHorizon, you have to set totalHorizon first. We recommend that you set * the type of this argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not * function properly. * * Default visible horizon value is `sap.gantt.config.DEFAULT_VISIBLE_HORIZON` */ getVisibleHorizon(): sap.gantt.config.TimeHorizon; /** * Gets current value of property {@link #getZoomLevel zoomLevel}. * * Current zoom level of your Gantt chart with 0 representing the initial zoom level. The value of this * property must be lower than that of totalZoomLevels. * * Default value is `0`. * * * @returns Value of property `zoomLevel` */ getZoomLevel(): int; /** * Gets current value of property {@link #getZoomLevels zoomLevels}. * * Total number of zoom levels on your zoom control. For example, the step count of Slider control and the * item count of Select control. * * Default value is `10`. * * * @returns Value of property `zoomLevels` */ getZoomLevels(): int; /** * Sets a new value for property {@link #getCalendarType calendarType}. * * Configures the calendar type for the Gantt Chart time label. We recommend that you set the type of this * argument to `sap/base/i18n/date/CalendarType`. Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `CalendarType.Gregorian`. * * * @returns Reference to `this` in order to allow method chaining */ setCalendarType( /** * New value for property `calendarType` */ sCalendarType?: string ): this; /** * Sets a new value for property {@link #getCalendarWeekNumbering calendarWeekNumbering}. * * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the * global configuration is used. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.110.0 * * @returns Reference to `this` in order to allow method chaining */ setCalendarWeekNumbering( /** * New value for property `calendarWeekNumbering` */ sCalendarWeekNumbering?: import("sap/base/i18n/date/CalendarWeekNumbering").default ): this; /** * Sets a new value for property {@link #getCoarsestTimeLineOption coarsestTimeLineOption}. * * Coarsest time line option of AxisTimeStrategy * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCoarsestTimeLineOption( /** * New value for property `coarsestTimeLineOption` */ oCoarsestTimeLineOption: object ): this; /** * Sets a new value for property {@link #getFinestTimeLineOption finestTimeLineOption}. * * Finest time line option of AxisTimeStrategy * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFinestTimeLineOption( /** * New value for property `finestTimeLineOption` */ oFinestTimeLineOption: object ): this; /** * Sets a new value for property {@link #getFirstDayOfWeek firstDayOfWeek}. * * Configures the first day of the week relevant for displaying the Gantt Chart time intervals. * This property has the same value type as {@link sap.ui.core.LocaleData#getFirstDayOfWeek} and by default * uses the value from the current locale. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.73 * * @returns Reference to `this` in order to allow method chaining */ setFirstDayOfWeek( /** * New value for property `firstDayOfWeek` */ iFirstDayOfWeek: int ): this; /** * Sets a new value for property {@link #getLocale locale}. * * Configures the locale of the Gantt Chart time label. We recommend that you set the type of this argument * to `sap.ui.core.Locale`. Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setLocale( /** * New value for property `locale` */ oLocale: object ): this; /** * Sets a new value for property {@link #getMouseWheelZoomType mouseWheelZoomType}. * * Specifies the mouse wheel zooming type, which determines the zoom granularity * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `FineGranular`. * * * @returns Reference to `this` in order to allow method chaining */ setMouseWheelZoomType( /** * New value for property `mouseWheelZoomType` */ sMouseWheelZoomType?: sap.gantt.MouseWheelZoomType ): this; /** * Sets the skip time pattern for gantt chart */ setSkipTimePattern( /** * Skip time pattern to be set */ oSkipTimePattern: sap.gantt.skipTime.SkipPattern, /** * Flag to suppress re-rendering of the control */ bSuppressInvalidate: Boolean ): void; /** * Sets a new value for property {@link #getTimeLineOption timeLineOption}. * * Current time line option of AxisTimeStrategy * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeLineOption( /** * New value for property `timeLineOption` */ oTimeLineOption: object ): this; /** * Sets a new value for property {@link #getTimeLineOptions timeLineOptions}. * * Defines granularity levels, labelling formats, and range of the time line. * - granularity level: time span between two neighboring vertical lines. Examples: 12 hours. * - labelling format: time formats for the upper row and lower row in the time line. These two rows do * not have to share the same format. * - range: defines a certain length in pixel. This can be a value, or a function that returns the value. * Gantt Chart loops the granularity levels from the beginning and chooses the first granularity level with * the time span that consumes more than the defined length. For example, if the current range is 90, Gantt * Chart loops the granularity levels from the default initial granularity level 5min. If the 6hour granularity * level consumes 50 pixels, 12hour consumes 100 pixels, and 1Day consumes 200 pixels, the 12hour granularity * level is selected as the current granularity level as it's the first level with the time span that consumes * more than 90 pixels. * * The granularity level is a JSON object with the granularity as the key and some internal information * such as formatting. * * Take the `"12hour"` granularity level for example. * - `"12hour":` - Granularity level ID. * `"innerInterval"` - Time interval between neighboring vertical lines is 12 hours. * `"unit": sap.gantt.config.TimeUnit.day` - Time unit is day. * - `"span": 1` - Span is 1. * - `"range": 90` - This granularity level is selected as the current level if 12 hours is the first * time span that consumes more than 90 pixels to be displayed in the chart area. * - `"selector": (requiredRange) => 90 ` - This granularity level is selected as the current level if * 12 hours is the first time span that consumes more than 90 pixels to be displayed in the chart area. * Selector takes precedence over the range for level selection and provides flexibility to adjust range * or column size in the timeline * - `largeInterval` - Time interval of the upper row in the timeline is 1 day. Formatted in the locale * language with the format string. This zoom level implements an interval larger than the interval in the * default zoom level. * `"unit": sap.gantt.config.TimeUnit.day` Time unit is day. * - `"span": 1` - Time span is 1. * - `"format": "cccc dd.M.yyyy"` - Formats the string in CLDR date/time symbols. * - `"pattern": "yyyy"` -Aa data pattern in LDML format. This setting takes precedence over the setting * of "format". * - `"relativeTime": true` - Specifies whether or not to use relative time mode, which defaults to "false". * When you set this property to "true", Gantt Chart ignores the values of "format" and "pattern". In this * mode, if the largeInterval or the smallInterval of the timeline option uses the "sap.gantt.config.TimeUnit.day" * or "sap.gantt.config.TimeUnit.week" unit, you must set the span to 1. * - `"relativeTimePrefix": "Day"` - A string that specifies the prefix displayed before every relative * time point. For example, if you set this property to "Day", the relative timeline will display "Day 1", * "Day 2", "Day 3", and so on so forth. * - `smallInterval` - Time interval of the lower row in the timeline is 12 hours. Formatted in the locale * language with the format string. This zoom level implements an interval the same as the that of the default * zoom level. * `"unit": sap.gantt.config.TimeUnit.hour` - Time unit is hour. * - `"span": 2` - Time span is 2. * - `"format": "HH:mm"` - Formats the string in CLDR date/time symbols. * - `"relativeTime": false` * * The current granularity setting provides the following values in the default time line option: * `5min`, `10min`, `15min`, `30min`, * `1hour`, `2hour`, `4hour`, `6hour`, `12hour`, * `1day`, `2day`, `4day`, * `1week`, `2week`, * `1month`, `2month`, `4month`, `6month`, * `1year`, `2year`, `5year`. We recommend that you use the default time line option object instead of * creating one by yourself. Because the default time line option object has been precisely calculated and * it fits most use cases. If the default time line option is not the best-fit, you can select a time line * option from the range (coarsestTimeLineOption, 5 years to finestTimeLineOption, 5 minutes) listed above. * Note that creating a new time line option object is a complex process. Moreover, the extra effort may * not serve significant purposes and is likely to cause text overlay in the Gantt Chart header. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeLineOptions( /** * New value for property `timeLineOptions` */ oTimeLineOptions: object ): this; /** * Sets the aggregated {@link #getTotalHorizon totalHorizon}. * * * @returns Reference to `this` in order to allow method chaining */ setTotalHorizon( /** * The totalHorizon to set */ oTotalHorizon: sap.gantt.config.TimeHorizon ): this; /** * Sets the aggregated {@link #getVisibleHorizon visibleHorizon}. * * * @returns Reference to `this` in order to allow method chaining */ setVisibleHorizon( /** * The visibleHorizon to set */ oVisibleHorizon: sap.gantt.config.TimeHorizon ): this; /** * Sets a new value for property {@link #getZoomLevel zoomLevel}. * * Current zoom level of your Gantt chart with 0 representing the initial zoom level. The value of this * property must be lower than that of totalZoomLevels. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setZoomLevel( /** * New value for property `zoomLevel` */ iZoomLevel?: int ): this; /** * Sets a new value for property {@link #getZoomLevels zoomLevels}. * * Total number of zoom levels on your zoom control. For example, the step count of Slider control and the * item count of Select control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setZoomLevels( /** * New value for property `zoomLevels` */ iZoomLevels?: int ): this; /** * In the shape drawing process, Gantt Chart calls this function to get the latest information about Stop * and AxisTime. Moreover, when you run this function, AxisTimeStrategy updates the GanttChart status such * as the zoom rate of AxisTime. * * * @returns The status plain object about AxisTimeStrategy. The return contains two properties `zoomLevel` * and `axisTimeChanged`. */ syncContext( /** * Width of the visible area in Gantt Chart */ nClientWidth: int ): object; /** * This is the delegate function of the zoom control event, such as the zoom in or zoom out event. You must * implement your zoom level change logic. */ updateStopInfo( /** * Zoom stop information, which contains the parameters `key` and `text`. */ oStopInfo: object ): void; /** * Calculate and set new visible horizon for fine granular mouse wheel zoom * * @ui5-protected Do not call from applications (only from related classes in the framework) */ updateVisibleHorizonOnFineGranularMouseWheelZoom( /** * the time where mouse pointer located during the zooming */ oTimeAtZoomCenter: Date, /** * true if zoom in, false if zoom out */ bZoomIn: boolean, /** * the scroll range of each mouse wheel scrolling / 100, serves as a coefficient when calculating zoom delta */ iZoomFactor: number ): void; /** * update visible horizon for mouse wheel zoom according to configured zoom type * * @ui5-protected Do not call from applications (only from related classes in the framework) */ updateVisibleHorizonOnMouseWheelZoom( /** * the time where mouse pointer located during the zooming */ oTimeAtZoomCenter: Date, /** * the range of each mouse wheel scrolling */ iScrollDelta: number ): void; /** * Calculate and set new visible horizon for step-wise mouse wheel zoom * * @ui5-protected Do not call from applications (only from related classes in the framework) */ updateVisibleHorizonOnStepWiseMouseWheelZoom( /** * the time where mouse pointer located during the zooming */ oTimeAtZoomCenter: Date, /** * true if zoom in, false if zoom out */ bZoomIn: boolean, /** * the scroll range of each mouse wheel scrolling / 100, serves as a coefficient when calculating zoom delta */ iZoomFactor: number ): void; } /** * FullScreenStrategy * * A zoom strategy that sets the value of `totalHorizon` to the value of `visibleHorizon`. When this * strategy is implemented, `visibleHorizon` is fixed. Because of this, when you scroll the splitter to * expand or shrink the chart area, the value of `visibleHorizon` remains intact, which makes shapes look * larger or smaller accordingly. Moreover, the horizontal scroll bar never appears and the zoom control * is deactivated. */ class FullScreenStrategy extends sap.gantt.axistime.AxisTimeStrategyBase { /** * Creates and initializes a FullScreenStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.axistime.AxisTimeStrategyBase#constructor sap.gantt.axistime.AxisTimeStrategyBase } * can be used. */ constructor( /** * Initial settings for the new AxisTimeStrategy */ mSettings?: sap.gantt.axistime.$FullScreenStrategySettings ); /** * Creates and initializes a FullScreenStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.axistime.AxisTimeStrategyBase#constructor sap.gantt.axistime.AxisTimeStrategyBase } * can be used. */ constructor( /** * ID for the new AxisTimeStrategy, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new AxisTimeStrategy */ mSettings?: sap.gantt.axistime.$FullScreenStrategySettings ); /** * Creates a new subclass of class sap.gantt.axistime.FullScreenStrategy with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.axistime.AxisTimeStrategyBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.axistime.FullScreenStrategy. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; } /** * ProportionZoomStrategy * * A zoom strategy that provides the proportional change ability. Proportional change ensures that Gantt * Chart dynamically adjusts the zoom rate to be the best fit for rendering shapes in the chart area. This * strategy cannot be used by the Select control. */ class ProportionZoomStrategy extends sap.gantt.axistime .AxisTimeStrategyBase { /** * Creates and initializes a ProportionZoomStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new AxisTimeStrategy */ mSettings?: sap.gantt.axistime.$ProportionZoomStrategySettings ); /** * Creates and initializes a ProportionZoomStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new AxisTimeStrategy, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new AxisTimeStrategy */ mSettings?: sap.gantt.axistime.$ProportionZoomStrategySettings ); /** * Creates a new subclass of class sap.gantt.axistime.ProportionZoomStrategy with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.axistime.AxisTimeStrategyBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.axistime.ProportionZoomStrategy >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.axistime.ProportionZoomStrategy. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEnableMillisecondSupport enableMillisecondSupport}. * * Flag to enable millisecond support in the Gantt Chart's timeline. When the flag is enabled, the control * accepts ABAP timestamps in the format of `YYYYMMDDHHMMSSLLL` or JS Date with milliseconds bound to the * total horizon and visible horizon. Additionally, the control appends a millisecond offset to ABAP timestamps * bound to the total horizon and visible horizon in the following format: `YYYYMMDDHHMMSSLLL`. * * Default value is `false`. * * @since 1.123 * * @returns Value of property `enableMillisecondSupport` */ getEnableMillisecondSupport(): boolean; /** * Flag to enable millisecond support in the Gantt Chart's timeline. When the flag is enabled, the control * accepts ABAP timestamps in the format of `YYYYMMDDHHMMSSLLL` or JS Date with milliseconds bound to the * total horizon and visible horizon. * * @since 1.123 * * @returns zoom strategy aggregation */ setEnableMillisecondSupport( /** * value to enable or disable */ bValue: boolean ): this; } /** * The class allows you to define a zoom strategy whose time line options are stepwise, i.e. the width of * each time line option is pre-defined and won't be changed during zooming. */ class StepwiseZoomStrategy extends sap.gantt.axistime .AxisTimeStrategyBase { /** * Constructor for a new StepwiseZoomStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.axistime.AxisTimeStrategyBase#constructor sap.gantt.axistime.AxisTimeStrategyBase } * can be used. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.axistime.$StepwiseZoomStrategySettings ); /** * Constructor for a new StepwiseZoomStrategy. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.gantt.axistime.AxisTimeStrategyBase#constructor sap.gantt.axistime.AxisTimeStrategyBase } * can be used. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.axistime.$StepwiseZoomStrategySettings ); /** * Creates a new subclass of class sap.gantt.axistime.StepwiseZoomStrategy with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.axistime.AxisTimeStrategyBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.axistime.StepwiseZoomStrategy >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.axistime.StepwiseZoomStrategy. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Return total horizon time. The value will be changed according to zoom level, and is not same as the * value user set. */ getTotalHorizon(): sap.gantt.config.TimeHorizon; /** * Don't use this method to set coarsestTimeLineOption because its value is determined by timeLineOptions. * The last entry of timeLineOptions is coarsestTimeLineOption. * * * @returns for chaining */ setCoarsestTimeLineOption( /** * coarsest time line option of StepwiseZoomStrategy */ oTimeLineOption: object ): this; /** * Don't use this method to set finestTimeLineOption because its value is determined by timeLineOptions. * The first entry of timeLineOptions is finestTimeLineOption. * * * @returns for chaining */ setFinestTimeLineOption( /** * finest time line option of StepwiseZoomStrategy */ oTimeLineOption: object ): this; /** * Sets the time line options of StepwiseZoomStrategy. * * * @returns for chaining */ setTimeLineOptions( /** * time line options of StepwiseZoomStrategy */ oTimeLineOptions: object ): this; /** * Sets the total horizon of StepwiseZoomStrategy. The time range and view range of this.getAxisTime() will * also be updated, the rate will remain unchanged. * * * @returns for chaining */ setTotalHorizon( /** * total horizon of StepwiseZoomStrategy */ oTotalHorizon: object ): this; /** * Sets the visible horizon of StepwiseZoomStrategy. Don't use this method to set visible horizon because * its value is determined by zoomLevel or timeLineoption. * * * @returns for chaining */ setVisibleHorizon( /** * visible horizon of StepwiseZoomStrategy */ oVisibleHorizon: object ): this; /** * Don't use this method to set zoomLevels because its value is determined by timeLineOptions. The account * of entities in timeLineOptions is zoomLevels. * * * @returns for chaining */ setZoomLevels( /** * zoom levels of StepwiseZoomStrategy */ iZoomLevels: int ): this; /** * This method does below things: 1. Sets time line option according to the stop info object. 2. Sets zoom * level according to the stop info object. The setter of zoom level does some additional things. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns for chaining */ updateStopInfo( /** * Zoom stop information, which contains the parameters `key` and `text`. */ oStopInfo: object ): this; } } namespace control { /** * Describes the settings that can be provided to the Cell constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $CellSettings extends sap.ui.core.$ControlSettings { /** * Cell callback function that returns the specific control instance which is rendered in a table. */ cellCallback?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Column configuration object. We recommend that you set the type of this argument to `sap.gantt.config.HierarchyColumn`. * Otherwise some properties you set may not function properly. */ columnConfig?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * 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. * * @deprecated As of version 1.64. the concept has been discarded. */ class Cell extends sap.ui.core.Control { /** * 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 {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.control.$CellSettings ); /** * 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 {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.control.$CellSettings ); /** * 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 {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.control.Cell. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Provide accessibility support for control Cell * See: * {sap.ui.core.Control#getAccessibilityInfo} * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Current accessibility state of the control. */ getAccessibilityInfo(): object; /** * Gets current value of property {@link #getCellCallback cellCallback}. * * Cell callback function that returns the specific control instance which is rendered in a table. * * * @returns Value of property `cellCallback` */ getCellCallback(): object; /** * Gets current value of property {@link #getColumnConfig columnConfig}. * * Column configuration object. We recommend that you set the type of this argument to `sap.gantt.config.HierarchyColumn`. * Otherwise some properties you set may not function properly. * * * @returns Value of property `columnConfig` */ getColumnConfig(): object; /** * Sets a new value for property {@link #getCellCallback 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. * * * @returns Reference to `this` in order to allow method chaining */ setCellCallback( /** * New value for property `cellCallback` */ oCellCallback: object ): this; /** * Sets a new value for property {@link #getColumnConfig columnConfig}. * * Column configuration object. We recommend that you set the type of this argument to `sap.gantt.config.HierarchyColumn`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setColumnConfig( /** * New value for property `columnConfig` */ oColumnConfig: object ): this; } } namespace def { namespace cal { /** * Describes the settings that can be provided to the Calendar constructor. */ interface $CalendarSettings extends sap.gantt.def.$DefBaseSettings { /** * Key of the calendar. Note that this value is used to generate the referencing string of the calendar * pattern. */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Background color of time intervals. */ backgroundColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Time intervals that should be painted with the value of `backgroundColor`. */ timeIntervals?: | sap.gantt.def.cal.TimeInterval[] | sap.gantt.def.cal.TimeInterval | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the CalendarDefs constructor. */ interface $CalendarDefsSettings extends sap.gantt.def.$SvgDefsSettings { /** * @since 1.91 */ defs1?: | sap.gantt.def.DefBase[] | sap.gantt.def.DefBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ defs2?: | sap.gantt.def.DefBase[] | sap.gantt.def.DefBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ defs3?: | sap.gantt.def.DefBase[] | sap.gantt.def.DefBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ defs4?: | sap.gantt.def.DefBase[] | sap.gantt.def.DefBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ defs5?: | sap.gantt.def.DefBase[] | sap.gantt.def.DefBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the TimeInterval constructor. */ interface $TimeIntervalSettings extends sap.gantt.def.$DefBaseSettings { /** * Start Time of timeHorizon. Format: YYYYMMDDHHMMSS. If the type of startTime is object, the value is converted * to string. */ startTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * End time of timeHorizon. Format: YYYYMMDDHHMMSS. If the type of startTime is object, the value is converted * to string. */ endTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * A calendar that contains a list of time interval definitions. * * A pattern definition is generated per calendar key. */ class Calendar extends sap.gantt.def.DefBase { /** * Creates and initializes a calendar defined and embedded in a 'defs' tag for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.cal.$CalendarSettings ); /** * Creates and initializes a calendar defined and embedded in a 'defs' tag for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.cal.$CalendarSettings ); /** * Creates a new subclass of class sap.gantt.def.cal.Calendar with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.cal.Calendar. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some timeInterval to the aggregation {@link #getTimeIntervals timeIntervals}. * * * @returns Reference to `this` in order to allow method chaining */ addTimeInterval( /** * The timeInterval to add; if empty, nothing is inserted */ oTimeInterval: sap.gantt.def.cal.TimeInterval ): this; /** * Binds aggregation {@link #getTimeIntervals timeIntervals} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindTimeIntervals( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Destroys all the timeIntervals in the aggregation {@link #getTimeIntervals timeIntervals}. * * * @returns Reference to `this` in order to allow method chaining */ destroyTimeIntervals(): this; /** * Gets current value of property {@link #getKey key}. * * Key of the calendar. Note that this value is used to generate the referencing string of the calendar * pattern. * * Default value is `"calendar"`. * * * @returns Value of property `key` */ getKey(): string; /** * Gets content of aggregation {@link #getTimeIntervals timeIntervals}. * * Time intervals that should be painted with the value of `backgroundColor`. */ getTimeIntervals(): sap.gantt.def.cal.TimeInterval[]; /** * Checks for the provided `sap.gantt.def.cal.TimeInterval` in the aggregation {@link #getTimeIntervals timeIntervals}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfTimeInterval( /** * The timeInterval whose index is looked for */ oTimeInterval: sap.gantt.def.cal.TimeInterval ): int; /** * Inserts a timeInterval into the aggregation {@link #getTimeIntervals timeIntervals}. * * * @returns Reference to `this` in order to allow method chaining */ insertTimeInterval( /** * The timeInterval to insert; if empty, nothing is inserted */ oTimeInterval: sap.gantt.def.cal.TimeInterval, /** * The `0`-based index the timeInterval should be inserted at; for a negative value of `iIndex`, the timeInterval * is inserted at position 0; for a value greater than the current size of the aggregation, the timeInterval * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getTimeIntervals timeIntervals}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllTimeIntervals(): sap.gantt.def.cal.TimeInterval[]; /** * Removes a timeInterval from the aggregation {@link #getTimeIntervals timeIntervals}. * * * @returns The removed timeInterval or `null` */ removeTimeInterval( /** * The timeInterval to remove or its index or id */ vTimeInterval: int | string | sap.gantt.def.cal.TimeInterval ): sap.gantt.def.cal.TimeInterval | null; /** * Sets a new value for property {@link #getBackgroundColor backgroundColor}. * * Background color of time intervals. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_Neutral_Plus2"`. * * * @returns Reference to `this` in order to allow method chaining */ setBackgroundColor( /** * New value for property `backgroundColor` */ sBackgroundColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getKey key}. * * Key of the calendar. Note that this value is used to generate the referencing string of the calendar * pattern. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"calendar"`. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Unbinds aggregation {@link #getTimeIntervals timeIntervals} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindTimeIntervals(): this; } /** * Calendar pattern definition. This class generates the 'defs' tag from the 'defs' aggregation. * * Calendar (for non-working hours) is a widely used graphic element in a Gantt chart. Calendar is considered * to be highly reusable between different rows of resources. A default implementation of patterns is provided. * After calendars are rendered from def tags, shape `sap.gantt.shape.cal.Calendar` can be used to consume * the calendar pattern definition. * * This class is extended to provide a specific logic for generating referencing strings for calendar patterns. */ class CalendarDefs extends sap.gantt.def.SvgDefs { /** * Specific 'def' elements for the calendar. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.cal.$CalendarDefsSettings ); /** * Specific 'def' elements for the calendar. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.cal.$CalendarDefsSettings ); /** * Creates a new subclass of class sap.gantt.def.cal.CalendarDefs with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.SvgDefs.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.cal.CalendarDefs. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.base.ManagedObjectMetadata; /** * Adds some def1 to the aggregation {@link #getDefs1 defs1}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addDef1( /** * The def1 to add; if empty, nothing is inserted */ oDef1: sap.gantt.def.DefBase ): this; /** * Adds some def2 to the aggregation {@link #getDefs2 defs2}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addDef2( /** * The def2 to add; if empty, nothing is inserted */ oDef2: sap.gantt.def.DefBase ): this; /** * Adds some def3 to the aggregation {@link #getDefs3 defs3}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addDef3( /** * The def3 to add; if empty, nothing is inserted */ oDef3: sap.gantt.def.DefBase ): this; /** * Adds some def4 to the aggregation {@link #getDefs4 defs4}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addDef4( /** * The def4 to add; if empty, nothing is inserted */ oDef4: sap.gantt.def.DefBase ): this; /** * Adds some def5 to the aggregation {@link #getDefs5 defs5}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addDef5( /** * The def5 to add; if empty, nothing is inserted */ oDef5: sap.gantt.def.DefBase ): this; /** * Binds aggregation {@link #getDefs1 defs1} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ bindDefs1( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getDefs2 defs2} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ bindDefs2( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getDefs3 defs3} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ bindDefs3( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getDefs4 defs4} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ bindDefs4( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getDefs5 defs5} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ bindDefs5( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Destroys all the defs1 in the aggregation {@link #getDefs1 defs1}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyDefs1(): this; /** * Destroys all the defs2 in the aggregation {@link #getDefs2 defs2}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyDefs2(): this; /** * Destroys all the defs3 in the aggregation {@link #getDefs3 defs3}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyDefs3(): this; /** * Destroys all the defs4 in the aggregation {@link #getDefs4 defs4}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyDefs4(): this; /** * Destroys all the defs5 in the aggregation {@link #getDefs5 defs5}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyDefs5(): this; /** * Gets content of aggregation {@link #getDefs1 defs1}. * * @since 1.91 */ getDefs1(): sap.gantt.def.DefBase[]; /** * Gets content of aggregation {@link #getDefs2 defs2}. * * @since 1.91 */ getDefs2(): sap.gantt.def.DefBase[]; /** * Gets content of aggregation {@link #getDefs3 defs3}. * * @since 1.91 */ getDefs3(): sap.gantt.def.DefBase[]; /** * Gets content of aggregation {@link #getDefs4 defs4}. * * @since 1.91 */ getDefs4(): sap.gantt.def.DefBase[]; /** * Gets content of aggregation {@link #getDefs5 defs5}. * * @since 1.91 */ getDefs5(): sap.gantt.def.DefBase[]; /** * Checks for the provided `sap.gantt.def.DefBase` in the aggregation {@link #getDefs1 defs1}. and returns * its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDef1( /** * The def1 whose index is looked for */ oDef1: sap.gantt.def.DefBase ): int; /** * Checks for the provided `sap.gantt.def.DefBase` in the aggregation {@link #getDefs2 defs2}. and returns * its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDef2( /** * The def2 whose index is looked for */ oDef2: sap.gantt.def.DefBase ): int; /** * Checks for the provided `sap.gantt.def.DefBase` in the aggregation {@link #getDefs3 defs3}. and returns * its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDef3( /** * The def3 whose index is looked for */ oDef3: sap.gantt.def.DefBase ): int; /** * Checks for the provided `sap.gantt.def.DefBase` in the aggregation {@link #getDefs4 defs4}. and returns * its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDef4( /** * The def4 whose index is looked for */ oDef4: sap.gantt.def.DefBase ): int; /** * Checks for the provided `sap.gantt.def.DefBase` in the aggregation {@link #getDefs5 defs5}. and returns * its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDef5( /** * The def5 whose index is looked for */ oDef5: sap.gantt.def.DefBase ): int; /** * Inserts a def1 into the aggregation {@link #getDefs1 defs1}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertDef1( /** * The def1 to insert; if empty, nothing is inserted */ oDef1: sap.gantt.def.DefBase, /** * The `0`-based index the def1 should be inserted at; for a negative value of `iIndex`, the def1 is inserted * at position 0; for a value greater than the current size of the aggregation, the def1 is inserted at * the last position */ iIndex: int ): this; /** * Inserts a def2 into the aggregation {@link #getDefs2 defs2}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertDef2( /** * The def2 to insert; if empty, nothing is inserted */ oDef2: sap.gantt.def.DefBase, /** * The `0`-based index the def2 should be inserted at; for a negative value of `iIndex`, the def2 is inserted * at position 0; for a value greater than the current size of the aggregation, the def2 is inserted at * the last position */ iIndex: int ): this; /** * Inserts a def3 into the aggregation {@link #getDefs3 defs3}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertDef3( /** * The def3 to insert; if empty, nothing is inserted */ oDef3: sap.gantt.def.DefBase, /** * The `0`-based index the def3 should be inserted at; for a negative value of `iIndex`, the def3 is inserted * at position 0; for a value greater than the current size of the aggregation, the def3 is inserted at * the last position */ iIndex: int ): this; /** * Inserts a def4 into the aggregation {@link #getDefs4 defs4}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertDef4( /** * The def4 to insert; if empty, nothing is inserted */ oDef4: sap.gantt.def.DefBase, /** * The `0`-based index the def4 should be inserted at; for a negative value of `iIndex`, the def4 is inserted * at position 0; for a value greater than the current size of the aggregation, the def4 is inserted at * the last position */ iIndex: int ): this; /** * Inserts a def5 into the aggregation {@link #getDefs5 defs5}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertDef5( /** * The def5 to insert; if empty, nothing is inserted */ oDef5: sap.gantt.def.DefBase, /** * The `0`-based index the def5 should be inserted at; for a negative value of `iIndex`, the def5 is inserted * at position 0; for a value greater than the current size of the aggregation, the def5 is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getDefs1 defs1}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllDefs1(): sap.gantt.def.DefBase[]; /** * Removes all the controls from the aggregation {@link #getDefs2 defs2}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllDefs2(): sap.gantt.def.DefBase[]; /** * Removes all the controls from the aggregation {@link #getDefs3 defs3}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllDefs3(): sap.gantt.def.DefBase[]; /** * Removes all the controls from the aggregation {@link #getDefs4 defs4}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllDefs4(): sap.gantt.def.DefBase[]; /** * Removes all the controls from the aggregation {@link #getDefs5 defs5}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllDefs5(): sap.gantt.def.DefBase[]; /** * Removes a def1 from the aggregation {@link #getDefs1 defs1}. * * @since 1.91 * * @returns The removed def1 or `null` */ removeDef1( /** * The def1 to remove or its index or id */ vDef1: int | string | sap.gantt.def.DefBase ): sap.gantt.def.DefBase | null; /** * Removes a def2 from the aggregation {@link #getDefs2 defs2}. * * @since 1.91 * * @returns The removed def2 or `null` */ removeDef2( /** * The def2 to remove or its index or id */ vDef2: int | string | sap.gantt.def.DefBase ): sap.gantt.def.DefBase | null; /** * Removes a def3 from the aggregation {@link #getDefs3 defs3}. * * @since 1.91 * * @returns The removed def3 or `null` */ removeDef3( /** * The def3 to remove or its index or id */ vDef3: int | string | sap.gantt.def.DefBase ): sap.gantt.def.DefBase | null; /** * Removes a def4 from the aggregation {@link #getDefs4 defs4}. * * @since 1.91 * * @returns The removed def4 or `null` */ removeDef4( /** * The def4 to remove or its index or id */ vDef4: int | string | sap.gantt.def.DefBase ): sap.gantt.def.DefBase | null; /** * Removes a def5 from the aggregation {@link #getDefs5 defs5}. * * @since 1.91 * * @returns The removed def5 or `null` */ removeDef5( /** * The def5 to remove or its index or id */ vDef5: int | string | sap.gantt.def.DefBase ): sap.gantt.def.DefBase | null; /** * Unbinds aggregation {@link #getDefs1 defs1} from model data. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ unbindDefs1(): this; /** * Unbinds aggregation {@link #getDefs2 defs2} from model data. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ unbindDefs2(): this; /** * Unbinds aggregation {@link #getDefs3 defs3} from model data. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ unbindDefs3(): this; /** * Unbinds aggregation {@link #getDefs4 defs4} from model data. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ unbindDefs4(): this; /** * Unbinds aggregation {@link #getDefs5 defs5} from model data. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ unbindDefs5(): this; } /** * A time interval pattern. */ class TimeInterval extends sap.gantt.def.DefBase { /** * Creates and initializes a time interval inside the calendar. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new element */ mSettings?: sap.gantt.def.cal.$TimeIntervalSettings ); /** * Creates and initializes a time interval inside the calendar. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new element, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new element */ mSettings?: sap.gantt.def.cal.$TimeIntervalSettings ); /** * Creates a new subclass of class sap.gantt.def.cal.TimeInterval with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.cal.TimeInterval. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEndTime endTime}. * * End time of timeHorizon. Format: YYYYMMDDHHMMSS. If the type of startTime is object, the value is converted * to string. * * * @returns Value of property `endTime` */ getEndTime(): string; /** * Gets current value of property {@link #getStartTime startTime}. * * Start Time of timeHorizon. Format: YYYYMMDDHHMMSS. If the type of startTime is object, the value is converted * to string. * * * @returns Value of property `startTime` */ getStartTime(): string; /** * Sets a new value for property {@link #getEndTime endTime}. * * End time of timeHorizon. Format: YYYYMMDDHHMMSS. If the type of startTime is object, the value is converted * to string. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setEndTime( /** * New value for property `endTime` */ sEndTime?: string ): this; /** * Sets a new value for property {@link #getStartTime startTime}. * * Start Time of timeHorizon. Format: YYYYMMDDHHMMSS. If the type of startTime is object, the value is converted * to string. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStartTime( /** * New value for property `startTime` */ sStartTime?: string ): this; } } namespace filter { /** * Describes the settings that can be provided to the MorphologyFilter constructor. */ interface $MorphologyFilterSettings extends sap.gantt.def.$DefBaseSettings { /** * Atrribute of SVG tag 'feMorphology'. Possible values are in {@link sap.gantt.def.filter.MorphologyOperator}. */ operator?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute of SVG tag 'feMorphology'. */ radius?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute of SVG tag 'feColorMatrix'. Predefined values are in {@link sap.gantt.def.filter.ColorMatrixValue}. * Advanced users can provide a customized matrix in string. */ colorMatrix?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * This filter is a combination of several filters. The main one is morphology. * * The purpose of this filter is to generate a white outline of a target shape when the target is overlapping * with other shapes. In general this filter is recommended to be used only on 'text' and 'image' whose * outline is very hard to determine. For regular SVG tags like 'rect', 'circle' etc, use the 'stroke' attribute * instead if possible. This is because filters in general have worse performance. * Tags used in this filter are: * - 'femorphology': Use operator 'dilate' to make a fatter shape of the source shape. * - 'feColorMatrix': Fills fatter shape. The default matrix turns every color into white. * - 'feMerge': Merges the source shape into the fatter shape to produce an outline effect on the target * shape. Effect of this filter is: * * * Can * you see me? How about now? */ class MorphologyFilter extends sap.gantt.def.DefBase { /** * Creates and initializes a morphology filter defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.filter.$MorphologyFilterSettings ); /** * Creates and initializes a morphology filter defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.filter.$MorphologyFilterSettings ); /** * Creates a new subclass of class sap.gantt.def.filter.MorphologyFilter with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.def.filter.MorphologyFilter >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.filter.MorphologyFilter. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getColorMatrix colorMatrix}. * * Attribute of SVG tag 'feColorMatrix'. Predefined values are in {@link sap.gantt.def.filter.ColorMatrixValue}. * Advanced users can provide a customized matrix in string. * * Default value is `library.def.filter.ColorMatrixValue.AllToWhite`. * * * @returns Value of property `colorMatrix` */ getColorMatrix(): string; /** * Gets current value of property {@link #getOperator operator}. * * Atrribute of SVG tag 'feMorphology'. Possible values are in {@link sap.gantt.def.filter.MorphologyOperator}. * * Default value is `library.def.filter.MorphologyOperator.Dilate`. * * * @returns Value of property `operator` */ getOperator(): string; /** * Gets current value of property {@link #getRadius radius}. * * Attribute of SVG tag 'feMorphology'. * * Default value is `"2,1"`. * * * @returns Value of property `radius` */ getRadius(): string; /** * Sets a new value for property {@link #getColorMatrix colorMatrix}. * * Attribute of SVG tag 'feColorMatrix'. Predefined values are in {@link sap.gantt.def.filter.ColorMatrixValue}. * Advanced users can provide a customized matrix in string. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.def.filter.ColorMatrixValue.AllToWhite`. * * * @returns Reference to `this` in order to allow method chaining */ setColorMatrix( /** * New value for property `colorMatrix` */ sColorMatrix?: string ): this; /** * Sets a new value for property {@link #getOperator operator}. * * Atrribute of SVG tag 'feMorphology'. Possible values are in {@link sap.gantt.def.filter.MorphologyOperator}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.def.filter.MorphologyOperator.Dilate`. * * * @returns Reference to `this` in order to allow method chaining */ setOperator( /** * New value for property `operator` */ sOperator?: string ): this; /** * Sets a new value for property {@link #getRadius radius}. * * Attribute of SVG tag 'feMorphology'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"2,1"`. * * * @returns Reference to `this` in order to allow method chaining */ setRadius( /** * New value for property `radius` */ sRadius?: string ): this; } /** * Color Matrix Values. * * The matrix decides what target color from source color. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'def.filter.ColorMatrixValue'. */ enum ColorMatrixValue { /** * Turns every color to black. */ AllToBlack = "-1 0 0 0 0, 0 -1 0 0 0, 0 0 -1 0 0, 0 0 0 1 0", /** * Turns every color to white. */ AllToWhite = "-1 0 0 0 1, 0 -1 0 0 1, 0 0 -1 0 1, 0 0 0 1 0", } /** * Morphology Operators. * * The operator decides the morphology to make the shape fatter or slimmer. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'def.filter.MorphologyOperator'. */ enum MorphologyOperator { /** * Fatter Morphology. */ Dilate = "dilate", /** * Slimmer Morphology. */ Erode = "erode", } } namespace gradient { /** * Describes the settings that can be provided to the LinearGradient constructor. */ interface $LinearGradientSettings extends sap.gantt.def.$DefBaseSettings { /** * Attribute 'x1' of SVG tag 'linearGradient'. */ x1?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute 'y1' of SVG tag 'linearGradient'. */ y1?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute 'x2' of SVG tag 'linearGradient'. */ x2?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Attribute 'y2' of SVG tag 'linearGradient'. */ y2?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * 'stop' elements in the 'linearGradient' element. */ stops?: | sap.gantt.def.gradient.Stop[] | sap.gantt.def.gradient.Stop | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the RadialGradient constructor. */ interface $RadialGradientSettings extends sap.gantt.def.$DefBaseSettings { /** * Attribute 'cx' of SVG tag 'radialGradient'. */ cx?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Attribute 'cy' of SVG tag 'radialGradient'. */ cy?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Attribute 'r' of SVG tag 'radialGradient'. */ r?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Attribute 'fx' of SVG tag 'radialGradient'. */ fx?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Attribute 'fy' of SVG tag 'radialGradient'. */ fy?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * 'stop' elements in the 'radialGradient' element. */ stops?: | sap.gantt.def.gradient.Stop[] | sap.gantt.def.gradient.Stop | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Stop constructor. */ interface $StopSettings extends sap.gantt.def.$DefBaseSettings { /** * Attribute 'offset' of SVG tag 'stop'. */ offSet?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Property 'stop-color' of SVG tag 'stop'. */ stopColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This is the 'stop-opacity' property of the scalable vector graphics' 'stop' tag. * * @since 1.121 */ stopOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Linear gradient defined by SVG tag 'linearGradient'. */ class LinearGradient extends sap.gantt.def.DefBase { /** * Creates and initializes a linear gradient defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.gradient.$LinearGradientSettings ); /** * Creates and initializes a linear gradient defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.gradient.$LinearGradientSettings ); /** * Creates a new subclass of class sap.gantt.def.gradient.LinearGradient with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.def.gradient.LinearGradient >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.gradient.LinearGradient. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some stop to the aggregation {@link #getStops stops}. * * * @returns Reference to `this` in order to allow method chaining */ addStop( /** * The stop to add; if empty, nothing is inserted */ oStop: sap.gantt.def.gradient.Stop ): this; /** * Destroys all the stops in the aggregation {@link #getStops stops}. * * * @returns Reference to `this` in order to allow method chaining */ destroyStops(): this; /** * Gets content of aggregation {@link #getStops stops}. * * 'stop' elements in the 'linearGradient' element. */ getStops(): sap.gantt.def.gradient.Stop[]; /** * Gets current value of property {@link #getX1 x1}. * * Attribute 'x1' of SVG tag 'linearGradient'. * * Default value is `"0"`. * * * @returns Value of property `x1` */ getX1(): string; /** * Gets current value of property {@link #getX2 x2}. * * Attribute 'x2' of SVG tag 'linearGradient'. * * Default value is `"100"`. * * * @returns Value of property `x2` */ getX2(): string; /** * Gets current value of property {@link #getY1 y1}. * * Attribute 'y1' of SVG tag 'linearGradient'. * * Default value is `"0"`. * * * @returns Value of property `y1` */ getY1(): string; /** * Gets current value of property {@link #getY2 y2}. * * Attribute 'y2' of SVG tag 'linearGradient'. * * Default value is `"15"`. * * * @returns Value of property `y2` */ getY2(): string; /** * Checks for the provided `sap.gantt.def.gradient.Stop` in the aggregation {@link #getStops stops}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfStop( /** * The stop whose index is looked for */ oStop: sap.gantt.def.gradient.Stop ): int; /** * Inserts a stop into the aggregation {@link #getStops stops}. * * * @returns Reference to `this` in order to allow method chaining */ insertStop( /** * The stop to insert; if empty, nothing is inserted */ oStop: sap.gantt.def.gradient.Stop, /** * The `0`-based index the stop should be inserted at; for a negative value of `iIndex`, the stop is inserted * at position 0; for a value greater than the current size of the aggregation, the stop is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getStops stops}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllStops(): sap.gantt.def.gradient.Stop[]; /** * Removes a stop from the aggregation {@link #getStops stops}. * * * @returns The removed stop or `null` */ removeStop( /** * The stop to remove or its index or id */ vStop: int | string | sap.gantt.def.gradient.Stop ): sap.gantt.def.gradient.Stop | null; /** * Sets a new value for property {@link #getX1 x1}. * * Attribute 'x1' of SVG tag 'linearGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"0"`. * * * @returns Reference to `this` in order to allow method chaining */ setX1( /** * New value for property `x1` */ sX1?: string ): this; /** * Sets a new value for property {@link #getX2 x2}. * * Attribute 'x2' of SVG tag 'linearGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100"`. * * * @returns Reference to `this` in order to allow method chaining */ setX2( /** * New value for property `x2` */ sX2?: string ): this; /** * Sets a new value for property {@link #getY1 y1}. * * Attribute 'y1' of SVG tag 'linearGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"0"`. * * * @returns Reference to `this` in order to allow method chaining */ setY1( /** * New value for property `y1` */ sY1?: string ): this; /** * Sets a new value for property {@link #getY2 y2}. * * Attribute 'y2' of SVG tag 'linearGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"15"`. * * * @returns Reference to `this` in order to allow method chaining */ setY2( /** * New value for property `y2` */ sY2?: string ): this; } /** * Radial gradient defined by SVG tag 'radialGradient'. */ class RadialGradient extends sap.gantt.def.DefBase { /** * Creates and initializes a radial gradient defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.gradient.$RadialGradientSettings ); /** * Creates and initializes a radial gradient defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.gradient.$RadialGradientSettings ); /** * Creates a new subclass of class sap.gantt.def.gradient.RadialGradient with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.def.gradient.RadialGradient >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.gradient.RadialGradient. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some stop to the aggregation {@link #getStops stops}. * * * @returns Reference to `this` in order to allow method chaining */ addStop( /** * The stop to add; if empty, nothing is inserted */ oStop: sap.gantt.def.gradient.Stop ): this; /** * Destroys all the stops in the aggregation {@link #getStops stops}. * * * @returns Reference to `this` in order to allow method chaining */ destroyStops(): this; /** * Gets current value of property {@link #getCx cx}. * * Attribute 'cx' of SVG tag 'radialGradient'. * * Default value is `400`. * * * @returns Value of property `cx` */ getCx(): float; /** * Gets current value of property {@link #getCy cy}. * * Attribute 'cy' of SVG tag 'radialGradient'. * * Default value is `200`. * * * @returns Value of property `cy` */ getCy(): float; /** * Gets current value of property {@link #getFx fx}. * * Attribute 'fx' of SVG tag 'radialGradient'. * * Default value is `400`. * * * @returns Value of property `fx` */ getFx(): float; /** * Gets current value of property {@link #getFy fy}. * * Attribute 'fy' of SVG tag 'radialGradient'. * * Default value is `200`. * * * @returns Value of property `fy` */ getFy(): float; /** * Gets current value of property {@link #getR r}. * * Attribute 'r' of SVG tag 'radialGradient'. * * Default value is `300`. * * * @returns Value of property `r` */ getR(): float; /** * Gets content of aggregation {@link #getStops stops}. * * 'stop' elements in the 'radialGradient' element. */ getStops(): sap.gantt.def.gradient.Stop[]; /** * Checks for the provided `sap.gantt.def.gradient.Stop` in the aggregation {@link #getStops stops}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfStop( /** * The stop whose index is looked for */ oStop: sap.gantt.def.gradient.Stop ): int; /** * Inserts a stop into the aggregation {@link #getStops stops}. * * * @returns Reference to `this` in order to allow method chaining */ insertStop( /** * The stop to insert; if empty, nothing is inserted */ oStop: sap.gantt.def.gradient.Stop, /** * The `0`-based index the stop should be inserted at; for a negative value of `iIndex`, the stop is inserted * at position 0; for a value greater than the current size of the aggregation, the stop is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getStops stops}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllStops(): sap.gantt.def.gradient.Stop[]; /** * Removes a stop from the aggregation {@link #getStops stops}. * * * @returns The removed stop or `null` */ removeStop( /** * The stop to remove or its index or id */ vStop: int | string | sap.gantt.def.gradient.Stop ): sap.gantt.def.gradient.Stop | null; /** * Sets a new value for property {@link #getCx cx}. * * Attribute 'cx' of SVG tag 'radialGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `400`. * * * @returns Reference to `this` in order to allow method chaining */ setCx( /** * New value for property `cx` */ fCx?: float ): this; /** * Sets a new value for property {@link #getCy cy}. * * Attribute 'cy' of SVG tag 'radialGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `200`. * * * @returns Reference to `this` in order to allow method chaining */ setCy( /** * New value for property `cy` */ fCy?: float ): this; /** * Sets a new value for property {@link #getFx fx}. * * Attribute 'fx' of SVG tag 'radialGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `400`. * * * @returns Reference to `this` in order to allow method chaining */ setFx( /** * New value for property `fx` */ fFx?: float ): this; /** * Sets a new value for property {@link #getFy fy}. * * Attribute 'fy' of SVG tag 'radialGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `200`. * * * @returns Reference to `this` in order to allow method chaining */ setFy( /** * New value for property `fy` */ fFy?: float ): this; /** * Sets a new value for property {@link #getR r}. * * Attribute 'r' of SVG tag 'radialGradient'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `300`. * * * @returns Reference to `this` in order to allow method chaining */ setR( /** * New value for property `r` */ fR?: float ): this; } /** * Gradient stop defined by SVG tag 'stop'. */ class Stop extends sap.gantt.def.DefBase { /** * Creates and initializes a gradient stop defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.gradient.$StopSettings ); /** * Creates and initializes a gradient stop defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.gradient.$StopSettings ); /** * Creates a new subclass of class sap.gantt.def.gradient.Stop with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.gradient.Stop. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getOffSet offSet}. * * Attribute 'offset' of SVG tag 'stop'. * * Default value is `"5%"`. * * * @returns Value of property `offSet` */ getOffSet(): string; /** * Gets current value of property {@link #getStopOpacity stopOpacity}. * * This is the 'stop-opacity' property of the scalable vector graphics' 'stop' tag. * * Default value is `1`. * * @since 1.121 * * @returns Value of property `stopOpacity` */ getStopOpacity(): float; /** * Sets a new value for property {@link #getOffSet offSet}. * * Attribute 'offset' of SVG tag 'stop'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"5%"`. * * * @returns Reference to `this` in order to allow method chaining */ setOffSet( /** * New value for property `offSet` */ sOffSet?: string ): this; /** * Sets a new value for property {@link #getStopColor stopColor}. * * Property 'stop-color' of SVG tag 'stop'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_ContrastLineColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setStopColor( /** * New value for property `stopColor` */ sStopColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStopOpacity stopOpacity}. * * This is the 'stop-opacity' property of the scalable vector graphics' 'stop' tag. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * @since 1.121 * * @returns Reference to `this` in order to allow method chaining */ setStopOpacity( /** * New value for property `stopOpacity` */ fStopOpacity?: float ): this; } } namespace pattern { /** * Describes the settings that can be provided to the BackSlashPattern constructor. */ interface $BackSlashPatternSettings extends sap.gantt.def.pattern.$PatternBaseSettings { /** * Value of the d attribute in Path element. The value is affected by property `tileWidth` and `tileHeight`. * If this value is changed by coding, the effect is not guaranteed. */ path?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Stroke color of the path element. */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Stroke width of the path element. */ strokeWidth?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the PatternBase constructor. */ interface $PatternBaseSettings extends sap.gantt.def.$DefBaseSettings { /** * Width of the pattern tile. */ tileWidth?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the pattern tile. */ tileHeight?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Background color of the pattern. Technically a rectangle with the color is added in the beginning of * the pattern definition. */ backgroundColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Fill opacity of background color. */ backgroundFillOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the SlashPattern constructor. */ interface $SlashPatternSettings extends sap.gantt.def.pattern.$PatternBaseSettings { /** * Value of d attribute in Path element. The value is influenced by property `tileWidth` and `tileHeight`. * If this value is changed by coding, the logic cannot be guaranteed. */ path?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Stroke color of the path element. */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Stroke width of the path element. */ strokeWidth?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Backslash pattern defined by a path. The stroke color and stroke width of the path can be modified with * properties. * * * * * * Tile * Detail: tileHeight tileWidth background * Color strokeColor * strokeWidth */ class BackSlashPattern extends sap.gantt.def.pattern.PatternBase { /** * Creates and initializes a backslash pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.pattern.$BackSlashPatternSettings ); /** * Creates and initializes a backslash pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.pattern.$BackSlashPatternSettings ); /** * Creates a new subclass of class sap.gantt.def.pattern.BackSlashPattern with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.pattern.PatternBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.def.pattern.BackSlashPattern >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.pattern.BackSlashPattern. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getPath path}. * * Value of the d attribute in Path element. The value is affected by property `tileWidth` and `tileHeight`. * If this value is changed by coding, the effect is not guaranteed. * * * @returns Value of property `path` */ getPath(): string; /** * Gets current value of property {@link #getStroke stroke}. * * Stroke color of the path element. * * Default value is `"sapContent_ForegroundBorderColor"`. * * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * Stroke width of the path element. * * Default value is `2`. * * * @returns Value of property `strokeWidth` */ getStrokeWidth(): int; /** * Sets a new value for property {@link #getPath path}. * * Value of the d attribute in Path element. The value is affected by property `tileWidth` and `tileHeight`. * If this value is changed by coding, the effect is not guaranteed. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setPath( /** * New value for property `path` */ sPath: string ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Stroke color of the path element. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_ForegroundBorderColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * Stroke width of the path element. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `2`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ iStrokeWidth?: int ): this; } /** * Base class for SVG pattern definitions. * * Pattern is a built-in paint server in SVG. It provides tile-based patterns to the SVG 'fill' or 'stroke' * attributes. */ class PatternBase extends sap.gantt.def.DefBase { /** * Creates and initializes a new SVG pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.pattern.$PatternBaseSettings ); /** * Creates and initializes a new SVG pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.pattern.$PatternBaseSettings ); /** * Creates a new subclass of class sap.gantt.def.pattern.PatternBase with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.DefBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.pattern.PatternBase. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getBackgroundFillOpacity backgroundFillOpacity}. * * Fill opacity of background color. * * Default value is `"1"`. * * * @returns Value of property `backgroundFillOpacity` */ getBackgroundFillOpacity(): float; /** * Gets current value of property {@link #getTileHeight tileHeight}. * * Height of the pattern tile. * * Default value is `8`. * * * @returns Value of property `tileHeight` */ getTileHeight(): int; /** * Gets current value of property {@link #getTileWidth tileWidth}. * * Width of the pattern tile. * * Default value is `8`. * * * @returns Value of property `tileWidth` */ getTileWidth(): int; /** * Sets a new value for property {@link #getBackgroundColor backgroundColor}. * * Background color of the pattern. Technically a rectangle with the color is added in the beginning of * the pattern definition. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_ForegroundColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setBackgroundColor( /** * New value for property `backgroundColor` */ sBackgroundColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getBackgroundFillOpacity backgroundFillOpacity}. * * Fill opacity of background color. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"1"`. * * * @returns Reference to `this` in order to allow method chaining */ setBackgroundFillOpacity( /** * New value for property `backgroundFillOpacity` */ fBackgroundFillOpacity?: float ): this; /** * Sets a new value for property {@link #getTileHeight tileHeight}. * * Height of the pattern tile. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `8`. * * * @returns Reference to `this` in order to allow method chaining */ setTileHeight( /** * New value for property `tileHeight` */ iTileHeight?: int ): this; /** * Sets a new value for property {@link #getTileWidth tileWidth}. * * Width of the pattern tile. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `8`. * * * @returns Reference to `this` in order to allow method chaining */ setTileWidth( /** * New value for property `tileWidth` */ iTileWidth?: int ): this; } /** * Slash pattern defined by a path. Stroke color and stroke width of the path can be changed by corresponding * properties. * * * * * * Tile Detail: * tileHeight tileWidth * background Color * strokeColor strokeWidth */ class SlashPattern extends sap.gantt.def.pattern.PatternBase { /** * Creates and initializes a slash pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.def.pattern.$SlashPatternSettings ); /** * Creates and initializes a slash pattern defined for later reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.def.pattern.$SlashPatternSettings ); /** * Creates a new subclass of class sap.gantt.def.pattern.SlashPattern with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.def.pattern.PatternBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.pattern.SlashPattern. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getPath path}. * * Value of d attribute in Path element. The value is influenced by property `tileWidth` and `tileHeight`. * If this value is changed by coding, the logic cannot be guaranteed. * * * @returns Value of property `path` */ getPath(): string; /** * Gets current value of property {@link #getStroke stroke}. * * Stroke color of the path element. * * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * Stroke width of the path element. * * Default value is `2`. * * * @returns Value of property `strokeWidth` */ getStrokeWidth(): int; /** * Sets a new value for property {@link #getPath path}. * * Value of d attribute in Path element. The value is influenced by property `tileWidth` and `tileHeight`. * If this value is changed by coding, the logic cannot be guaranteed. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setPath( /** * New value for property `path` */ sPath?: string ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Stroke color of the path element. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * Stroke width of the path element. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `2`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ iStrokeWidth?: int ): this; } } /** * Describes the settings that can be provided to the DefBase constructor. */ interface $DefBaseSettings extends sap.ui.core.$ElementSettings { /** * Definition string. Subclasses can implement their own getters of this property to override the one in * this class. */ defString?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Referencing string. The default implementation is the referencing ID wrapped by 'url(#)'. */ refString?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the SvgDefs constructor. */ interface $SvgDefsSettings extends sap.ui.base.$ManagedObjectSettings { /** * SVG definition instances. */ defs?: | sap.gantt.def.DefBase[] | sap.gantt.def.DefBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Base class for all SVG definitions. * * SVG uses the 'defs' tag to represent graphic objects that can be reused at a later time. Currently * `sap.gantt` provides defs including the following definition tags: 'pattern', 'gradient', and 'filter'. * Applications can also extend this base class to support more functionality. */ abstract class DefBase extends sap.ui.core.Element { /** * Creates and initializes a new SVG graphic object for reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.$DefBaseSettings ); /** * Creates and initializes a new SVG graphic object for reuse. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.$DefBaseSettings ); /** * Creates a new subclass of class sap.gantt.def.DefBase with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.DefBase. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Provides a referencing ID. The default implementation is to use control ID as the referencing ID. * See: * sap.ui.table.Table.getSelectedIndex * * * @returns Referencing ID. */ generateRefId(): string; /** * Gets current value of property {@link #getDefString defString}. * * Definition string. Subclasses can implement their own getters of this property to override the one in * this class. * * * @returns Value of property `defString` */ getDefString(): string; /** * Gets current value of property {@link #getRefString refString}. * * Referencing string. The default implementation is the referencing ID wrapped by 'url(#)'. * * * @returns Value of property `refString` */ getRefString(): string; /** * Sets a new value for property {@link #getDefString defString}. * * Definition string. Subclasses can implement their own getters of this property to override the one in * this class. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDefString( /** * New value for property `defString` */ sDefString?: string ): this; /** * Sets a new value for property {@link #getRefString refString}. * * Referencing string. The default implementation is the referencing ID wrapped by 'url(#)'. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setRefString( /** * New value for property `refString` */ sRefString?: string ): this; } /** * The class handles the container tag "defs" for all reusable SVG graphic definitions. It provides interfaces * for SVG definition strings and referencing strings. The parent class is responsible for rendering the * definition strings. * * SVG uses the 'defs' tag to represent graphic objects that are defined for reuse at a later time. * Currently `sap.gantt` provides defs including the following definition tags: 'pattern', 'gradient', and * 'filter'. Applications can also extend this base class to support more functionality. */ class SvgDefs extends sap.ui.base.ManagedObject { /** * SVG definition tag class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.def.$SvgDefsSettings ); /** * SVG definition tag class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.def.$SvgDefsSettings ); /** * Creates a new subclass of class sap.gantt.def.SvgDefs with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.def.SvgDefs. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.base.ManagedObjectMetadata; /** * Adds some def to the aggregation {@link #getDefs defs}. * * * @returns Reference to `this` in order to allow method chaining */ addDef( /** * The def to add; if empty, nothing is inserted */ oDef: sap.gantt.def.DefBase ): this; /** * Binds aggregation {@link #getDefs defs} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindDefs( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Destroys all the defs in the aggregation {@link #getDefs defs}. * * * @returns Reference to `this` in order to allow method chaining */ destroyDefs(): this; /** * Gets content of aggregation {@link #getDefs defs}. * * SVG definition instances. */ getDefs(): sap.gantt.def.DefBase[]; /** * Definition string of the SVG 'defs' tag. * * * @returns - Definition string to be rendered by caller. */ getDefString(): string; /** * Checks for the provided `sap.gantt.def.DefBase` in the aggregation {@link #getDefs defs}. and returns * its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDef( /** * The def whose index is looked for */ oDef: sap.gantt.def.DefBase ): int; /** * Inserts a def into the aggregation {@link #getDefs defs}. * * * @returns Reference to `this` in order to allow method chaining */ insertDef( /** * The def to insert; if empty, nothing is inserted */ oDef: sap.gantt.def.DefBase, /** * The `0`-based index the def should be inserted at; for a negative value of `iIndex`, the def is inserted * at position 0; for a value greater than the current size of the aggregation, the def is inserted at the * last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getDefs defs}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllDefs(): sap.gantt.def.DefBase[]; /** * Removes a def from the aggregation {@link #getDefs defs}. * * * @returns The removed def or `null` */ removeDef( /** * The def to remove or its index or id */ vDef: int | string | sap.gantt.def.DefBase ): sap.gantt.def.DefBase | null; /** * Unbinds aggregation {@link #getDefs defs} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindDefs(): this; } } namespace dragdrop { /** * Defines how Gantt Chart aligns a draggable shape to the mouse pointer before dragging. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'dragdrop.GhostAlignment'. */ enum GhostAlignment { /** * When you click on a shape to start a drag-and-drop operation, the upper-right corner of the shape is * automatically moved to the mouse pointer before you start dragging. This option makes the end time of * the shape align with the cursor line through the whole drag-and-drop process, and thus you can precisely * determine the end time when you drop the shape. */ End = "End", /** * Default drag-and-drop behavior. When you click on a shape to start a drag-and-drop operation, Gantt Chart * does not move the shape before you start dragging. This option keeps the relative position between the * shape and the mouse pointer intact through the whole drag-and-drop process. */ None = "None", /** * When you click on a shape to start a drag-and-drop operation, the upper-left corner of the shape is automatically * moved to the mouse pointer before you start dragging. This option makes the start time of the shape align * with the cursor line through the whole drag-and-drop process, and thus you can precisely determine the * start time when you drop the shape. */ Start = "Start", } /** * Defines the side of the shape that gets attached to the nearest visual element. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'dragdrop.SnapMode'. * * @since 1.91 */ enum SnapMode { /** * While dragging, the side of the shape that is nearest to a visual element snaps and attaches to that * visual element. */ Both = "Both", /** * While dragging, the left side of the shape snaps and attaches to the nearest visual element. */ Left = "Left", /** * While dragging, the shape does not snap to any side. This is the default snap mode. */ None = "None", /** * While dragging, the right side of the shape snaps and attaches to the nearest visual element. */ Right = "Right", } } namespace layouts { /** * Describes the settings that can be provided to the SidePanel constructor. */ interface $SidePanelSettings extends sap.ui.core.$ControlSettings { /** * If this property is set to true, the content is shown in the side panel. * * @since 1.126 */ visible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Control to be placed in the side panel. * * @since 1.126 */ content?: sap.ui.core.Control; } /** * Enables applications to place a custom control within the Gantt Chart Container. The Side Panel control * manages the rendering of the control placed in the `content` aggregation. The child control also receives * `onActivated` and `onDeactivated` pseudo-events when activated or deactivated. const sidePanel * = this.getParent(); * * sidePanel.addEventDelegate({ onActivated: (evt) => {}, //on activate handler onDeactivated: (evt) => * {} //on deactivate handler }) * * @since 1.126 */ class SidePanel extends sap.ui.core.Control { /** * Creates and initializes a new class for side panel. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. The ID is generated automatically if it is not provided. */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.layouts.SidePanel with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.layouts.SidePanel. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Destroys the content in the aggregation {@link #getContent content}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ destroyContent(): this; /** * Gets content of aggregation {@link #getContent content}. * * Control to be placed in the side panel. * * @since 1.126 */ getContent(): sap.ui.core.Control; /** * Gets current value of property {@link #getVisible visible}. * * If this property is set to true, the content is shown in the side panel. * * Default value is `false`. * * @since 1.126 * * @returns Value of property `visible` */ getVisible(): boolean; /** * Aggregation to set the content of the side panel * * @since 1.126 * * @returns returns the control for chaining */ setContent( /** * control to be placed */ oControl: sap.ui.core.Control, /** * flag to suppress the invalidation */ bSuppressInvalidate: boolean ): sap.gantt.layouts.SidePanel; /** * Method to hide or show the side panel * * @since 1.126 * * @returns returns the control for chaining */ setVisible( /** * flag to hide or show the side panel */ bEnabled: boolean ): this; } } namespace legend { /** * Describes the settings that can be provided to the DimensionLegend constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.DimensionLegend}. */ interface $DimensionLegendSettings extends sap.gantt.legend.$LegendBaseSettings { /** * A Shape instance that contains two sets of data, one for the 'x' dimension and the other for the 'y' * dimension. The system determines the representation of a legend element according to its 'x' dimension * and 'y' dimension values. */ shape?: | sap.gantt.config.Shape | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Name of xDimension. Note that the Shape instance used in DimensionLegend must have a set of data matches * this property's value. The data set contains entries specifying the representation of individual legend * items. */ xDimension?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Name of yDimension. Note that the Shape instance used in DimensionLegend must have a set of data matches * this property's value. The data set contains entries specifying the representation of individual legend * items. */ yDimension?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Valid values of xDimension. Each of these values has a corresponding entry in the data set that matches * xDimension in the Shape instance. */ xDomain?: | any[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Valid values of yDimension. Each of these values has a corresponding entry in the data set that matches * yDimension in the Shape instance. */ yDomain?: | any[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; exclude?: | any[][] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Space between two legend items. */ legendSpace?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the LegendBase constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $LegendBaseSettings extends sap.ui.core.$ControlSettings { /** * SVG reusable element definitions. * * If this property is provided, the paint server definition of SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed to this property. */ svgDefs?: | sap.gantt.def.SvgDefs | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Width of a legend item. */ legendWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of a legend item. */ legendHeight?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Font size of legend item texts. */ fontSize?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the LegendContainer constructor. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.LegendContainer}. */ interface $LegendContainerSettings extends sap.ui.core.$ControlSettings { /** * Width of the legend navigation. When the width specified is smaller than a section content, a horizontal * scroll bar appears.width of the legend navigation. When the width specified is smaller than a section * content, a horizontal scroll bar appears. */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the legend navigation. When the height specified is smaller than a section content, a vertical * scroll bar appears. */ height?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This aggregation specifies the title of a legend section. When you add the legend section to a legend * navigation container, you must specify a title for the legend section so that the section can be identified * in the initial navigation list. Otherwise, your legend section is not reachable via GUI. */ legendSections?: | sap.m.Page[] | sap.m.Page | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ListLegend constructor. * * @deprecated As of version 1.64. replaced by {@link ap.gantt.simple.ListLegend}. */ interface $ListLegendSettings extends sap.gantt.legend.$LegendBaseSettings { /** * Shapes for legend items. These shapes are used in the Gantt chart. */ shapes?: | sap.gantt.config.Shape[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Event fired when the check box of a certain legend item is selected. */ checkBoxChange?: (oEvent: ListLegend$CheckBoxChangeEvent) => void; } /** * Parameters of the ListLegend#checkBoxChange event. */ interface ListLegend$CheckBoxChangeEventParameters { /** * The shape that is checked or unchecked. */ legendType?: string; /** * The value of the check box. */ value?: boolean; } /** * Dimension Legend provides a template for two-dimension legends. This template defines the representation * (shape, pattern, and color) of individual legend items and their corresponding meanings in both dimensions. * * Consider that you need to create a legend where legend items represent both the type and status of an * object. In this case, you can configure xDimention to indicate object types and yDimension to indicate * object statuses. Assume that valid object types are "Freight Order", "Freight Unit", and "Trailer Unit"; * valid object statuses are "Executed", "In Execution", "Fixed", "Planned", and “Unplanned”. You will have * a three by four two-dimension legend containing twelve legend items. Each them represents an object in * a specific type and a specific status. For example, a red square stands for executed freight orders. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.DimensionLegend}. */ class DimensionLegend extends sap.gantt.legend.LegendBase { /** * Creates and initializes a new Dimension Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$DimensionLegendSettings ); /** * Creates and initializes a new Dimension Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$DimensionLegendSettings ); /** * Creates a new subclass of class sap.gantt.legend.DimensionLegend with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.legend.LegendBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.legend.DimensionLegend. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getExclude exclude}. * * Default value is `[]`. * * * @returns Value of property `exclude` */ getExclude(): any[][]; /** * Gets current value of property {@link #getLegendSpace legendSpace}. * * Space between two legend items. * * Default value is `8`. * * * @returns Value of property `legendSpace` */ getLegendSpace(): float; /** * Gets current value of property {@link #getShape shape}. * * A Shape instance that contains two sets of data, one for the 'x' dimension and the other for the 'y' * dimension. The system determines the representation of a legend element according to its 'x' dimension * and 'y' dimension values. * * * @returns Value of property `shape` */ getShape(): sap.gantt.config.Shape; /** * Gets current value of property {@link #getXDimension xDimension}. * * Name of xDimension. Note that the Shape instance used in DimensionLegend must have a set of data matches * this property's value. The data set contains entries specifying the representation of individual legend * items. * * * @returns Value of property `xDimension` */ getXDimension(): string; /** * Gets current value of property {@link #getXDomain xDomain}. * * Valid values of xDimension. Each of these values has a corresponding entry in the data set that matches * xDimension in the Shape instance. * * Default value is `[]`. * * * @returns Value of property `xDomain` */ getXDomain(): any[]; /** * Gets current value of property {@link #getYDimension yDimension}. * * Name of yDimension. Note that the Shape instance used in DimensionLegend must have a set of data matches * this property's value. The data set contains entries specifying the representation of individual legend * items. * * * @returns Value of property `yDimension` */ getYDimension(): string; /** * Gets current value of property {@link #getYDomain yDomain}. * * Valid values of yDimension. Each of these values has a corresponding entry in the data set that matches * yDimension in the Shape instance. * * Default value is `[]`. * * * @returns Value of property `yDomain` */ getYDomain(): any[]; /** * Sets a new value for property {@link #getExclude exclude}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setExclude( /** * New value for property `exclude` */ sExclude?: any[][] ): this; /** * Sets a new value for property {@link #getLegendSpace legendSpace}. * * Space between two legend items. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `8`. * * * @returns Reference to `this` in order to allow method chaining */ setLegendSpace( /** * New value for property `legendSpace` */ fLegendSpace?: float ): this; /** * Sets a new value for property {@link #getShape shape}. * * A Shape instance that contains two sets of data, one for the 'x' dimension and the other for the 'y' * dimension. The system determines the representation of a legend element according to its 'x' dimension * and 'y' dimension values. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShape( /** * New value for property `shape` */ sShape: sap.gantt.config.Shape ): this; /** * Sets a new value for property {@link #getXDimension xDimension}. * * Name of xDimension. Note that the Shape instance used in DimensionLegend must have a set of data matches * this property's value. The data set contains entries specifying the representation of individual legend * items. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setXDimension( /** * New value for property `xDimension` */ sXDimension: string ): this; /** * Sets a new value for property {@link #getXDomain xDomain}. * * Valid values of xDimension. Each of these values has a corresponding entry in the data set that matches * xDimension in the Shape instance. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setXDomain( /** * New value for property `xDomain` */ sXDomain?: any[] ): this; /** * Sets a new value for property {@link #getYDimension yDimension}. * * Name of yDimension. Note that the Shape instance used in DimensionLegend must have a set of data matches * this property's value. The data set contains entries specifying the representation of individual legend * items. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setYDimension( /** * New value for property `yDimension` */ sYDimension: string ): this; /** * Sets a new value for property {@link #getYDomain yDomain}. * * Valid values of yDimension. Each of these values has a corresponding entry in the data set that matches * yDimension in the Shape instance. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setYDomain( /** * New value for property `yDomain` */ sYDomain?: any[] ): this; } /** * Base class for all legend template. * * This base class defines basic properties for legend templates. sap.gantt provides two basic implementations * of `LegendBase`: * - `sap.gantt.legend.ListLegend` - A list legend template defines the representation of a list of legend * items and their corresponding meanings * - `sap.gantt.legend.DimensionLegend` - A dimension legend template defines the representation (shape, * pattern, and color) of individual legend items and their corresponding meanings in both dimensions * * * @deprecated As of version 1.64. the concept has been discarded. */ abstract class LegendBase extends sap.ui.core.Control { /** * Creates and initializes a new Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$LegendBaseSettings ); /** * Creates and initializes a new Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$LegendBaseSettings ); /** * Creates a new subclass of class sap.gantt.legend.LegendBase with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.legend.LegendBase. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getFontSize fontSize}. * * Font size of legend item texts. * * Default value is `16`. * * * @returns Value of property `fontSize` */ getFontSize(): int; /** * Gets current value of property {@link #getLegendHeight legendHeight}. * * Height of a legend item. * * Default value is `32`. * * * @returns Value of property `legendHeight` */ getLegendHeight(): float; /** * Gets current value of property {@link #getLegendWidth legendWidth}. * * Width of a legend item. * * Default value is `32`. * * * @returns Value of property `legendWidth` */ getLegendWidth(): float; /** * Gets the value of the SAP UI size class. * * * @returns Value of the SAP UI size class. */ getSapUiSizeClass(): string; /** * Gets the legend item height according to the SAP UI size class. * * * @returns Value of the legend item height. */ getScaledLegendHeight(): string; /** * Gets the legend item width according to the SAP UI size class. * * * @returns Value of the legend item width. */ getScaledLegendWidth(): string; /** * Gets current value of property {@link #getSvgDefs svgDefs}. * * SVG reusable element definitions. * * If this property is provided, the paint server definition of SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed to this property. * * * @returns Value of property `svgDefs` */ getSvgDefs(): sap.gantt.def.SvgDefs; /** * Sets a new value for property {@link #getFontSize fontSize}. * * Font size of legend item texts. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `16`. * * * @returns Reference to `this` in order to allow method chaining */ setFontSize( /** * New value for property `fontSize` */ iFontSize?: int ): this; /** * Sets a new value for property {@link #getLegendHeight legendHeight}. * * Height of a legend item. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `32`. * * * @returns Reference to `this` in order to allow method chaining */ setLegendHeight( /** * New value for property `legendHeight` */ fLegendHeight?: float ): this; /** * Sets a new value for property {@link #getLegendWidth legendWidth}. * * Width of a legend item. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `32`. * * * @returns Reference to `this` in order to allow method chaining */ setLegendWidth( /** * New value for property `legendWidth` */ fLegendWidth?: float ): this; /** * Sets a new value for property {@link #getSvgDefs svgDefs}. * * SVG reusable element definitions. * * If this property is provided, the paint server definition of SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed to this property. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSvgDefs( /** * New value for property `svgDefs` */ sSvgDefs?: sap.gantt.def.SvgDefs ): this; } /** * The LegendContainer control uses the NavContainer control to handle hierarchical navigation between legend * sections. The LegendContainer control contains an initial navigation page. Both the initial navigation * page legend sections are Page controls. * * @deprecated As of version 1.64. replaced by {@link sap.gantt.simple.LegendContainer}. */ class LegendContainer extends sap.ui.core.Control { /** * Creates and initializes a new legend container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$LegendContainerSettings ); /** * Creates and initializes a new legend container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$LegendContainerSettings ); /** * Creates a new subclass of class sap.gantt.legend.LegendContainer with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.legend.LegendContainer. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some legendSection to the aggregation {@link #getLegendSections legendSections}. * * * @returns Reference to `this` in order to allow method chaining */ addLegendSection( /** * The legendSection to add; if empty, nothing is inserted */ oLegendSection: sap.m.Page ): this; /** * Destroys all the legendSections in the aggregation {@link #getLegendSections legendSections}. * * * @returns Reference to `this` in order to allow method chaining */ destroyLegendSections(): this; /** * Returns the currently displayed legend section. If no legend section is added, this function returns * the initial navigation page. * * * @returns Control instance of the legend section */ getCurrentLegendSection(): sap.m.Page; /** * Gets current value of property {@link #getHeight height}. * * Height of the legend navigation. When the height specified is smaller than a section content, a vertical * scroll bar appears. * * Default value is `"200px"`. * * * @returns Value of property `height` */ getHeight(): sap.ui.core.CSSSize; /** * Gets content of aggregation {@link #getLegendSections legendSections}. * * This aggregation specifies the title of a legend section. When you add the legend section to a legend * navigation container, you must specify a title for the legend section so that the section can be identified * in the initial navigation list. Otherwise, your legend section is not reachable via GUI. */ getLegendSections(): sap.m.Page[]; /** * Returns the navigation items in the initial navigation list * * * @returns Control instance of the initial page */ getNavigationItems(): sap.m.StandardListItem; /** * Returns the control instance of List Control for the initial navigation page * * * @returns Control instance of the initial navigation page */ getNavigationPage(): sap.m.Page; /** * Gets current value of property {@link #getWidth width}. * * Width of the legend navigation. When the width specified is smaller than a section content, a horizontal * scroll bar appears.width of the legend navigation. When the width specified is smaller than a section * content, a horizontal scroll bar appears. * * Default value is `"200px"`. * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Checks for the provided `sap.m.Page` in the aggregation {@link #getLegendSections legendSections}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfLegendSection( /** * The legendSection whose index is looked for */ oLegendSection: sap.m.Page ): int; /** * Inserts a legendSection into the aggregation {@link #getLegendSections legendSections}. * * * @returns Reference to `this` in order to allow method chaining */ insertLegendSection( /** * The legendSection to insert; if empty, nothing is inserted */ oLegendSection: sap.m.Page, /** * The `0`-based index the legendSection should be inserted at; for a negative value of `iIndex`, the legendSection * is inserted at position 0; for a value greater than the current size of the aggregation, the legendSection * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getLegendSections legendSections}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllLegendSections(): sap.m.Page[]; /** * Removes a legendSection from the aggregation {@link #getLegendSections legendSections}. * * * @returns The removed legendSection or `null` */ removeLegendSection( /** * The legendSection to remove or its index or id */ vLegendSection: int | string | sap.m.Page ): sap.m.Page | null; /** * Sets a new value for property {@link #getHeight height}. * * Height of the legend navigation. When the height specified is smaller than a section content, a vertical * scroll bar appears. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"200px"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the legend navigation. When the width specified is smaller than a section content, a horizontal * scroll bar appears.width of the legend navigation. When the width specified is smaller than a section * content, a horizontal scroll bar appears. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"200px"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.ui.core.CSSSize ): this; } /** * List Legend is a legend template that contains a list of shapes. You can use this class to define a list * legend. * * @deprecated As of version 1.64. replaced by {@link ap.gantt.simple.ListLegend}. */ class ListLegend extends sap.gantt.legend.LegendBase { /** * Creates and initializes a new List Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$ListLegendSettings ); /** * Creates and initializes a new List Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.legend.$ListLegendSettings ); /** * Creates a new subclass of class sap.gantt.legend.ListLegend with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.legend.LegendBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.legend.ListLegend. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:checkBoxChange checkBoxChange} event of this * `sap.gantt.legend.ListLegend`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.legend.ListLegend` itself. * * Event fired when the check box of a certain legend item is selected. * * * @returns Reference to `this` in order to allow method chaining */ attachCheckBoxChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: ListLegend$CheckBoxChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.legend.ListLegend` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:checkBoxChange checkBoxChange} event of this * `sap.gantt.legend.ListLegend`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.legend.ListLegend` itself. * * Event fired when the check box of a certain legend item is selected. * * * @returns Reference to `this` in order to allow method chaining */ attachCheckBoxChange( /** * The function to be called when the event occurs */ fnFunction: (p1: ListLegend$CheckBoxChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.legend.ListLegend` itself */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:checkBoxChange checkBoxChange} event of this * `sap.gantt.legend.ListLegend`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachCheckBoxChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: ListLegend$CheckBoxChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:checkBoxChange checkBoxChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireCheckBoxChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.legend.ListLegend$CheckBoxChangeEventParameters ): this; /** * Gets current value of property {@link #getShapes shapes}. * * Shapes for legend items. These shapes are used in the Gantt chart. * * * @returns Value of property `shapes` */ getShapes(): sap.gantt.config.Shape[]; /** * Sets a new value for property {@link #getShapes shapes}. * * Shapes for legend items. These shapes are used in the Gantt chart. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShapes( /** * New value for property `shapes` */ sShapes: sap.gantt.config.Shape[] ): this; } /** * CheckBox Value of ListLegend Item. * * @deprecated As of version 1.64. the concept has been discarded. */ enum ListLegendItemCheckbox { /** * The list legend item has a checked checkbox. */ Checked = "checked", /** * The list legend item has no checkbox. */ NoShow = "noShow", /** * The list legend item has a unchecked checkbox. */ Unchecked = "unchecked", } /** * Event object of the ListLegend#checkBoxChange event. */ type ListLegend$CheckBoxChangeEvent = sap.ui.base.Event< ListLegend$CheckBoxChangeEventParameters, ListLegend >; } namespace misc { /** * The reusable functional class represents an instance of ordinal pattern coordinate mapping. */ class AxisOrdinal { /** * Creates and initializes an AxisOrdinal class. */ constructor( /** * Element array corresponding to an ordinal axis. */ aElementArray: any[], /** * Scale array where each item represents one or more smallest width units in one-to-one relationship with * aAlementArray. */ aScaleArray: any[], /** * Smallest width unit for elements. */ nViewBandWidth: number, /** * Start position of an axis in the viewport area. */ nViewRangeStart: number, /** * End position of an axis in the viewport area. The parameter is ignored if viewBandWidth is set. */ nViewRangeEnd: number, /** * Zoom rate of the viewport area. */ nZoomRate: number, /** * Zoom origin of the viewport area. */ nZoomOrigin: number, /** * Padding for each band. */ nPadding: number ); /** * Clones a new AxisOrdinal from the current one. * * * @returns Reference to the newly created clone. */ clone(): this; /** * Transforms an element to a position in the coordinate system * * * @returns Position in the coordinate system */ elementToView( /** * Element that exists in parameter elementArray of the constructor */ element: Object ): undefined; /** * Retrieves the value of elementArray. * * * @returns Value of elementArray. */ getElementArray(): any[]; /** * Retrieves the value of scaleArray. * * * @returns Value of scaleArray. */ getScaleArray(): any[]; /** * Retrieves the value of viewBandWidth. * * * @returns Value of viewBandWidth that indicates the smallest width unit for elements. */ getViewBandWidth(): number; /** * Retrieves the view range of the current viewport area. * * * @returns Value of the view range containing the start and end positions. */ getViewRange(): any[]; /** * Retrieves the zoom origin. * * * @returns Zoom origin. */ getZoomOrigin(): number; /** * Retrieves the value of zoom rate. * * * @returns Value of zoom rate. */ getZoomRate(): number; /** * Sets a new value of elementArray with the corresponding scaleArray. * * * @returns Reference to this in order to allow method chaining. */ setElements( /** * New element array corresponding to an ordinal axis. */ elementArray: any[], /** * Corresponding scale array where each item represents one or more smallest width units in one-to-one relationship * with elementArray. */ scaleArray: any[] ): this; /** * Sets a new value of viewBandWidth. * * * @returns Reference to this in order to allow method chaining. */ setViewBandWidth( /** * Smallest width unit for elements. */ viewBandWidth: number ): this; /** * Sets a new value of the end position of a view range. * * * @returns Reference to this in order to allow method chaining. */ setViewRangeEnd( /** * End position of axis in the viewport area. The parameter is ignored if viewBandWidth is set. */ viewRangeEnd: number ): this; /** * Sets a new value of the start position of a view range. * * * @returns Reference to this in order to allow method chaining. */ setViewRangeStart( /** * Start position of an axis in the viewport area. */ viewRangeStart: number ): this; /** * Sets the zoom origin. * * * @returns Reference to this in order to allow method chaining. */ setZoomOrigin( /** * Zoom origin of the viewport area. */ zoomOrigin: number ): this; /** * Sets a new value of zoom rate. * * * @returns Reference to this in order to allow method chaining. */ setZoomRate( /** * New zoom rate of the viewport area. */ zoomRate: number ): this; /** * Transforms a position in the coordinate system to a band index * * * @returns Index that describes which band the position is located in */ viewToBandIndex( /** * A position in the coordinate system */ value: number ): undefined; /** * Transforms a position in the coordinate system to an element * * * @returns Element that exists in parameter elementArray of the constructor */ viewToElement( /** * Position in the coordinate system */ value: number ): undefined; /** * Transforms a position in the coordinate system to an element index * * * @returns Index of the corresponding element that exists in parameter elementArray of the constructor */ viewToElementIndex( /** * Position in the coordinate system */ value: number ): undefined; /** * Transforms a position in the coordinate system to a row index * * * @returns Index of the corresponding row */ viewToRowIndex( /** * Position in the coordinate system */ value: number, /** * Max row index in the coordinate system */ iMaxIndex: int ): undefined; } /** * The reusable functional class represents an instance of time-value linear coordinate mapping. */ class AxisTime extends sap.ui.base.Object { /** * Creates and initializes an AxisTime class. */ constructor( /** * The array must contain two or more dates that represent some ranges of data. */ timeRange: any[], /** * The array must contain two or more values, to match the cardinality of timeRange, representing some ranges * of values. */ viewRange: any[], /** * Zoom rate of the viewport area. */ zoomRate: number, /** * Zoom origin of the viewport area. */ zoomOrigin: number, /** * Offset of the viewport area. */ viewOffset: number, /** * Settings for language, time zone, and daylight saving. */ locale: object, /** * Specifies the strategy to zoom in/out. */ oZoomStrategy: any[] ); /** * Creates a new subclass of class sap.gantt.misc.AxisTime with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.misc.AxisTime. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.base.Metadata; /** * Clones a new AxisTimes from the current one. * * * @returns Reference to the newly created clone. */ clone(): this; /** * Retrieves a key of the time interval level in array oZoomStrategy. * * @deprecated As of version 1.44. replaced by sap.gantt.axistime.AxisTimeStrategyBase.getZoomLevel * * @returns Key of the time interval level in array oZoomStrategy. */ getCurrentTickTimeIntervalKey(): string; /** * Retrieves an index of the time interval level in array oZoomStrategy. * * @deprecated As of version 1.44. replaced by sap.gantt.axistime.AxisTimeStrategyBase.getZoomLevel * * @returns Index of the time interval level in array oZoomStrategy. */ getCurrentTickTimeIntervalLevel(): number; /** * Returns the index of first visible small interval label. * * * @returns Index of first visible small interval label. */ getFirstSmallIntervalIndex( /** * Array of small interval labels on gantt header. */ aSmallIntervalTicks: object, /** * Start time of gantt chart's visible horizon. */ startTime: number ): int; /** * Retrieves an object containing the information of current time, its position, and label. * * * @returns Reference to an object containing the information of current time, its position, and label. */ getNowLabel( /** * Convert date to UTC. */ bTimeInUTC: boolean ): object; /** * Retrieves an array of time ticks, each item containing date position and label, for the specified level * within the given timeBoundary or viewBoundary. * * * @returns Reference to an array of time ticks, each item containing date, position, and label. */ getTickTimeIntervalLabel( /** * Corresponding index in array oZoomStrategy. */ level: number, /** * Time range within which time ticks are generated. */ timeBoundary: number, /** * View range within which time ticks are generated. Available only when timeBoundary isn't specified. */ viewBoundary: number ): object; /** * Retrieves the value of timeRange. * * * @returns Value of timeRange. */ getTimeRange(): any[]; /** * Calculate a slice of time range out of the total range * * @ui5-protected Do not call from applications (only from related classes in the framework) */ getTimeRangeSlice( iStartX: int, iEndX: int ): void; /** * Retrieves the value of viewOffset. * * * @returns Value of viewOffset. */ getViewOffset(): number; /** * Retrieves the value of viewRange. * * * @returns Value of viewRange. */ getViewRange(): any[]; /** * Retrieves the value of zoomOrigin. * * * @returns Value of zoomOrigin. */ getZoomOrigin(): number; /** * Retrieves the value of zoomRate. * * * @returns Value of zoomRate. */ getZoomRate(): number; /** * Retrieves the value of oZoomStrategy. * * * @returns Value of oZoomStrategy. */ getZoomStrategy(): object; /** * Sets a new value of timeRange. * * * @returns Reference to this in order to allow method chaining. */ setTimeRange( /** * New value of timeRange. */ timeRange: any[] ): this; /** * Sets a new value of viewOffset. * * * @returns Reference to this in order to allow method chaining. */ setViewOffset( /** * New value of viewOffset. */ viewOffset: number ): this; /** * Sets a new value of viewRange. * * * @returns Reference to this in order to allow method chaining. */ setViewRange( /** * New value of viewRange. */ viewRange: any[] ): this; /** * Sets a new value of zoomOrigin. * * * @returns Reference to this in order to allow method chaining. */ setZoomOrigin( /** * New value of zoomOrigin. */ zoomOrigin: number ): this; /** * Sets a new value of zoomRate. * * * @returns Reference to this in order to allow method chaining. */ setZoomRate( /** * New value of zoomRate. */ zoomRate: number ): this; /** * Given a date within the timeRange, this function returns the corresponding value within the viewRange. * * * @returns Value corresponding to the given date within the viewRange. */ timeToView( /** * Given date within the timeRange. */ time: Date, /** * When set to true, the view offset is ignored in the calculation */ bIgnoreOffset: boolean ): number; /** * Returns the date within the timeRange for the corresponding value within the viewRange. * * * @returns Date corresponding to the given value within the timeRange */ viewToTime( /** * Given value within the viewRange. */ value: number ): Date; } /** * The Format class provides static methods for formatting dates, times, and timestamps to be used in sap.gantt */ class Format { /** * A dummy constructor for Format. Do not construct a Format object; instead, call static methods abapTimestampToDate, * dateToAbapTimestamp, and abapTimestampToTimeLabel directly. */ constructor(); /** * Converts an ABAP timestamp that is in UTC (eg:"20150909000000") into a date instance. * * @since 1.129 * * @returns The output date instance */ static abapTimestampInUTCToDate( /** * The ABAP timestamp to convert */ sTimestamp: string ): Date; /** * Converts an ABAP timestamp(eg:"20150909000000" ) into a Date instance. * * * @returns The output date instance */ static abapTimestampToDate( /** * The ABAP timestamp to convert */ sTimestamp: string ): Date; /** * Converts an ABAP timestamp into a time label to be used in Gantt. * * * @returns The output time label */ static abapTimestampToTimeLabel( /** * The ABAP timestamp to convert */ sTimestamp: string, /** * The locale object has the time zone and DST info; this determines how the function converts the timestamp * into a locale-specific time label */ oLocale: sap.gantt.config.Locale ): string; /** * Converts an absolute time object into a relative time object, which contains the following properties: * { intervalDays: * difference in the day segment between the target time and base time*, intervalHours: * * difference in the hour segment between the target time and base time*, intervalMinutes: * difference * in the minute segment between the target time and base time*, intervalSecond: * difference in the segment * segment between the target time and base time* } Use this method only in relative time axis mode. * * * @returns relative time information object */ static absolutTimeToRelativeTime( /** * the absolute time object will be converted */ oTime: Date ): object; /** * Converts a Date instance into an ABAP timestamp. * * * @returns The output ABAP timestamp */ static dateToAbapTimestamp( /** * The date instance to convert */ oDate: Date ): string; /** * Converts an ISO timestamp (example: "2021-04-19T17:13:10.000Z") into an ABAP timestamp. * * * @returns The output ABAP timestamp */ static isoTimestampToAbapTimestamp( /** * The ISO timestamp to convert */ sTimestamp: string ): string; /** * Converts a relative time object into an absolute time object. Use this method only in relative time axis * mode. * * * @returns converted absolute time object */ static relativeTimeToAbsolutTime( /** * difference in the day segment between the target time and base time */ iIntervalDays: int, /** * difference in the hour segment between the target time and base time */ iIntervalHours: int, /** * difference in the minute segment between the target time and base time */ iIntervalMinutes: int, /** * difference in the second segment between the target time and base time */ iIntervalSeconds: int ): Date; } } namespace overlays { /** * Describes the settings that can be provided to the GanttRowOverlay constructor. */ interface $GanttRowOverlaySettings extends sap.ui.core.$ElementSettings { /** * @since 1.120 */ staticOverlay?: | sap.gantt.overlays.Overlay[] | sap.gantt.overlays.Overlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.120 */ expandedOverlay?: | sap.gantt.overlays.Overlay[] | sap.gantt.overlays.Overlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Overlay constructor. */ interface $OverlaySettings extends sap.ui.core.$ElementSettings { /** * @since 1.120 */ overlayLevel?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * @since 1.120 */ overlayShapeId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * @since 1.120 */ shape?: sap.gantt.simple.BaseShape; } /** * The GanttRowOverlay class contains staticOverlay and expanded aggregations that are of type Overlay. * * @since 1.120 */ class GanttRowOverlay extends sap.ui.core.Element { /** * Creates and initializes a new GanttRowOverlay class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if an ID is not provided. */ sId?: string ); /** * Creates a new subclass of class sap.gantt.overlays.GanttRowOverlay with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.overlays.GanttRowOverlay. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some expandedOverlay to the aggregation {@link #getExpandedOverlay expandedOverlay}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addExpandedOverlay( /** * The expandedOverlay to add; if empty, nothing is inserted */ oExpandedOverlay: sap.gantt.overlays.Overlay ): this; /** * Adds some staticOverlay to the aggregation {@link #getStaticOverlay staticOverlay}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addStaticOverlay( /** * The staticOverlay to add; if empty, nothing is inserted */ oStaticOverlay: sap.gantt.overlays.Overlay ): this; /** * Destroys all the expandedOverlay in the aggregation {@link #getExpandedOverlay expandedOverlay}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyExpandedOverlay(): this; /** * Destroys all the staticOverlay in the aggregation {@link #getStaticOverlay staticOverlay}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyStaticOverlay(): this; /** * Gets content of aggregation {@link #getExpandedOverlay expandedOverlay}. * * @since 1.120 */ getExpandedOverlay(): sap.gantt.overlays.Overlay[]; /** * Gets content of aggregation {@link #getStaticOverlay staticOverlay}. * * @since 1.120 */ getStaticOverlay(): sap.gantt.overlays.Overlay[]; /** * Checks for the provided `sap.gantt.overlays.Overlay` in the aggregation {@link #getExpandedOverlay expandedOverlay}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfExpandedOverlay( /** * The expandedOverlay whose index is looked for */ oExpandedOverlay: sap.gantt.overlays.Overlay ): int; /** * Checks for the provided `sap.gantt.overlays.Overlay` in the aggregation {@link #getStaticOverlay staticOverlay}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfStaticOverlay( /** * The staticOverlay whose index is looked for */ oStaticOverlay: sap.gantt.overlays.Overlay ): int; /** * Inserts a expandedOverlay into the aggregation {@link #getExpandedOverlay expandedOverlay}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertExpandedOverlay( /** * The expandedOverlay to insert; if empty, nothing is inserted */ oExpandedOverlay: sap.gantt.overlays.Overlay, /** * The `0`-based index the expandedOverlay should be inserted at; for a negative value of `iIndex`, the * expandedOverlay is inserted at position 0; for a value greater than the current size of the aggregation, * the expandedOverlay is inserted at the last position */ iIndex: int ): this; /** * Inserts a staticOverlay into the aggregation {@link #getStaticOverlay staticOverlay}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertStaticOverlay( /** * The staticOverlay to insert; if empty, nothing is inserted */ oStaticOverlay: sap.gantt.overlays.Overlay, /** * The `0`-based index the staticOverlay should be inserted at; for a negative value of `iIndex`, the staticOverlay * is inserted at position 0; for a value greater than the current size of the aggregation, the staticOverlay * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getExpandedOverlay expandedOverlay}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllExpandedOverlay(): sap.gantt.overlays.Overlay[]; /** * Removes all the controls from the aggregation {@link #getStaticOverlay staticOverlay}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllStaticOverlay(): sap.gantt.overlays.Overlay[]; /** * Removes a expandedOverlay from the aggregation {@link #getExpandedOverlay expandedOverlay}. * * @since 1.120 * * @returns The removed expandedOverlay or `null` */ removeExpandedOverlay( /** * The expandedOverlay to remove or its index or id */ vExpandedOverlay: int | string | sap.gantt.overlays.Overlay ): sap.gantt.overlays.Overlay | null; /** * Removes a staticOverlay from the aggregation {@link #getStaticOverlay staticOverlay}. * * @since 1.120 * * @returns The removed staticOverlay or `null` */ removeStaticOverlay( /** * The staticOverlay to remove or its index or id */ vStaticOverlay: int | string | sap.gantt.overlays.Overlay ): sap.gantt.overlays.Overlay | null; } /** * The Overlay class contains a shape aggregation to draw any Gantt 2.0 supported shapes as an overlay at * specific time points in the chart area. * * @since 1.120 */ class Overlay extends sap.ui.core.Element { /** * Creates and initializes a new Overlay class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if an ID is not provided. */ sId?: string ); /** * Creates a new subclass of class sap.gantt.overlays.Overlay with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.overlays.Overlay. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Destroys the shape in the aggregation {@link #getShape shape}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyShape(): this; /** * Gets current value of property {@link #getOverlayLevel overlayLevel}. * * Default value is `1`. * * @since 1.120 * * @returns Value of property `overlayLevel` */ getOverlayLevel(): int; /** * Gets current value of property {@link #getOverlayShapeId overlayShapeId}. * * @since 1.120 * * @returns Value of property `overlayShapeId` */ getOverlayShapeId(): string; /** * Gets content of aggregation {@link #getShape shape}. * * @since 1.120 */ getShape(): sap.gantt.simple.BaseShape; /** * Sets a new value for property {@link #getOverlayLevel overlayLevel}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ setOverlayLevel( /** * New value for property `overlayLevel` */ iOverlayLevel?: int ): this; /** * Sets a new value for property {@link #getOverlayShapeId overlayShapeId}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ setOverlayShapeId( /** * New value for property `overlayShapeId` */ sOverlayShapeId: string ): this; /** * Sets the aggregated {@link #getShape shape}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ setShape( /** * The shape to set */ oShape: sap.gantt.simple.BaseShape ): this; } } namespace simple { /** * Different data types for Gantt Chart Table Export. * * @since 1.83 */ namespace exportTableCustomDataType { /** * Property of type Boolean. */ export const Boolean: undefined; /** * Property of type Currency. */ export const Currency: undefined; /** * Property of type Date. */ export const Date: undefined; /** * Property of type DateTime. */ export const DateTime: undefined; /** * Property of type Numeric. */ export const Numeric: undefined; /** * Property of type String. */ export const String: undefined; /** * Property of type StringDate. */ export const StringDate: undefined; /** * Property of type Time. */ export const Time: undefined; } namespace shapes { /** * Describes the settings that can be provided to the Shape constructor. */ interface $ShapeSettings extends sap.gantt.simple.$BaseShapeSettings { /** * Color to be used for rendering the shape. */ color?: | sap.gantt.PaletteColor | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height defines the vertical length of the shape. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The horizontal width of a shape. Auto will be converted to width calculated from `time` and `endTime`. */ width?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The x position of the shapes start. Auto will be converted to position based on `time`. */ startX?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * All standard shapes are selectable. * * @deprecated As of version 1.71.2. replaced by {@link sap.gantt.simple.BaseShape} The property and its * default value, that is set to 'false', are being inherited from the parent BaseShape. */ selectable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * All standard shapes are hoverable. * * @deprecated As of version 1.71.2. replaced by {@link sap.gantt.simple.BaseShape} The property and its * default value, that is set to 'false', are being inherited from the parent BaseShape. */ hoverable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Task constructor. */ interface $TaskSettings extends sap.gantt.simple.shapes.$ShapeSettings { /** * Type of the task. */ type?: | sap.gantt.simple.shapes.TaskType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Position of utilisation information. */ utilizationDown?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Title used for legend. */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Alignment of the shape representing a task. */ alignShape?: | sap.gantt.simple.shapes.ShapeAlignment | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Base class for all standard shapes. * * This class provides the common used properties and methods useful for shape rendering. Use this class * as a parent of your custom shape implementations. * * @since 1.69 */ abstract class Shape extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new Shape class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.shapes.Shape with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.shapes.Shape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getColor color}. * * Color to be used for rendering the shape. * * Default value is `"sapUiLegend6"`. * * * @returns Value of property `color` */ getColor(): sap.gantt.PaletteColor; /** * Gets current value of property {@link #getHeight height}. * * Height defines the vertical length of the shape. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. * * Default value is `"auto"`. * * * @returns Value of property `height` */ getHeight(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getHoverable hoverable}. * * All standard shapes are hoverable. * * Default value is `true`. * * @deprecated As of version 1.71.2. replaced by {@link sap.gantt.simple.BaseShape} The property and its * default value, that is set to 'false', are being inherited from the parent BaseShape. * * @returns Value of property `hoverable` */ getHoverable(): boolean; /** * Returns hex color for hover background. * * * @returns Hex value of a hover color. */ getHoverBackgroundColor(): string; /** * Returns hex color for hover stroke. * * * @returns Hex value of a hover color. */ getHoverColor(): string; /** * Returns current hover state. * * * @returns `true` if the shape is in hover state, `false` otherwise. */ getHoverState(): boolean; /** * Computes the width in pixels this shape has based on current zoom level and `time` and `endTime`. * * * @returns Number of pixels representing the with of current shape. */ getPixelWidth(): number; /** * Returns a row padding. * * * @returns Row padding. */ getRowPadding(): number; /** * Gets current value of property {@link #getSelectable selectable}. * * All standard shapes are selectable. * * Default value is `true`. * * @deprecated As of version 1.71.2. replaced by {@link sap.gantt.simple.BaseShape} The property and its * default value, that is set to 'false', are being inherited from the parent BaseShape. * * @returns Value of property `selectable` */ getSelectable(): boolean; /** * Returns hex color for selected shapes. * * * @returns Hex value of a selected shape color. */ getSelectedColor(): string; /** * Gets current value of property {@link #getStartX startX}. * * The x position of the shapes start. Auto will be converted to position based on `time`. * * Default value is `"auto"`. * * * @returns Value of property `startX` */ getStartX(): sap.gantt.SVGLength; /** * Translates color to hex value. * * * @returns Color hex value. */ getTranslatedColor(): string; /** * Gets current value of property {@link #getWidth width}. * * The horizontal width of a shape. Auto will be converted to width calculated from `time` and `endTime`. * * Default value is `"auto"`. * * * @returns Value of property `width` */ getWidth(): sap.gantt.SVGLength; /** * Computes the x coordinate of the shape end. * * * @returns The x coordinate of the end in current zoom level. */ getXEnd(): number; /** * Computes the x coordinate of the shape beginning. * * * @returns The x coordinate of the beginning in current zoom level. */ getXStart(): number; /** * Renders the content of the shape. */ renderContent( /** * Render Manager */ oRm: sap.ui.core.RenderManager ): void; /** * Renders element into the provided Render Manager. */ renderElement( /** * Render Manager */ oRm: sap.ui.core.RenderManager ): void; /** * Sets a new value for property {@link #getColor color}. * * Color to be used for rendering the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapUiLegend6"`. * * * @returns Reference to `this` in order to allow method chaining */ setColor( /** * New value for property `color` */ sColor?: sap.gantt.PaletteColor ): this; /** * Sets a new value for property {@link #getHeight height}. * * Height defines the vertical length of the shape. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"auto"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getHoverable hoverable}. * * All standard shapes are hoverable. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @deprecated As of version 1.71.2. replaced by {@link sap.gantt.simple.BaseShape} The property and its * default value, that is set to 'false', are being inherited from the parent BaseShape. * * @returns Reference to `this` in order to allow method chaining */ setHoverable( /** * New value for property `hoverable` */ bHoverable?: boolean ): this; /** * Sets a new value for property {@link #getSelectable selectable}. * * All standard shapes are selectable. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @deprecated As of version 1.71.2. replaced by {@link sap.gantt.simple.BaseShape} The property and its * default value, that is set to 'false', are being inherited from the parent BaseShape. * * @returns Reference to `this` in order to allow method chaining */ setSelectable( /** * New value for property `selectable` */ bSelectable?: boolean ): this; /** * Sets a new value for property {@link #getStartX startX}. * * The x position of the shapes start. Auto will be converted to position based on `time`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"auto"`. * * * @returns Reference to `this` in order to allow method chaining */ setStartX( /** * New value for property `startX` */ sStartX?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getWidth width}. * * The horizontal width of a shape. Auto will be converted to width calculated from `time` and `endTime`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"auto"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.gantt.SVGLength ): this; } /** * A shape representing one task. * * @since 1.69 */ class Task extends sap.gantt.simple.shapes.Shape { /** * Creates and initializes a new Task class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.shapes.Task with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.shapes.Shape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.shapes.Task. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getAlignShape alignShape}. * * Alignment of the shape representing a task. * * Default value is `Middle`. * * * @returns Value of property `alignShape` */ getAlignShape(): sap.gantt.simple.shapes.ShapeAlignment; /** * Gets current value of property {@link #getTitle title}. * * Title used for legend. * * * @returns Value of property `title` */ getTitle(): string; /** * Gets current value of property {@link #getType type}. * * Type of the task. * * Default value is `Normal`. * * * @returns Value of property `type` */ getType(): sap.gantt.simple.shapes.TaskType; /** * Gets current value of property {@link #getUtilizationDown utilizationDown}. * * Position of utilisation information. * * Default value is `true`. * * * @returns Value of property `utilizationDown` */ getUtilizationDown(): boolean; /** * Sets a new value for property {@link #getAlignShape alignShape}. * * Alignment of the shape representing a task. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Middle`. * * * @returns Reference to `this` in order to allow method chaining */ setAlignShape( /** * New value for property `alignShape` */ sAlignShape?: sap.gantt.simple.shapes.ShapeAlignment ): this; /** * Sets a new value for property {@link #getTitle title}. * * Title used for legend. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; /** * Sets a new value for property {@link #getType type}. * * Type of the task. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Normal`. * * * @returns Reference to `this` in order to allow method chaining */ setType( /** * New value for property `type` */ sType?: sap.gantt.simple.shapes.TaskType ): this; /** * Sets a new value for property {@link #getUtilizationDown utilizationDown}. * * Position of utilisation information. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setUtilizationDown( /** * New value for property `utilizationDown` */ bUtilizationDown?: boolean ): this; } /** * Configuration options for vertical alignment of shape representing a Task. This is only applicable for * Tasks. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.shapes.ShapeAlignment'. * * @since 1.81 */ enum ShapeAlignment { /** * Summary task is aligned at the bottom. */ Bottom = "Bottom", /** * Summary task is aligned at the center. */ Middle = "Middle", /** * Summary task is aligned at the top. */ Top = "Top", } /** * Type of task shape. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.shapes.TaskType'. * * @since 1.69 */ enum TaskType { /** * An error task. */ Error = "Error", /** * A normal task. */ Normal = "Normal", /** * A collapsed summary task. */ SummaryCollapsed = "SummaryCollapsed", /** * An expanded summary task. */ SummaryExpanded = "SummaryExpanded", } } /** * Describes the settings that can be provided to the AdhocDiamond constructor. */ interface $AdhocDiamondSettings extends sap.gantt.simple.$BaseDiamondSettings { /** * Fires when the adhocdiamond is pressed. */ press?: (oEvent: sap.ui.base.Event) => void; /** * Fires when the adhocdiamond is hovered. */ mouseEnter?: (oEvent: sap.ui.base.Event) => void; /** * Fires when the mouse leaves adhocdiamond. */ mouseLeave?: (oEvent: sap.ui.base.Event) => void; } /** * Describes the settings that can be provided to the AdhocLine constructor. */ interface $AdhocLineSettings extends sap.ui.core.$ElementSettings { /** * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and the URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.simple.GanttChartContainer}, * {@link sap.gantt.simple.GanttChartWithTable}. */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Standard SVG 'stroke-dasharray' attribute. */ strokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Standard SVG 'stroke-opacity' attribute. */ strokeOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Time stamp of the adhoc line */ timeStamp?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the time stamp */ description?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Visibility of Adhoc Line */ visible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Marker Type for Adhoc Line */ markerType?: | sap.gantt.simple.MarkerType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Delay in milliseconds for the marker popover to show up * * @deprecated As of version 1.97. **Note:**With the new implementation, this property won't have any effect. */ markerPopoverDelay?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the adhoc line is draggable. * * @since 1.88 */ draggable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Fires when the adhoc marker is pressed. */ markerPress?: (oEvent: sap.ui.base.Event) => void; /** * Fires when the adhoc marker is hovered. */ markerMouseEnter?: (oEvent: sap.ui.base.Event) => void; /** * Fires when the mouse leaves adhoc marker. */ markerMouseLeave?: (oEvent: sap.ui.base.Event) => void; /** * Fires during drag and drop of the adhoc line. * * @since 1.88 */ adhoclineDrop?: (oEvent: AdhocLine$AdhoclineDropEvent) => void; } /** * Describes the settings that can be provided to the BaseCalendar constructor. */ interface $BaseCalendarSettings extends sap.gantt.simple.$BaseRectangleSettings { /** * Calendar name is used to map the base calendar with its calendar definition pattern. Do not set this * property if you do not want to reuse the calendar definition across rows, and you want row wise different * calendars. Instead set the time, endtime and fill the properties for the calendar shape. Providing values * for calendarName, and time or endTime is considered as invalid. In such cases, time or endTime are ignored * even if the calendarName is not available in calendar definitions. */ calendarName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Fill for calendar shape * * @since 1.134 */ fill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * stroke for the calendar shape * * @since 1.134 */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseChevron constructor. */ interface $BaseChevronSettings extends sap.gantt.simple.$BaseRectangleSettings { /** * The head width of the Chevron */ headWidth?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The tail width of the Chevron */ tailWidth?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The title of the Chevron. */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Flag to show or hide the title of the Chevron. */ showTitle?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseConditionalShape constructor. */ interface $BaseConditionalShapeSettings extends sap.gantt.simple.$BaseShapeSettings { /** * Defines which shape from the `shapes` aggregation is visible. If you specify a negative value or a value * that is greater than the number of shapes defined, no shape will be rendered. */ activeShape?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether or not the system takes this shape into account at the bird's eye zoom level. * We suggest that you set this property to `true` only for shapes that really need to be considered when * in the bird's eye view. * * This property is overwritten by property `countInBirdEye` of the `activeShape` shape from the `shapes` * aggregation. * For setting this property, use the setter method of the active shape. The getter method returns the property * value of the active shape. */ countInBirdEye?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * A list of base shapes to switch between. Only one of these shapes will be rendered based on the `activeShape` * property. Incase if aggregation is bound to listbinding,this aggregation will includes only active shape * instance. */ shapes?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseCursor constructor. */ interface $BaseCursorSettings extends sap.gantt.simple.$BaseRectangleSettings { /** * The horizontal length of a cursor. This property influences generated value `d`. */ length?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The vertical size minus the point size of a cursor. This property influences generated value `d`. */ width?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The point size of a cursor. This property influences generated value `d`. */ pointHeight?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseDeltaRectangle constructor. */ interface $BaseDeltaRectangleSettings extends sap.gantt.simple.$BaseShapeSettings { /** * Defines the X-axis coordinate in the user coordinate system. */ x?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the Y-axis coordinate in the user coordinate system. */ y?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Width defines the horizontal length of the rectangle. Most of time it's calculated by properties `time` * and `endTime` automatically */ width?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height defines the vertical length of the rectangle. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * rx defines the radius of the X-axis. */ rx?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * ry defines the radius of the Y-axis. */ ry?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Title of the rectangle. */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Flag to show or hide the title of the Rectangle. */ showTitle?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * stroke property of the delta rectangle shape * * @since 1.135 */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; press?: (oEvent: sap.ui.base.Event) => void; mouseEnter?: (oEvent: sap.ui.base.Event) => void; mouseLeave?: (oEvent: sap.ui.base.Event) => void; } /** * Describes the settings that can be provided to the BaseDiamond constructor. */ interface $BaseDiamondSettings extends sap.gantt.simple.$BaseRectangleSettings { /** * width of Diamond */ width?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * height of Diamond */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseGroup constructor. */ interface $BaseGroupSettings extends sap.gantt.simple.$BaseShapeSettings { /** * The shapes of the group */ shapes?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseImage constructor. */ interface $BaseImageSettings extends sap.gantt.simple.$BaseTextSettings { /** * Src of the image. If the image is represented by an icon font, then the src is sap-icon://task for instance */ src?: | sap.ui.core.URI | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Width of the image. */ width?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the image. */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseLine constructor. */ interface $BaseLineSettings extends sap.gantt.simple.$BaseShapeSettings { /** * x1 defines the x-axis coordinate of the line starting point */ x1?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * y1 defines the y-axis coordinate of the line starting point */ y1?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * x2 defines the x-axis coordinate of the line ending point */ x2?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * y2 defines the y-axis coordinate of the line ending point */ y2?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BasePath constructor. */ interface $BasePathSettings extends sap.gantt.simple.$BaseShapeSettings { /** * The d property provides a path definition to be drawn. */ d?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the BaseRectangle constructor. */ interface $BaseRectangleSettings extends sap.gantt.simple.$BaseShapeSettings { /** * x defines a x-axis coordinate in the user coordinate system */ x?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * defines a y-axis coordinate in the user coordinate system */ y?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * width defines the horizontal length of the rectangle. Most of time it's calculated by properties `time` * and `endTime` automatically */ width?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * height defines the vertical length of the rectangle. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * rx defines a radius on the x-axis. */ rx?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * ry defines a radius on the y-axis. */ ry?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseShape constructor. */ interface $BaseShapeSettings extends sap.ui.core.$ElementSettings { /** * ID of the shape. shapeId property represents a unique identifier for a business object. This property * shall be bound to a property during initialization, it requires an unique non-empty value. */ shapeId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Start time of the shape. This property is mandatory. You must bind this property to a model, or set a * valid JavaScript Date object. The value will be converted to x coordination when rendering. If not set, * the shape is not visible. */ time?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * End time of the shape. This property is mandatory if the shape is a duration shape. You must bind this * property to a model, or set a valid JavaScript Date object. The duration is determined by minusing the * value of property `time` */ endTime?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Scheme key of the shape. * * The scheme is used by expand/collapse the main row shape. You can define the scheme together with `shapeSchemes` * in `sap.gantt.simple.GanttChartWithTable`, the value defines here needse matchs the key value defines * in `sap.gantt.simple.ShapeScheme` */ scheme?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * X offset in pixel. If the value is positive, in non-RTL mode, means to translate the visual object to * the right in pixel unit. If the value is negative, the logic is inverted. */ xBias?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Y offset in pixel. If the value is positive, in non-RTL mode, it means translate the visual object to * the bottom in pixel unit. If the value is negative, the logic is inverted. */ yBias?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The fill property enables you to define the fill color for shapes and texts. * * For shapes and text the fill property is a presentation attribute that lets define the color (or any * SVG paint servers like gradients or patterns) */ fill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * stroke opacity of the shape */ strokeOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The fillOpacity property is a presentation property defining the opacity of the paint server (color, * gradient, pattern, etc) applied to a shape. */ fillOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The opacity attribute specifies the transparency of an object or of a group of objects, that is, the * degree to which the background behind the element is overlaid. * * The minimum value is 0.0 and maximum value is 1.0 */ opacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The stroke property is a presentation property defining the color (or any SVG paint servers like gradients * or patterns) used to paint the outline of the shape; */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. */ strokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The strokeDasharray property is a presentation property defining the pattern of dashes and gaps used * to paint the outline of the shape. */ strokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * The transform property defines a list of transform definitions that are applied to an element and the * element's children Right now in gantt library, only `translate()` method is supported. CSS methods like * scale, skew, rotate and matrix doesn't support. And if you provide values for transform, the values will * update xBias and yBias if translate the corresponding axis is matched. */ transform?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * The filter property defines the filter effects defined by the element that shall be applied * to its element */ filter?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Whether the shape is expandable */ expandable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Whether the shape is selectable */ selectable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Whether the shape is selected */ selected?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the shape is draggable a draggble shape requires the shape is selectable set true as * well. */ draggable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the shape is resizable. Resizing a shape requires the shape is selectable as well. */ resizable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the shape is hoverable. hovering the mouse pointer over the shape fires the shapeMouseEnter * event and moving the mouse pointer out of the shape fires the shapeMouseLeave event. */ hoverable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the shape is connectable. When this property is set to true, you can connect two different * shapes to create a relationship */ connectable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * rowYCenter of the shape */ rowYCenter?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether or not the system takes this shape into account when performing a bird eye zooming. * We suggest that you set this property to true only for shapes that really need to be considered into * bird eye range. */ countInBirdEye?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Shows or hides the shape. */ visible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The title of the Shape. */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Flag to show or hide the title of the Shape. */ showTitle?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Enables selection of all shapes that are part of a shape chain in a Gantt chart * * @since 1.86 */ enableChainSelection?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Enables selection of a shape when it is part of the shape chain. By default, this property is set as * True. * * @since 1.86 */ selectableInChainSelection?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Vertical alignment for the title of the Shape. * * @since 1.86 */ verticalTextAlignment?: | sap.gantt.simple.verticalTextAlignment | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Horizontal alignment for the title of the Shape. * * @since 1.86 */ horizontalTextAlignment?: | sap.gantt.simple.horizontalTextAlignment | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * `animationSettings` - A JSON object used to apply animation to the color of the specified shape. * * - `"values": null` - A list of values defining the sequence of colors appearing during animation. * - `"duration": "1s"` - Denotes the duration of the animation. The value must be greater than 0, and * can be expressed in hours(h), minutes(m), seconds(s), or milliseconds(ms). * - `"repeatCount": "indefinite"` - Denotes the number of times an animation repeats. Restriction: * Enter at least two colors in the values key for the animation to work. If duration and repeatCount are * unspecified, the default values (duration '1s' and repeatCount 'indefinite') are set. **Note:** This * is only applicable for animation of shapes in Gantt charts. This is not applicable for utilization charts. * Refer to an example below: * ```javascript * * { * "values": "sapContent_Selected_ForegroundColor;sapContent_ForegroundBorderColor", * "duration": "1s", * "repeatCount": "indefinite" * } * ``` * * * @since 1.88 */ animationSettings?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide animation of an active shape. * * @since 1.88 */ showAnimation?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The titleColor property defines the color (or any SVG paint servers like gradients or patterns) of the * shape title; * * @since 1.90 */ titleColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The fontSize property refers to the size of the font * * @since 1.100 */ fontSize?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The fontWeight property refers to the font weight that gets used to render the text in the shape. * * @since 1.100 */ fontWeight?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Enables alignment of the shape. The shape can be aligned to the top, middle or bottom. By default, this * property is set to Middle. **Note:** Alignment is not possible for BaseLine and BasePath. It will be * set to BaseChevron, BaseRectangle, BaseCursor BaseDiamond, BaseText, BaseTriangle and BaseGroup. */ alignShape?: | sap.gantt.simple.shapes.ShapeAlignment | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This property indicates the font family that gets used to render the text in the shape. * * @since 1.94 */ fontFamily?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * The titleSpacing property defines the space between the start of the shape and the shape title in pixels * * @since 1.96 */ titleSpacing?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The selectedFill property defines the color (or any SVG paint servers like gradients or patterns) of * the shape when it is selected. * * @since 1.99 */ selectedFill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The selectedTitleColor property defines the color (or any SVG paint servers like gradients or patterns) * of the shape's title when it is selected. * * @since 1.99 */ selectedTitleColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Whether the shape is highlightable * * @since 1.100 */ highlightable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Whether the shape is highlighted * * @since 1.100 */ highlighted?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Comma-separated value of row IDs for the rows that are highlighted when the shape is being dragged. The * highlighted rows are the ones where the shape drop is allowed. * * @since 1.108 */ dragHighlightRows?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Provides the style class name for the shape that can be mapped from shapeStyles aggregation in GanttChartWithTable * or GanttChartContainer. * * @since 1.130 */ styleName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Postion of left anchor for a shape to connect with other shapes whose value ranges from 0-100 * * @since 1.131 */ leftAnchorPosition?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Postion of right anchor for a shape to connect with other shapes whose value ranges from 0-100 * * @since 1.131 */ rightAnchorPosition?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The hoverFillColor property lets you define the fill color for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * @since 1.145 */ hoverFillColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The hoverStrokeColor property lets you define the stroke color for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * @since 1.145 */ hoverStrokeColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The hoverStrokeWidth property lets you define the stroke-width for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * @since 1.145 */ hoverStrokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseText constructor. */ interface $BaseTextSettings extends sap.gantt.simple.$BaseShapeSettings { /** * Text content */ text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * x-axis coordinate */ x?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * y-axis coordinate */ y?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The fontSize property refers to the size of the font */ fontSize?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This property is used to align (start-, middle- or end-alignment) a string of text relative to a given * point */ textAnchor?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * This property indicates which font family will be used to render the text, specified as a prioritized * list of font family names and/or generic family names */ fontFamily?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * The width to start truncate the text. If the value is omit, the text is truncated base on it's parent * width */ truncateWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show the ellipsis symbol. */ showEllipsis?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to consider a baseText as not a part of graphical shape. Label exclusion is only applicable to outermost * basegroup. * * @since 1.93 */ isLabel?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The color of the text */ fill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the BaseTriangle constructor. */ interface $BaseTriangleSettings extends sap.gantt.simple.$BaseRectangleSettings { /** * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Standard SVG 'stroke-width' attribute. */ strokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Standard SVG 'stroke-dasharray' attribute. */ strokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Width of the triangle */ width?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the triangle */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Orientation of the triangle */ orientation?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; press?: (oEvent: sap.ui.base.Event) => void; mouseEnter?: (oEvent: sap.ui.base.Event) => void; mouseLeave?: (oEvent: sap.ui.base.Event) => void; } /** * Describes the settings that can be provided to the ContainerToolbar constructor. */ interface $ContainerToolbarSettings extends sap.m.$OverflowToolbarSettings { /** * Flag to show or hide bird eye button on the toolbar */ showBirdEyeButton?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide display type menu on the toolbar */ showDisplayTypeButton?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide legend button */ showLegendButton?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide setting button */ showSettingButton?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide zoom buttons */ showTimeZoomControl?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the control type to set the zoom rate. */ zoomControlType?: | sap.gantt.config.ZoomControlType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Step count of {@link sap.m.Slider} * * This property only relevant if zoomControlType are: * - SliderWithButtons * - SliderOnly */ stepCountOfSlider?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Array of plain objects that have "key" and "text" properties, or array of sap.ui.core.Item used to configure * the items in the {@link sap.m.Select} control * * This property is only works if the zoomControlType is Select */ infoOfSelectItems?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Zoom level of all gantt chart instances in GanttChartContainer */ zoomLevel?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines how the toolbar custom content is aligned. * If set to `true`, the custom content in the toolbar is right-aligned. If set to `false`, it's left-aligned. * If a {@link sap.gantt.simple.ContainerToolbarPlaceholder} with a `Spacer` type is used in the content * aggregation, the alignment of the content depends on this spacer. */ alignCustomContentToRight?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide Find and Select search button Find operation is not going to work for the stock * chart and utilization gantt charts with time continuous shapes. * * @since 1.100 */ showSearchButton?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines where the search box should appear on pressing the find button * * @since 1.102 */ findMode?: | sap.gantt.config.FindMode | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The additional setting items in Setting Dialog */ settingItems?: | sap.gantt.config.SettingItem[] | sap.gantt.config.SettingItem | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The legend container that will show when the legend button is pressed */ legendContainer?: sap.ui.core.Control; /** * fired when zoom stop changed */ zoomStopChange?: (oEvent: ContainerToolbar$ZoomStopChangeEvent) => void; /** * Fired when the bird eye button is pressed */ birdEyeButtonPress?: (oEvent: sap.ui.base.Event) => void; /** * Fired when a different display type is selected in the display type menu. */ displayTypeChange?: ( oEvent: ContainerToolbar$DisplayTypeChangeEvent ) => void; /** * Fired to invoke Gantt search side panel * * @since 1.100 */ ganttSidePanel?: (oEvent: ContainerToolbar$GanttSidePanelEvent) => void; /** * Gets initiated when the find button is pressed on the toolbar * * @since 1.102 */ findButtonPress?: (oEvent: sap.ui.base.Event) => void; /** * Gets initiated when the close find button is pressed on the toolbar * * @since 1.102 */ closeFindButtonPress?: (oEvent: sap.ui.base.Event) => void; /** * Gets initiated when the find popup button is pressed on the sidepanel * * @since 1.102 */ findPopupButtonPress?: (oEvent: sap.ui.base.Event) => void; /** * Gets initiated when the close button is pressed on the sidepanel * * @since 1.102 */ closeSidePanelButtonPress?: (oEvent: sap.ui.base.Event) => void; } /** * Describes the settings that can be provided to the ContainerToolbarPlaceholder constructor. */ interface $ContainerToolbarPlaceholderSettings extends sap.ui.core.$ControlSettings { /** * Defines the type of represented control. */ type?: | sap.gantt.simple.ContainerToolbarPlaceholderType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the CustomVariantHandler constructor. */ interface $CustomVariantHandlerSettings extends sap.ui.core.$ElementSettings { data?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; dependantControlID?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the DeltaLine constructor. */ interface $DeltaLineSettings extends sap.ui.core.$ElementSettings { /** * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Standard SVG 'stroke-dasharray' attribute. */ strokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Standard SVG 'stroke-opacity' attribute. */ strokeOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Start time stamp of the Delta Line */ timeStamp?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * End time stamp of the Delta Line */ endTimeStamp?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the Delta Line */ description?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Visibility of the Delta Line */ visible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Visibility of the Delta Start and End Lines * * @since 1.103 */ visibleDeltaStartEndLines?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Visibility of the Delta Line * * @deprecated As of version 1.97. **Note:**With the new implementation, this property won't have any effect. */ timeDelay?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the delta line is draggable. * * @since 1.88 */ draggable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether the delta line is resizable. * * @since 1.88 */ resizable?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; press?: (oEvent: sap.ui.base.Event) => void; mouseEnter?: (oEvent: sap.ui.base.Event) => void; mouseLeave?: (oEvent: sap.ui.base.Event) => void; /** * Fires during drag and drop of the delta line. * * @since 1.88 */ deltalineDrop?: (oEvent: DeltaLine$DeltalineDropEvent) => void; /** * Fires during resize of delta line. * * @since 1.88 */ deltalineResize?: (oEvent: DeltaLine$DeltalineResizeEvent) => void; } /** * Describes the settings that can be provided to the DimensionLegend constructor. */ interface $DimensionLegendSettings extends sap.ui.core.$ControlSettings { /** * Title of Legend Page & text of navigation list item (if not set it will be empty) */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Legend column configuration */ columnConfigs?: | sap.gantt.simple.LegendColumnConfig[] | sap.gantt.simple.LegendColumnConfig | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Legend row configuration */ rowConfigs?: | sap.gantt.simple.LegendRowConfig[] | sap.gantt.simple.LegendRowConfig | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the GanttChartContainer constructor. */ interface $GanttChartContainerSettings extends sap.ui.core.$ControlSettings { /** * height of the container. * * Note that when a percentage is given, for the height to work as expected, the height of the surrounding * container must be defined. */ height?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * width of the container. * * Note that when a percentage is given, for the width to work as expected, the width of the surrounding * container must be defined. */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The GanttChartContainer use Splitter to manager the layout, it can have horizontal or vertical orientation. * **Note:** the property only take effect if GanttChartContainer has more than 1 ganttChart instances */ layoutOrientation?: | sap.ui.core.Orientation | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable scroll synchronization by time on instances of aggregation `ganttCharts`. */ enableTimeScrollSync?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable the cursor line that follows the cursor. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableCursorLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable the present time indicator. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableNowLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable vertical lines representing intervals along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableVerticalLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable adhoc lines representing milestones and events along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableAdhocLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable delta lines * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * @since 1.84 */ enableDeltaLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable non-working time * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * @since 1.86 */ enableNonWorkingTime?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines how the Gantt chart is displayed. * - If set to `Both`, both the table and the chart are displayed. * - If set to `Chart`, only the chart is displayed. * - If set to `Table`, only the table is displayed. This property overrides the `displayType` properties * of individual Gantt charts included in the `ganttCharts` aggregation. */ displayType?: | sap.gantt.simple.GanttChartWithTableDisplayType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable and disable status bar. * * @since 1.88 */ enableStatusBar?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the message texts set on the status bar. * * @since 1.88 */ statusMessage?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Determines the date pattern set on the status bar. * * @since 1.88 */ statusBarDatePattern?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Determines the time pattern set on the status bar. * * @since 1.88 */ statusBarTimePattern?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Defines the list of items to be hidden in Settings. * * @since 1.88 */ hideSettingsItem?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Property to enable variant management * * @since 1.95 */ enableVariantManagement?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Array of search results displayed on the toolbar and side panel * * @since 1.106 */ customSearchResults?: | any[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This property enables the auto selection of a shape upon search and find. * * @since 1.111 */ enableAutoSelectOnFind?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This property enables auto focus while zooming in on a selected shape. * * @since 1.126 */ enableAutoFocusOnZoom?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Toolbar of the container. */ toolbar?: sap.gantt.simple.ContainerToolbar; /** * Gantt Chart of the container */ ganttCharts?: | sap.gantt.simple.GanttChartWithTable[] | sap.gantt.simple.GanttChartWithTable | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Status bar of the container */ statusBar?: sap.m.FlexBox; /** * Definitions of paint servers used for advanced shape features around SVG fill, stroke, and filter attributes. * The generated SVG will be reused in all gantt chart instances */ svgDefs?: sap.gantt.def.SvgDefs; /** * Custom variant handler of the container * * @since 1.88 */ variantHandler?: sap.gantt.simple.CustomVariantHandler; /** * Side panel to display search results of Find and Select operation in the chart area * * @since 1.100 */ searchSidePanel?: /* was: sap.gantt.simple.GanttSearchSidePanel */ any; /** * List of search results displayed on the side panel of Find and Select operation * * @since 1.102 */ searchSidePanelList?: sap.tnt.NavigationList; /** * Side panel to place custom control within the Gantt Chart Container. * * @since 1.126 */ sidePanel?: sap.gantt.layouts.SidePanel; /** * Configuration for the Gantt chart styles. This aggregation will be ignored if ganntStyleConfigs aggregation * is set for ganttChartWithTable. * * @since 1.130 */ shapeStyles?: | sap.gantt.simple.ShapeStyle[] | sap.gantt.simple.ShapeStyle | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Event fired when the custom settings value is changed. * * The custom settings are application provided settings that can be configured in the settings dialog. * This event allows the application to handle these settings. Only check boxes are supported. */ customSettingChange?: ( oEvent: GanttChartContainer$CustomSettingChangeEvent ) => void; /** * The event is triggered when a variant is applied. Note that all changes are saved before the variant * is applied. * * This event enables the application to update binding parameters of tables, and also updates the charts, * if required, after applying the changes. * * @since 1.88 */ variantApplied?: (oEvent: sap.ui.base.Event) => void; /** * The event is fired when the list inside search side panel is being populated. * * This event enables the application to modify the list (i.e, change text, add icons, etc) which is shown * on the search side panel. * * @since 1.102 */ ganttSearchSidePanelList?: ( oEvent: GanttChartContainer$GanttSearchSidePanelListEvent ) => void; /** * The event is fired when the search results are being populated. * * This event enables the application to filter the search results that are shown on the toolbar and side * panel * * @since 1.106 */ customGanttSearchResult?: ( oEvent: GanttChartContainer$CustomGanttSearchResultEvent ) => void; /** * The event is fired when the search result selection changes. * * This event enables the application to react when a change occurs in the selected search item. * * @since 1.121 */ searchSelectionChanged?: ( oEvent: GanttChartContainer$SearchSelectionChangedEvent ) => void; } /** * Describes the settings that can be provided to the GanttChartWithTable constructor. */ interface $GanttChartWithTableSettings extends sap.ui.core.$ControlSettings { /** * Width of the control. */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the control. */ height?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Shape selection mode of the Gantt Chart. This property controls whether single or multiple shapes can * be selected. When the selection mode is changed, the current selection is removed. * * The shapeSelectionMode only works if `selectable` property on the defined Shape is set to true. */ shapeSelectionMode?: | sap.gantt.SelectionMode | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies whether shape is rendered over relationship or relationship over shape when relationship leads * through shape. * * If enabled, shapes are rendered over relationships. If disabled, relationships are rendered over shapes. * * @since 1.76 */ shapeOverRelationship?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * A JSON object containing the shapeSelectionSettings which will be used to configure shape selection styles. * If nothing is specified, then the default selection styles (2px dashed red border) is set. New properties * 'shapeColor' and 'fillOpacity' are introduced as of SAPUI5 1.85 release. Using these, you can configure * color and opacity of highlighted shapes in a gantt chart. Below you can find a brief example * ```javascript * * { * color: "@sapChart_Sequence_9_Plus2", * strokeWidth: 2, * strokeDasharray: "5,1" * shapeColor: null, * fillOpacity: 0 * } * ``` */ shapeSelectionSettings?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * A JSON object containing the shapeHighlightSettings that is used to configure shape highlight styles. * If nothing is specified, then the default highlight styles (2px dashed black border) is set. Below * you can find a brief example * ```javascript * * { * color: "@sapChart_Sequence_9_Plus2", * strokeWidth: 2, * strokeDasharray: "5,1" * shapeColor: null, * fillOpacity: 0 * } * ``` * * * @since 1.100 */ shapeHighlightSettings?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag whether to show or hide the cursor line when moving your mouse cursor */ enableCursorLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag whether to show or hide the present time indicator. */ enableNowLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag whether to show the `nowLine` in UTC or in FLP time. * * @since 1.68 */ nowLineInUTC?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide vertical lines representing intervals along the time axis */ enableVerticalLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide adhoc lines representing milestones and events along the time axis */ enableAdhocLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies on which layer adhoc lines reside. By default, adhoc lines are on top of all other shapes and * patterns. */ adhocLineLayer?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Flag to show or hide Delta Lines * * @since 1.84 */ enableDeltaLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide non-working time * * @since 1.86 */ enableNonWorkingTime?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide Chart Delta Area highlighting * * @since 1.84 */ enableChartDeltaAreaHighlight?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies the layer on which Delta Lines reside. By default, Delta Lines are above all shapes and patterns. * * @since 1.84 */ deltaLineLayer?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies how the application's date is displayed in the gantt chart. For example: "dd.MM.yyyy" (31.01.2018) * * @since 1.86 */ datePattern?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies how the application's time is displayed in the gantt chart. For example: "hh:mm a" (12:05 PM) * * @since 1.86 */ timePattern?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Property to enable borders for expanded rows. By default, only row borders are enabled. * * @since 1.84 */ enableExpandedRowBorders?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Property to enable the background color for expanded rows. By default, this would show the row background * * @since 1.84 */ enableExpandedRowBackground?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Property to define the height of an expanded row in pixels. * * @since 1.85 */ expandedRowHeight?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Drag orientation of Gantt Chart. * * This property doesn't limit the mouse cursor position but the dragging ghost position when dragging it * around. This property has 3 values: * - Free: The dragging ghost moves along with your mouse cursor. * - Horizontal: The dragged ghost only moves horizontally, cross row dragging is restricted. You can * use this mode if you only need to change the times of the dragging shape * - Vertical: ***Notice*** Vertical works if only one shape is selected (regardless shapeSelectionMode), * it's showing forbidden cursor style on multiple shape selections when you are dragging. You can use this * vertical mode if you only want to change the assignment without changing shape times. */ dragOrientation?: | sap.gantt.DragOrientation | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The dragging ghost alignment of Gantt Chart. This property define the visual effect of ghost position * on dragging, it also effect the parameter value in event `shapeDragEnd` */ ghostAlignment?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Flag to show or hide the start time and end time of a shape when you drag it along the time line. The * property takes effect if only one shape is selected or `enableMultipleGhosts` is set to false. */ showShapeTimeOnDrag?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The width of selection panel. * * In `sap.gantt.simple.GanttChartWithTable`, the selectionPanelSize is the Table/TreeTable width in the * embedded Splitter. */ selectionPanelSize?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines how the Gantt chart is displayed. * - If set to `Both`, both the table and the chart are displayed. * - If set to `Chart`, only the chart is displayed. * - If set to `Table`, only the table is displayed. When the parent element of the Gantt chart * is the {@link sap.gantt.simple.GanttChartContainer}, this property overrides the `displayType` property * of {@link sap.gantt.simple.GanttChartContainer}. */ displayType?: | sap.gantt.simple.GanttChartWithTableDisplayType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Disables or enables the `shapeDoubleClick` event. If set to `true`, the `shapeDoubleClick` event is disabled. */ disableShapeDoubleClickEvent?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to show or hide the Export Button for a Table. **Note:**CustomData - Mandatory field for Export * table to Excel functionality. It contains properties that can be configured based on the column configuration, * where the key name is restricted to exportTableColumnConfig. The custom data is created for aggregation * of columns in a table. Export to excel feature is supported for both OData and JSON models, with a restriction * that the tree structure converts to a flat array for a JSON model. The fields supported in the custom * data are: * - leadingProperty - DataSource field for a column. This is a mandatory field. * - columnKey - Identifier for individual columns. * - dataType - Data type for the given column element. The supported data types are dateTime, stringDate, * date, time, boolean, string and numeric. * - isCurrency - Boolean value to determine if the column type contains Currency. * - unit - Text to display as the unit of measurement of a numeric value. * - unitProperty - Name of the DataSource field that contains the unit/currency texts. * - scale - Number of digits after the decimal point of numeric values. * - precision - Precision for numeric values. * - displayFormat - Date format to be displayed. The default for dateTime is DD-MM-YY HH:MM, and the * default for date is DD-MM-YY. * - hierarchyNodeLevel - DataSource field which contains the hierarchy level. This is currently supported * only for OData models. * - wrap - Boolean value to determine whether the contents of the table should be wrapped. Example: * * ```javascript * * * * * * * * * * * ``` */ showExportTableToExcel?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Allows to drag, drop, and resize a shape on explicitly selecting the shape. * * @since 1.85 */ enableSelectAndDrag?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Property to add custom color to the highlighted area between delta lines. This would default to Fiori * standard color * * @since 1.86 */ deltaAreaHighlightColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Enables inversion on shape selection while drawing lasso */ enableLassoInvert?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Option to show or hide the parent row on expand. This is applicable only for multi-activity row settings. * * @since 1.86 */ showParentRowOnExpand?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the batch size, that is the number of rows, to be printed per iteration. If set to 0, batching * is disabled and the entire Gantt chart is printed. This could slow the performance and make the browser * non-responsive. Note: Relationship lines can be interrupted if the start and end points are in different * canvases. To minimize this effect, choose a bigger batch size, ensuring that the browser is responsive * during printing. * * @since 1.90 */ printingBatchSize?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Option to show or hide the header of the Gantt chart * * @since 1.90 */ showGanttHeader?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Enables snapping of shapes to attach to the nearest visual element while dragging. * * @since 1.91 */ snapMode?: | sap.gantt.dragdrop.SnapMode | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the least time taken in seconds for a shape to snap while in a particular zoom level. eg. { "4hour":{timeInterval:1800}, * ---> 30mins Snap "1hour":{timeInterval:900} ---> 15mins Snap } * * @since 1.91 */ snapTimeInterval?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Option to show or hide the chart overflow toolbar. * * @since 1.92 */ enableChartOverflowToolbar?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Option to disable or enable the chart row's selection state. * * @since 1.93 */ enableChartSelectionState?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Option to disable or enable the chart row's hover state. * * @since 1.93 */ enableChartHoverState?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Enables selection of only graphical shapes excluding labels. * * @since 1.93 */ selectOnlyGraphicalShape?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Option to show or hide shape labels on ghost while dragging. The property takes effect only when `enableMultipleGhosts` * is set to true. * * @since 1.94 */ showTextOnGhost?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies the size of the relationship's shape. Applicable to triangles, square, diamond, and circle * shapes; excluding horizontal rectangle and vertical rectangle shapes. * * @since 1.96 */ relationshipShapeSize?: | sap.gantt.simple.relationshipShapeSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required. * PseudoShape creation depends only on the tasks, and subtasks are not considered. * * @since 1.98 */ useParentShapeOnExpand?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the property names for which findAll method should search in different entities * * @since 1.100 */ findBy?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines relationship between the operator and the property names using the findAll method * * @since 1.100 */ findByOperator?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Defines whether shapeConnectorList is displayed upon the click of connector/relationship or not * * @since 1.102 */ isConnectorDetailsVisible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The rowHighlightFill property defines the color that is filled for the highlighted rows when a shape * is being dragged The highlighted rows are the ones where the shape drop is allowed * * @since 1.108 */ rowHighlightFill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The rowHighlightAndHoverFill property defines the color that is filled for the highlighted and hovered * rows when a shape is being dragged The highlighted rows are the ones where the shape drop is allowed * * @since 1.108 */ rowHighlightAndHoverFill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Set to true if Gantt chart is configured to be lazy loaded horizontally. Application should fetch the * data only for the visible horizon. Application also should make sure to fetch the relevant data on user * interactions like horizontal scroll, zoom out, bird eye which changes the visible horizon until the time * when all the data is fetched. This property has to be used with `setAllDataLoadedPromise()`. * * @since 1.109 */ horizontalLazyLoadingEnabled?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Optimizes the rendering of overlapping shapes * * @since 1.110 */ enablePseudoShapes?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Time in milliseconds where the mouse has to be on the same shape for the specified time before triggering * the `shapeMouseEnter` event * * @since 1.112 */ shapeMouseEnterDelay?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Time in milliseconds where the mouse has moved out of the hovered shape for the specified time before * triggering the `shapeMouseLeave` event * * @since 1.112 */ shapeMouseLeaveDelay?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Comma-separated value of shape aggregations to decide the rendering order The aggregations first in the * array are rendered first. Aggregations not mentioned in the array will be rendered at the very first * Example: "shapes3,shapes2,shapes1" means shapes3 will be rendered at the bottom, and shapes1 will be * rendered at the top * * @since 1.113 */ shapeRenderOrder?: | string[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged. * * @since 1.127 */ enableMultipleGhosts?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration that optimizes relationship rendering behaviour by avoiding the rendering of non-interactive * relationships. When the flag is enabled, a relationship instance is required in both the predecessor * and successor rows, where the shapeTypeStart, and shapeTypeEnd property of relationship are set to default. * * @since 1.133 */ optimiseRelationships?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to use the shape fill for the ghost shape when dragging. When the flag is enabled, the ghost shape * has the same fill color as the original shape. The property takes effect only when `shapeStyles` does * not have a fill explicitly set. * * @since 1.146 */ useShapeFillForGhost?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop * event is not triggered when a shape is dropped from another chart. * * @since 1.147 */ enableShapeDropFromOtherCharts?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Table of the Gantt Chart * * You can use {sap.ui.table.Table} if you have a flat list data or {sap.ui.table.TreeTable} if you have * hierarchical data. */ table?: sap.ui.table.Table; /** * The aggregation is used to store configuration of adhoc lines, adhoc lines represent milestones and events * in axis time. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. */ adhocLines?: | sap.gantt.AdhocLine[] | sap.gantt.AdhocLine | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The aggregation is used to store configuration of adhoc lines, adhoc lines represent milestones and events * in axis time. * * @since 1.84 */ simpleAdhocLines?: | sap.gantt.simple.AdhocLine[] | sap.gantt.simple.AdhocLine | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The aggregation is used to store configuration of Delta Lines * * @since 1.84 */ deltaLines?: | sap.gantt.simple.DeltaLine[] | sap.gantt.simple.DeltaLine | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * SVG reusable element definitions. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. We recommend that * you set the type of this argument to `sap.gantt.def.SvgDefs`. Otherwise some properties you set may not * function properly. */ svgDefs?: sap.gantt.def.SvgDefs; /** * Shape schemes of Gantt Chart. * * Defines all the possible shape schemes in the Gantt chart control. **Note:**If you don't use expand chart, * you can omit this aggregations. If not set, a default `sap.gantt.simple.ShapeScheme` is provided automatically. */ shapeSchemes?: | sap.gantt.simple.ShapeScheme[] | sap.gantt.simple.ShapeScheme | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Paint servers consumed by special shape `sap.gantt.shape.cal.Calendar`. * * This aggregation is designed to improve performance of calendar shapes. Rows usually share a similar * definition with calendar shapes. It is possible to define a Calendar paint server to draw only one rectangle * for each row. Notes for classes extended from `sap.gantt.def.cal.CalendarDef`: Different from property * `paintServerDefs`, paint servers defined here must implement method `getDefNode()` instead of method * `getDefString()`. */ calendarDef?: sap.gantt.def.cal.CalendarDefs; /** * This aggregation controls the zoom strategies and zoom rate in Gantt Chart. */ axisTimeStrategy?: sap.gantt.axistime.AxisTimeStrategyBase; /** * Configuration of locale settings. * * Most locale settings can be configured in sap.ui.core.Configuration objects. Only the time zone and day-light-saving * time options are provided by locale settings. We recommend that you set the type of this argument to * `sap.gantt.config.Locale`. Otherwise some properties you set may not function properly. */ locale?: sap.gantt.config.Locale; /** * Specifies a data structure with arbitrary key value pairs to support customization of Gantt charts with * tables. * * @since 1.90 */ ganttAdaptationData?: | sap.gantt.simple.GanttAdaptationData[] | sap.gantt.simple.GanttAdaptationData | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Items can be added in chart overflow toolbar using this aggregation. * * @since 1.102 */ overflowToolbarItems?: | sap.ui.core.Control[] | sap.ui.core.Control | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Configuration for the Gantt chart styles. This Aggregation will override shapeStyles aggregation of ganttChartContainer. * * @since 1.130 */ shapeStyles?: | sap.gantt.simple.ShapeStyle[] | sap.gantt.simple.ShapeStyle | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Fired when the shape selection of the gantt chart has been changed. */ shapeSelectionChange?: ( oEvent: GanttChartWithTable$ShapeSelectionChangeEvent ) => void; /** * Fired when the shape's highlight has been changed * * @since 1.100 */ shapeHighlightChange?: ( oEvent: GanttChartWithTable$ShapeHighlightChangeEvent ) => void; /** * Fired when a shape is resized. */ shapeResize?: (oEvent: GanttChartWithTable$ShapeResizeEvent) => void; /** * Event fired when a shape is hovered over. */ shapeMouseEnter?: ( oEvent: GanttChartWithTable$ShapeMouseEnterEvent ) => void; /** * Fired when the mouse pointer leaves the shape. */ shapeMouseLeave?: ( oEvent: GanttChartWithTable$ShapeMouseLeaveEvent ) => void; /** * This event is fired when a shape is clicked or tapped. */ shapePress?: (oEvent: GanttChartWithTable$ShapePressEvent) => void; /** * This event is fired when a shape is double-clicked or double-tapped. */ shapeDoubleClick?: ( oEvent: GanttChartWithTable$ShapeDoubleClickEvent ) => void; /** * This event is fired when you right-click the shape. */ shapeContextMenu?: ( oEvent: GanttChartWithTable$ShapeContextMenuEvent ) => void; /** * Event fired when a drag-and-drop begins */ dragStart?: (oEvent: GanttChartWithTable$DragStartEvent) => void; /** * Event fired when a drag-and-drop occurs on one or more selected shapes. */ shapeDrop?: (oEvent: GanttChartWithTable$ShapeDropEvent) => void; /** * Event fired when one shape dragged and connected to another shape. */ shapeConnect?: (oEvent: GanttChartWithTable$ShapeConnectEvent) => void; /** * This event is triggered when a relationship is dropped onto an empty area. * * @since 1.147.0 */ futureShapeConnect?: ( oEvent: GanttChartWithTable$FutureShapeConnectEvent ) => void; /** * This event is fired when the visible horizon is changed. * * @since 1.68 */ visibleHorizonUpdate?: ( oEvent: GanttChartWithTable$VisibleHorizonUpdateEvent ) => void; /** * This event is fired when you click the connector/relationship. * * @since 1.102 */ shapeConnectorList?: ( oEvent: GanttChartWithTable$ShapeConnectorListEvent ) => void; /** * This event is fired when Gantt chart is rendered completely. * * @since 1.100 */ renderingComplete?: (oEvent: sap.ui.base.Event) => void; } /** * Describes the settings that can be provided to the GanttPrinting constructor. */ interface $GanttPrintingSettings extends sap.ui.core.$ElementSettings { /** * Gantt chart to be exported as PDF document. */ ganttChart?: sap.gantt.simple.GanttChartWithTable | string; } /** * Describes the settings that can be provided to the GanttRowSettings constructor. */ interface $GanttRowSettingsSettings extends sap.ui.table.$RowSettingsSettings { rowId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * The controls for the calendars. */ calendars?: | sap.gantt.simple.BaseCalendar[] | sap.gantt.simple.BaseCalendar | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ calendars1?: | sap.gantt.simple.BaseCalendar[] | sap.gantt.simple.BaseCalendar | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ calendars2?: | sap.gantt.simple.BaseCalendar[] | sap.gantt.simple.BaseCalendar | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ calendars3?: | sap.gantt.simple.BaseCalendar[] | sap.gantt.simple.BaseCalendar | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ calendars4?: | sap.gantt.simple.BaseCalendar[] | sap.gantt.simple.BaseCalendar | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.91 */ calendars5?: | sap.gantt.simple.BaseCalendar[] | sap.gantt.simple.BaseCalendar | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The controls for the relationships. */ relationships?: | sap.gantt.simple.Relationship[] | sap.gantt.simple.Relationship | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The controls for the shapes. */ shapes1?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The controls for the shapes. */ shapes2?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The controls for the shapes. */ shapes3?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The controls for the shapes. */ shapes4?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The controls for the shapes. */ shapes5?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.120 */ overlays1?: | sap.gantt.overlays.GanttRowOverlay[] | sap.gantt.overlays.GanttRowOverlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.120 */ overlays2?: | sap.gantt.overlays.GanttRowOverlay[] | sap.gantt.overlays.GanttRowOverlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.120 */ overlays3?: | sap.gantt.overlays.GanttRowOverlay[] | sap.gantt.overlays.GanttRowOverlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.120 */ overlays4?: | sap.gantt.overlays.GanttRowOverlay[] | sap.gantt.overlays.GanttRowOverlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * @since 1.120 */ overlays5?: | sap.gantt.overlays.GanttRowOverlay[] | sap.gantt.overlays.GanttRowOverlay | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the LegendColumnConfig constructor. */ interface $LegendColumnConfigSettings extends sap.ui.core.$ElementSettings { /** * Once this property is set, shapes in one vertical line have the same fill color or fill pattern. */ fill?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Factory function is used to determine the fill property for different shape classes defined in yDimension * config. Shape name of the shape class is passed as a parameter to the function. The return value should * be a color code. */ fillFactory?: | Function | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the LegendContainer constructor. */ interface $LegendContainerSettings extends sap.ui.core.$ControlSettings { /** * Width of the legend navigation. When the width specified is smaller than a section content, a horizontal * scroll bar appears.width of the legend navigation. When the width specified is smaller than a section * content, a horizontal scroll bar appears. */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the legend navigation. When the height specified is smaller than a section content, a vertical * scroll bar appears. */ height?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * shows all the list legends in flat structure instead of navigation list. restriction - will work only * with list legends. * * @since 1.92 */ enableFlatLegends?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Legends inside the container, they could be instances of List Legend or Dimension Legend. */ legends?: | sap.ui.core.Control[] | sap.ui.core.Control | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the LegendRowConfig constructor. */ interface $LegendRowConfigSettings extends sap.ui.core.$ElementSettings { /** * Specifies the shape class name of dimension legend row It's a full shape module name */ shapeClass?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Specifies the name of the dimension legend row */ shapeName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Stroke of the legend row */ stroke?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. */ strokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The text content */ text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the LegendShapeGroup constructor. */ interface $LegendShapeGroupSettings extends sap.gantt.simple.$BaseShapeSettings { /** * The orientation on the legend */ orientation?: | sap.gantt.simple.LegendShapeGroupOrientation | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The title for multiple shapes rendering */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * To accommodate multiple shapes */ shapes?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ListLegend constructor. */ interface $ListLegendSettings extends sap.ui.core.$ControlSettings { /** * Title of Legend. The title is displayed on both the legend page and the legend navigation list. Null * if not specified */ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * ListLegendItem object aggregation */ items?: | sap.gantt.simple.ListLegendItem[] | sap.gantt.simple.ListLegendItem | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ListLegendItem constructor. */ interface $ListLegendItemSettings extends sap.ui.core.$ElementSettings { legendName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Indicates whether the check box is visible or not. */ interactive?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Indicates whether the check box is selected or not. */ selected?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Indicates whether the list item is visible * * @since 1.92 */ visible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Define a shape class for the List Legend Item. The shape will be normalized in the rendering phase. */ shape?: sap.gantt.simple.BaseShape; /** * Defines a Legend Shape Group class for the List Legend Item. The shapes are normalized in the rendering * phase. * * @since 1.84 */ legendShapeGroup?: sap.gantt.simple.LegendShapeGroup; /** * The event is raised when there is a click action on the checkbox before legend item. */ interactiveChange?: ( oEvent: ListLegendItem$InteractiveChangeEvent ) => void; } /** * Describes the settings that can be provided to the MultiActivityGroup constructor. */ interface $MultiActivityGroupSettings extends sap.gantt.simple.$BaseGroupSettings { /** * The primary shape of the task */ task?: sap.gantt.simple.BaseShape; /** * Depicts the overlap of subtasks in a task */ indicators?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The break-up shapes of the task */ subTasks?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the MultiActivityRowSettings constructor. */ interface $MultiActivityRowSettingsSettings extends sap.gantt.simple.$GanttRowSettingsSettings { /** * The control which holds the shape groups. */ tasks?: | sap.gantt.simple.BaseShape[] | sap.gantt.simple.BaseShape | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the PrintDialogTemplate constructor. */ interface $PrintDialogTemplateSettings extends sap.ui.base.$ManagedObjectSettings { footerButtons?: | sap.m.Button[] | sap.m.Button | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the Relationship constructor. */ interface $RelationshipSettings extends sap.gantt.simple.$BasePathSettings { /** * Defines the `Relationship` type. */ type?: | sap.gantt.simple.RelationshipType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * predecessor of the `Relationship` * * This property specify where the relationship starts, `Relationship` lookup the shape instance based on * the property value */ predecessor?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * successor of the `Relationship` * * This property specify where the relationship ends, `Relationship` lookup the shape instance by the property * value. */ successor?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Defines the stroke color when `Relationship` is selected */ selectedStroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the stroke width when `Relationship` is selected */ selectedStrokeWidth?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to change shape from L-shaped lines to S-shaped lines for finish-to-start relationship type */ lShapeForTypeFS?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to change shape from L-shaped lines to S-shaped lines for start-to-finish relationship type */ lShapeForTypeSF?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the shape at the start of a relationship */ shapeTypeStart?: | sap.gantt.simple.connectorType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the shape at the end of a relationship */ shapeTypeEnd?: | sap.gantt.simple.connectorType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the color of the shape at the start of a relationship */ startShapeColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the color of the shape at the end of a relationship */ endShapeColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the color of the shape at the start of the selected relationship */ selectedStartShapeColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the color of the shape at the end of the selected relationship */ selectedEndShapeColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to enable or disable rounded corners on relationship */ enableCurvedEdge?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Flag to have relationship pass over divider line * * @since 1.95 */ relationshipOverDivider?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ShapeScheme constructor. */ interface $ShapeSchemeSettings extends sap.ui.core.$ElementSettings { /** * key of the shape scheme */ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Whether the scheme apply on the shapes on the main row */ primary?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * row span of the shape scheme. * * If the shape scheme is ***not*** a primary scheme, you need to define how many rows (rowSpan) the expanded * shape will take when rendering */ rowSpan?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the ShapeStyle constructor. */ interface $ShapeStyleSettings extends sap.ui.core.$ElementSettings { /** * The name of the Shape style. This is a mandatory field. The name should be unique. * * @since 1.130 */ name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * This property defines the event for which the style should be applied. This is a mandatory field. For * example, if the eventState is "dragDrop", the style is applied to ghost image of shape on drag. * * @since 1.130 */ eventState?: | sap.gantt.simple.shapeEventType | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The stroke property is a presentation property defining the color (or any SVG paint servers like gradients * or patterns) used to paint the outline of the shape. * * @since 1.130 */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * @since 1.130 */ strokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The strokeDasharray property is a presentation property defining the pattern of dashes and gaps used * to paint the outline of the shape. * * @since 1.130 */ strokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * For shapes and text, the fill property is a presentation attribute that defines the color (or any SVG * paint server like gradients or patterns) * * @since 1.130 */ fill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Text color property. * * @since 1.130 */ textFill?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Visibility of the shape. * * @since 1.130 */ visible?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the StockChart constructor. */ interface $StockChartSettings extends sap.gantt.simple.$UtilizationChartSettings { /** * Flag to show or hide the middle line in Stock Chart. By default the middle line is a gray dashed line */ showMiddleLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * value of middle line. * * @since 1.97 */ relativeMiddleLinePoint?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Minimum value of the Chart. */ minValue?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Maximum value of the Chart. */ maxValue?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Property to enable Compact View. * * @since 1.100.0 */ showCompactView?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Dimensions of the Stock Chart */ stockChartDimensions?: | sap.gantt.simple.StockChartDimension[] | sap.gantt.simple.StockChartDimension | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Custom configuration for middle line to define stroke, stroke-width and stroke-dasharray. * * @since 1.140 */ customMiddleLine?: sap.gantt.simple.BaseLine; } /** * Describes the settings that can be provided to the StockChartDimension constructor. */ interface $StockChartDimensionSettings extends sap.ui.core.$ElementSettings { /** * The name of the Dimension */ name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Sets the dimension path color */ dimensionPathColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Sets the remaining capacity color */ remainCapacityColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Sets the remaining capacity color for negative values */ remainCapacityColorNegative?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Sets the relative point to start the dimensions */ relativePoint?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * checks if the dimension is a threshold line. * * @since 1.97 */ isThreshold?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * strokeDashArray value of dimension line. * * @since 1.97 */ dimensionStrokeDasharray?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * stroke width of dimension line. * * @since 1.97 */ dimensionStrokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Aggregation of periods are used to display the utilization line. * * The periods have to be in chronological order, you must ensure that it's sorted by `from`, otherwise * the SC can't ben display correctly. */ stockChartPeriods?: | sap.gantt.simple.StockChartPeriod[] | sap.gantt.simple.StockChartPeriod | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the StockChartPeriod constructor. */ interface $StockChartPeriodSettings extends sap.ui.core.$ElementSettings { /** * from date time of period */ from?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * to date time of period */ to?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The value of the actual consumption capacity. */ value?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the UtilizationBarChart constructor. */ interface $UtilizationBarChartSettings extends sap.gantt.simple.$UtilizationChartSettings { /** * The color fills in capacity consumption */ consumptionColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Periods of UtilizationBarChart */ periods?: | sap.gantt.simple.UtilizationPeriod[] | sap.gantt.simple.UtilizationPeriod | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the UtilizationChart constructor. */ interface $UtilizationChartSettings extends sap.gantt.simple.$BaseShapeSettings { /** * Defines the `UtilizationLineChart or UtilizationBarChart` height. */ height?: | sap.gantt.SVGLength | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the margin height of UtilizationChart */ overConsumptionMargin?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the over comsumption color, or fill pattern. */ overConsumptionColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines the remain capacity color. */ remainCapacityColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the UtilizationDimension constructor. */ interface $UtilizationDimensionSettings extends sap.ui.core.$ElementSettings { /** * The name of the utilization dimension, e.g. Total Weight */ name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Sets the dimension color */ dimensionColor?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Aggregation of periods are used to display the utilization line. * * The periods have to be in chronological order, you must ensure that it's sorted by `from`, otherwise * the ULC can't ben display correctly. */ periods?: | sap.gantt.simple.UtilizationPeriod[] | sap.gantt.simple.UtilizationPeriod | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the UtilizationLineChart constructor. */ interface $UtilizationLineChartSettings extends sap.gantt.simple.$UtilizationChartSettings { /** * Flag to show or hide the middle line in Utilization Line Chart. The value of the `overConsumptionMargin` * will affect the middle line position. By default the middle line is a gray dashed line */ showMiddleLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Dimensions of the Utilization Line Chart */ dimensions?: | sap.gantt.simple.UtilizationDimension[] | sap.gantt.simple.UtilizationDimension | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * The value for overConsuptionPattern can be either an UI5 ID which points to an instance of `PatternBase` * which defined in svgDefs or an instance of `PatternBase`. * * The overConsumptionPattern is visualized as rectangle which the height is calculated based on `overConsumptionMargin` */ overConsumptionPattern?: sap.gantt.def.DefBase | string; } /** * Describes the settings that can be provided to the UtilizationPeriod constructor. */ interface $UtilizationPeriodSettings extends sap.ui.core.$ElementSettings { /** * from date time of period */ from?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * to date time of period */ to?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The value of the actual consumption capacity. It's only relevant for UtilizationLineChart */ value?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The resource supply capacity, it's only used for UtilizationBarChart */ supply?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * The required/demand capacity, it's only used for used for UtilizationBarChart */ demand?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * Parameters of the AdhocDiamond#mouseEnter event. */ interface AdhocDiamond$MouseEnterEventParameters {} /** * Parameters of the AdhocDiamond#mouseLeave event. */ interface AdhocDiamond$MouseLeaveEventParameters {} /** * Parameters of the AdhocDiamond#press event. */ interface AdhocDiamond$PressEventParameters {} /** * Parameters of the AdhocLine#adhoclineDrop event. */ interface AdhocLine$AdhoclineDropEventParameters { newTimeStamp?: string; oldTimeStamp?: string; } /** * Parameters of the AdhocLine#markerMouseEnter event. */ interface AdhocLine$MarkerMouseEnterEventParameters {} /** * Parameters of the AdhocLine#markerMouseLeave event. */ interface AdhocLine$MarkerMouseLeaveEventParameters {} /** * Parameters of the AdhocLine#markerPress event. */ interface AdhocLine$MarkerPressEventParameters {} /** * Parameters of the BaseDeltaRectangle#mouseEnter event. */ interface BaseDeltaRectangle$MouseEnterEventParameters {} /** * Parameters of the BaseDeltaRectangle#mouseLeave event. */ interface BaseDeltaRectangle$MouseLeaveEventParameters {} /** * Parameters of the BaseDeltaRectangle#press event. */ interface BaseDeltaRectangle$PressEventParameters {} /** * Parameters of the BaseTriangle#mouseEnter event. */ interface BaseTriangle$MouseEnterEventParameters {} /** * Parameters of the BaseTriangle#mouseLeave event. */ interface BaseTriangle$MouseLeaveEventParameters {} /** * Parameters of the BaseTriangle#press event. */ interface BaseTriangle$PressEventParameters {} /** * Parameters of the ContainerToolbar#birdEyeButtonPress event. */ interface ContainerToolbar$BirdEyeButtonPressEventParameters {} /** * Parameters of the ContainerToolbar#closeFindButtonPress event. */ interface ContainerToolbar$CloseFindButtonPressEventParameters {} /** * Parameters of the ContainerToolbar#closeSidePanelButtonPress event. */ interface ContainerToolbar$CloseSidePanelButtonPressEventParameters {} /** * Parameters of the ContainerToolbar#displayTypeChange event. */ interface ContainerToolbar$DisplayTypeChangeEventParameters { displayType?: sap.gantt.simple.GanttChartWithTableDisplayType; } /** * Parameters of the ContainerToolbar#findButtonPress event. */ interface ContainerToolbar$FindButtonPressEventParameters {} /** * Parameters of the ContainerToolbar#findPopupButtonPress event. */ interface ContainerToolbar$FindPopupButtonPressEventParameters {} /** * Parameters of the ContainerToolbar#ganttSidePanel event. */ interface ContainerToolbar$GanttSidePanelEventParameters { updateSidePanelState?: object; } /** * Parameters of the ContainerToolbar#zoomStopChange event. */ interface ContainerToolbar$ZoomStopChangeEventParameters { index?: int; selectedItem?: sap.ui.core.Item; } /** * Parameters of the DeltaLine#deltalineDrop event. */ interface DeltaLine$DeltalineDropEventParameters { newStartTime?: string; newEndTime?: string; oldStartTime?: string; oldEndTime?: string; } /** * Parameters of the DeltaLine#deltalineResize event. */ interface DeltaLine$DeltalineResizeEventParameters { newTimeStamp?: string; newEndTimeStamp?: string; oldTimeStamp?: string; oldEndTimeStamp?: string; deltaline?: sap.gantt.simple.DeltaLine; } /** * Parameters of the DeltaLine#mouseEnter event. */ interface DeltaLine$MouseEnterEventParameters {} /** * Parameters of the DeltaLine#mouseLeave event. */ interface DeltaLine$MouseLeaveEventParameters {} /** * Parameters of the DeltaLine#press event. */ interface DeltaLine$PressEventParameters {} /** * Parameters of the GanttChartContainer#customGanttSearchResult event. */ interface GanttChartContainer$CustomGanttSearchResultEventParameters { /** * Array of search results that the application can use to filter results shown on the toolbar and side * panel */ searchResults?: any[]; } /** * Parameters of the GanttChartContainer#customSettingChange event. */ interface GanttChartContainer$CustomSettingChangeEventParameters { /** * Name of the custom setting */ name?: string; /** * The value of the custom setting */ value?: boolean; } /** * Parameters of the GanttChartContainer#ganttSearchSidePanelList event. */ interface GanttChartContainer$GanttSearchSidePanelListEventParameters { /** * Array of search results with each result containing data which application can use to customise side * panel search list. */ searchResults?: any[]; } /** * Parameters of the GanttChartContainer#searchSelectionChanged event. */ interface GanttChartContainer$SearchSelectionChangedEventParameters { shape?: sap.gantt.simple.BaseShape; rowIndex?: number; } /** * Parameters of the GanttChartContainer#variantApplied event. */ interface GanttChartContainer$VariantAppliedEventParameters {} /** * Parameters of the GanttChartWithTable#dragStart event. */ interface GanttChartWithTable$DragStartEventParameters { /** * The source Gantt chart */ sourceGanttChart?: sap.gantt.simple.GanttChartWithTable; /** * Object of dragged shapes dates, it's structured as follows: * ```javascript * * { * "shapeUid1": { * "time": date1, * "endTime": date2, * }, * "shapeUid2": { * "time": date3, * "endTime": date4, * }, * } * ``` * * * You can't get all selected shape instances because scrolling might destroy shapes on the invisible rows. */ draggedShapeDates?: object; /** * The last shape out of those being dragged. */ lastDraggedShapeUid?: string; /** * Represents the mouse pointer's date & time when the `dragStart` event was fired. */ cursorDateTime?: object; } /** * Parameters of the GanttChartWithTable#futureShapeConnect event. */ interface GanttChartWithTable$FutureShapeConnectEventParameters { /** * The source shape's shapeUid */ fromShapeUid?: string; /** * The value comes from `sap.gantt.simple.RelationshipPredecessorType `, which represents relationship type * of source shape */ fromShapeType?: sap.gantt.simple.RelationshipPredecessorType; } /** * Parameters of the GanttChartWithTable#renderingComplete event. */ interface GanttChartWithTable$RenderingCompleteEventParameters {} /** * Parameters of the GanttChartWithTable#shapeConnect event. */ interface GanttChartWithTable$ShapeConnectEventParameters { /** * The source shape's shapeUid */ fromShapeUid?: string; /** * The target shape's shapeUid */ toShapeUid?: string; /** * The value comes from `sap.gantt.simple.RelationshipType`, which represents type of relationship */ type?: sap.gantt.simple.RelationshipType; } /** * Parameters of the GanttChartWithTable#shapeConnectorList event. */ interface GanttChartWithTable$ShapeConnectorListEventParameters { /** * The mouse position relative to the left edge of the document. */ pageX?: int; /** * The mouse position relative to the top edge of the document. */ pageY?: int; /** * Array of connectors list at the cursor point */ connectorList?: object; } /** * Parameters of the GanttChartWithTable#shapeContextMenu event. */ interface GanttChartWithTable$ShapeContextMenuEventParameters { /** * The mouse position relative to the left edge of the document. */ pageX?: int; /** * The mouse position relative to the top edge of the document. */ pageY?: int; /** * Offset for an {@link sap.m.Popover} placement on the x axis, in pixels. */ popoverOffsetX?: int; /** * Row settings of the right-clicked row. */ rowSettings?: sap.gantt.simple.GanttRowSettings; /** * Instance of the right-clicked shape. */ shape?: sap.gantt.simple.BaseShape; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartWithTable#shapeDoubleClick event. */ interface GanttChartWithTable$ShapeDoubleClickEventParameters { /** * Offset for an {@link sap.m.Popover} placement on the x axis, in pixels. */ popoverOffsetX?: int; /** * Row settings of the double-clicked row. */ rowSettings?: sap.gantt.simple.GanttRowSettings; /** * Instance of the double-clicked shape. */ shape?: sap.gantt.simple.BaseShape; /** * The mouse position relative to the left edge of the document. */ pageX?: int; /** * The mouse position relative to the top edge of the document. */ pageY?: int; } /** * Parameters of the GanttChartWithTable#shapeDrop event. */ interface GanttChartWithTable$ShapeDropEventParameters { /** * The source gantt chart */ sourceGanttChart?: sap.gantt.simple.GanttChartWithTable; /** * The target gantt chart */ targetGanttChart?: sap.gantt.simple.GanttChartWithTable; /** * Object of dragged shapes date, it's structure is: * ```javascript * * { * "shapeUid1": { * "time": date1, * "endTime": date2, * }, * "shapeUid2": { * "time": date3, * "endTime": date4, * }, * } * ``` * * * It's impossible to get all selected shape instances because of scrolling might destroy shapes on the * invisible rows */ draggedShapeDates?: object; /** * The last dragged shape */ lastDraggedShapeUid?: string; /** * The target row of gantt chart. No source row because of user might drag multiple shapes on different * rows. */ targetRow?: sap.ui.table.Row; /** * Represent the cursor date & time when drop event fired */ cursorDateTime?: object; /** * The startTime or endTime of a dropped shape. In Free or Horizontal drag orientation, the value depends * on the ghost alignment: * - Start: newDateTime is the shape new start time, newDateTime is equal with cursorDateTime * - None: newDateTime is the shape new start time * - End: newDateTime is the shape new end time, newDateTime is equal with cursorDateTime * * In Veritcal drag orientation, newDateTime is the shape new start time, and not equal with cursorDateTime * in usual. */ newDateTime?: object; /** * Represents the shape which the dragged shape dropped on. */ targetShape?: sap.gantt.simple.BaseShape; } /** * Parameters of the GanttChartWithTable#shapeHighlightChange event. */ interface GanttChartWithTable$ShapeHighlightChangeEventParameters { /** * all highlighted shape UID. */ shapeUids?: string[]; } /** * Parameters of the GanttChartWithTable#shapeMouseEnter event. */ interface GanttChartWithTable$ShapeMouseEnterEventParameters { /** * The data of the shape which fires this event. */ shape?: sap.gantt.simple.BaseShape; /** * The mouse position relative to the left edge of the document. */ pageX?: int; /** * The mouse position relative to the top edge of the document. */ pageY?: int; /** * Indicates whether the connector has a pin icon. This parameter is only valid when the shape is a connector * shape. */ isPinConnector?: boolean; } /** * Parameters of the GanttChartWithTable#shapeMouseLeave event. */ interface GanttChartWithTable$ShapeMouseLeaveEventParameters { /** * which shape element trigger the event. */ shape?: sap.gantt.simple.BaseShape; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartWithTable#shapePress event. */ interface GanttChartWithTable$ShapePressEventParameters { /** * Offset for an {@link sap.m.Popover} placement on the x axis, in pixels. */ popoverOffsetX?: int; /** * Row settings of the row that has been clicked or tapped. */ rowSettings?: sap.gantt.simple.GanttRowSettings; /** * Instance of the shape that has been clicked or tapped. */ shape?: sap.gantt.simple.BaseShape; /** * Ctrl or Meta key is pressed. */ ctrlOrMeta?: boolean; /** * The mouse position relative to the left edge of the document. */ pageX?: int; /** * The mouse position relative to the top edge of the document. */ pageY?: int; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartWithTable#shapeResize event. */ interface GanttChartWithTable$ShapeResizeEventParameters { /** * UID of the resized shape. */ shapeUid?: string; /** * Shape instance of the resized shape */ shape?: sap.gantt.simple.BaseShape; /** * Row object of the resizing shape. */ rowObject?: object; /** * Original shape time array, including the start time and end time. */ oldTime?: string[]; /** * New shape time array, including the start time and end time. */ newTime?: string[]; } /** * Parameters of the GanttChartWithTable#shapeSelectionChange event. */ interface GanttChartWithTable$ShapeSelectionChangeEventParameters { /** * all selected shape UID. */ shapeUids?: string[]; } /** * Parameters of the GanttChartWithTable#visibleHorizonUpdate event. */ interface GanttChartWithTable$VisibleHorizonUpdateEventParameters { /** * Specifies how the update was initiated. */ type?: sap.gantt.simple.VisibleHorizonUpdateType; /** * Provides subType information about the type. */ subType?: sap.gantt.simple.VisibleHorizonUpdateSubType; /** * Value of the visible horizon before the current update. Some types of this event don't have this value. */ lastVisibleHorizon?: sap.gantt.config.TimeHorizon; /** * Value of the visible horizon after the current update. */ currentVisibleHorizon?: sap.gantt.config.TimeHorizon; /** * Value of the visible horizon with buffer before the current update. */ lastRenderedVisibleHorizon?: sap.gantt.config.TimeHorizon; /** * Value of the visible horizon with buffer after the current update. */ currentRenderedVisibleHorizon?: sap.gantt.config.TimeHorizon; } /** * Parameters of the ListLegendItem#interactiveChange event. */ interface ListLegendItem$InteractiveChangeEventParameters { /** * The shape name of legend item. */ legendName?: string; /** * The value indicate that legend is checked or unchecked. */ value?: boolean; } /** * The AdhocDiamond class contains properties to draw an AdhocDimond on the Gantt header for every AdhocLine * present in the Gantt chart * * @since 1.84 */ class AdhocDiamond extends sap.gantt.simple.BaseDiamond { /** * Creates and initializes a new Adhoc Diamond class. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$AdhocDiamondSettings ); /** * Creates and initializes a new Adhoc Diamond class. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$AdhocDiamondSettings ); /** * Creates a new subclass of class sap.gantt.simple.AdhocDiamond with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseDiamond.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.AdhocDiamond. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.AdhocDiamond`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocDiamond` itself. * * Fires when the adhocdiamond is hovered. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocDiamond` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.AdhocDiamond`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocDiamond` itself. * * Fires when the adhocdiamond is hovered. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocDiamond` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.AdhocDiamond`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocDiamond` itself. * * Fires when the mouse leaves adhocdiamond. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocDiamond` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.AdhocDiamond`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocDiamond` itself. * * Fires when the mouse leaves adhocdiamond. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocDiamond` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.AdhocDiamond`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocDiamond` itself. * * Fires when the adhocdiamond is pressed. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocDiamond` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.AdhocDiamond`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocDiamond` itself. * * Fires when the adhocdiamond is pressed. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocDiamond` itself */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.AdhocDiamond`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.AdhocDiamond`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.gantt.simple.AdhocDiamond`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:mouseEnter mouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseEnter( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:mouseLeave mouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseLeave( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:press press} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ firePress( /** * Parameters to pass along with the event */ mParameters?: object ): this; } /** * The AdhocLine class contains properties to draw an additional vertical line at specific time points in * the chart area. You can use this line to mark milestones, such as the start of a project start, and special * events, such as holidays. * * @since 1.84 */ class AdhocLine extends sap.ui.core.Element { /** * Creates and initializes a new AdhocLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$AdhocLineSettings ); /** * Creates and initializes a new AdhocLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$AdhocLineSettings ); /** * Creates a new subclass of class sap.gantt.simple.AdhocLine with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.AdhocLine. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:adhoclineDrop adhoclineDrop} event of this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires during drag and drop of the adhoc line. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachAdhoclineDrop( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: AdhocLine$AdhoclineDropEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:adhoclineDrop adhoclineDrop} event of this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires during drag and drop of the adhoc line. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachAdhoclineDrop( /** * The function to be called when the event occurs */ fnFunction: (p1: AdhocLine$AdhoclineDropEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:markerMouseEnter markerMouseEnter} event of * this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires when the adhoc marker is hovered. * * * @returns Reference to `this` in order to allow method chaining */ attachMarkerMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:markerMouseEnter markerMouseEnter} event of * this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires when the adhoc marker is hovered. * * * @returns Reference to `this` in order to allow method chaining */ attachMarkerMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:markerMouseLeave markerMouseLeave} event of * this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires when the mouse leaves adhoc marker. * * * @returns Reference to `this` in order to allow method chaining */ attachMarkerMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:markerMouseLeave markerMouseLeave} event of * this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires when the mouse leaves adhoc marker. * * * @returns Reference to `this` in order to allow method chaining */ attachMarkerMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:markerPress markerPress} event of this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires when the adhoc marker is pressed. * * * @returns Reference to `this` in order to allow method chaining */ attachMarkerPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:markerPress markerPress} event of this `sap.gantt.simple.AdhocLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.AdhocLine` itself. * * Fires when the adhoc marker is pressed. * * * @returns Reference to `this` in order to allow method chaining */ attachMarkerPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.AdhocLine` itself */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:adhoclineDrop adhoclineDrop} event of this * `sap.gantt.simple.AdhocLine`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ detachAdhoclineDrop( /** * The function to be called, when the event occurs */ fnFunction: (p1: AdhocLine$AdhoclineDropEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:markerMouseEnter markerMouseEnter} event of * this `sap.gantt.simple.AdhocLine`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMarkerMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:markerMouseLeave markerMouseLeave} event of * this `sap.gantt.simple.AdhocLine`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMarkerMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:markerPress markerPress} event of this `sap.gantt.simple.AdhocLine`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMarkerPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:adhoclineDrop adhoclineDrop} to attached listeners. * * @since 1.88 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireAdhoclineDrop( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.AdhocLine$AdhoclineDropEventParameters ): this; /** * Fires event {@link #event:markerMouseEnter markerMouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMarkerMouseEnter( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:markerMouseLeave markerMouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMarkerMouseLeave( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:markerPress markerPress} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMarkerPress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Gets current value of property {@link #getDescription description}. * * Description of the time stamp * * * @returns Value of property `description` */ getDescription(): string; /** * Gets current value of property {@link #getDraggable draggable}. * * Specifies whether the adhoc line is draggable. * * Default value is `false`. * * @since 1.88 * * @returns Value of property `draggable` */ getDraggable(): boolean; /** * Gets current value of property {@link #getMarkerPopoverDelay markerPopoverDelay}. * * Delay in milliseconds for the marker popover to show up * * Default value is `300`. * * @deprecated As of version 1.97. **Note:**With the new implementation, this property won't have any effect. * * @returns Value of property `markerPopoverDelay` */ getMarkerPopoverDelay(): int; /** * Gets current value of property {@link #getMarkerType markerType}. * * Marker Type for Adhoc Line * * Default value is `None`. * * * @returns Value of property `markerType` */ getMarkerType(): sap.gantt.simple.MarkerType; /** * Gets current value of property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * * @returns Value of property `strokeDasharray` */ getStrokeDasharray(): string; /** * Gets current value of property {@link #getStrokeOpacity strokeOpacity}. * * Standard SVG 'stroke-opacity' attribute. * * Default value is `1`. * * * @returns Value of property `strokeOpacity` */ getStrokeOpacity(): float; /** * Gets current value of property {@link #getTimeStamp timeStamp}. * * Time stamp of the adhoc line * * * @returns Value of property `timeStamp` */ getTimeStamp(): string; /** * Gets current value of property {@link #getVisible visible}. * * Visibility of Adhoc Line * * Default value is `true`. * * * @returns Value of property `visible` */ getVisible(): boolean; /** * Sets a new value for property {@link #getDescription description}. * * Description of the time stamp * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDescription( /** * New value for property `description` */ sDescription: string ): this; /** * Sets a new value for property {@link #getDraggable draggable}. * * Specifies whether the adhoc line is draggable. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setDraggable( /** * New value for property `draggable` */ bDraggable?: boolean ): this; /** * Sets a new value for property {@link #getMarkerPopoverDelay markerPopoverDelay}. * * Delay in milliseconds for the marker popover to show up * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `300`. * * @deprecated As of version 1.97. **Note:**With the new implementation, this property won't have any effect. * * @returns Reference to `this` in order to allow method chaining */ setMarkerPopoverDelay( /** * New value for property `markerPopoverDelay` */ iMarkerPopoverDelay?: int ): this; /** * Sets a new value for property {@link #getMarkerType markerType}. * * Marker Type for Adhoc Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `None`. * * * @returns Reference to `this` in order to allow method chaining */ setMarkerType( /** * New value for property `markerType` */ sMarkerType?: sap.gantt.simple.MarkerType ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and the URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.simple.GanttChartContainer}, * {@link sap.gantt.simple.GanttChartWithTable}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_3_BorderColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeOpacity strokeOpacity}. * * Standard SVG 'stroke-opacity' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeOpacity( /** * New value for property `strokeOpacity` */ fStrokeOpacity?: float ): this; /** * Sets a new value for property {@link #getTimeStamp timeStamp}. * * Time stamp of the adhoc line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeStamp( /** * New value for property `timeStamp` */ sTimeStamp: string ): this; /** * Sets a new value for property {@link #getVisible visible}. * * Visibility of Adhoc Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setVisible( /** * New value for property `visible` */ bVisible?: boolean ): this; } /** * BaseCalendar shape. * * The Calendar shape can either be used in combination with Calendar def class {@link sap.gantt.def.cal.Calendar } * which draws the SVG 'defs' tag, or it can be used as a standalone shape with time and end time defined. */ class BaseCalendar extends sap.gantt.simple.BaseRectangle { /** * Creates a calendar shape that either consumes pattern from calendar in the 'def' package as the "calendarName" * property is defined, or, it exists as any other instance of BasShape with defined relevant properties. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseCalendarSettings ); /** * Creates a calendar shape that either consumes pattern from calendar in the 'def' package as the "calendarName" * property is defined, or, it exists as any other instance of BasShape with defined relevant properties. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseCalendarSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseCalendar with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseCalendar. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getCalendarName calendarName}. * * Calendar name is used to map the base calendar with its calendar definition pattern. Do not set this * property if you do not want to reuse the calendar definition across rows, and you want row wise different * calendars. Instead set the time, endtime and fill the properties for the calendar shape. Providing values * for calendarName, and time or endTime is considered as invalid. In such cases, time or endTime are ignored * even if the calendarName is not available in calendar definitions. * * * @returns Value of property `calendarName` */ getCalendarName(): string; /** * Gets current value of property {@link #getFill fill}. * * Fill for calendar shape * * Default value is `"sapChart_Sequence_Neutral_Plus2"`. * * @since 1.134 * * @returns Value of property `fill` */ getFill(): sap.gantt.ValueSVGPaintServer; /** * Calendar is not a selectable shape. getSelectable always returns false * * * @returns false calendar is NOT selectable */ getSelectable(): boolean; /** * Gets current value of property {@link #getStroke stroke}. * * stroke for the calendar shape * * Default value is `"sapChart_Sequence_Neutral_BorderColor"`. * * @since 1.134 * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Calendar width If calendarName property is set then return the full width of the gantt chart else if * the time and endTime are present, return their difference. * * * @returns width of the calendar shape */ getWidth(): float; /** * Gets current value of property `x`. If calendarName property is set then return 0 else if the time or * endTime (in RTL mode) is present, return the x coordinate of the value correposning to the start time * of the Calendar interval. * * * @returns Value of property `x`. */ getX(): number; /** * Sets a new value for property {@link #getCalendarName calendarName}. * * Calendar name is used to map the base calendar with its calendar definition pattern. Do not set this * property if you do not want to reuse the calendar definition across rows, and you want row wise different * calendars. Instead set the time, endtime and fill the properties for the calendar shape. Providing values * for calendarName, and time or endTime is considered as invalid. In such cases, time or endTime are ignored * even if the calendarName is not available in calendar definitions. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCalendarName( /** * New value for property `calendarName` */ sCalendarName: string ): this; /** * Sets a new value for property {@link #getFill fill}. * * Fill for calendar shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_Neutral_Plus2"`. * * @since 1.134 * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * stroke for the calendar shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_Neutral_BorderColor"`. * * @since 1.134 * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke?: sap.gantt.ValueSVGPaintServer ): this; } /** * A chevron is an inverted V-shaped pattern, it's a basic duration shape that requires two timestamps. * You can use it to represent a task or project execution period. */ class BaseChevron extends sap.gantt.simple.BaseRectangle { /** * Creates and initializes a Chevron object * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.BaseChevron with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseChevron. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * The d attribute provides a path definition to be drawn. * * * @returns Value of property d. */ getD(): string; /** * Gets current value of property {@link #getHeadWidth headWidth}. * * The head width of the Chevron * * Default value is `10`. * * * @returns Value of property `headWidth` */ getHeadWidth(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getShowTitle showTitle}. * * Flag to show or hide the title of the Chevron. * * Default value is `false`. * * * @returns Value of property `showTitle` */ getShowTitle(): boolean; /** * Gets current value of property {@link #getTailWidth tailWidth}. * * The tail width of the Chevron * * Default value is `10`. * * * @returns Value of property `tailWidth` */ getTailWidth(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getTitle title}. * * The title of the Chevron. * * * @returns Value of property `title` */ getTitle(): string; /** * Sets a new value for property {@link #getHeadWidth headWidth}. * * The head width of the Chevron * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setHeadWidth( /** * New value for property `headWidth` */ sHeadWidth?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getShowTitle showTitle}. * * Flag to show or hide the title of the Chevron. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowTitle( /** * New value for property `showTitle` */ bShowTitle?: boolean ): this; /** * Sets a new value for property {@link #getTailWidth tailWidth}. * * The tail width of the Chevron * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setTailWidth( /** * New value for property `tailWidth` */ sTailWidth?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getTitle title}. * * The title of the Chevron. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; } /** * A conditional shape renders one of the {@link sap.gantt.simple.BaseShape} shapes assigned to it using * the `activeShape` property. This allows you to switch between shapes based on properties from data binding. * * @since 1.64 */ class BaseConditionalShape extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new `BaseConditionalShape` class for a simple Gantt chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseConditionalShapeSettings ); /** * Creates and initializes a new `BaseConditionalShape` class for a simple Gantt chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseConditionalShapeSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseConditionalShape with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseConditionalShape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some shape to the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ addShape( /** * The shape to add; if empty, nothing is inserted */ oShape: sap.gantt.simple.BaseShape ): this; /** * Overrides the clone method for creating active shape instance. This method overrides clone from managed * object so as to instantiate only active shape. * * * @returns Reference to the newly created clone */ clone(): this; /** * Destroys all the shapes in the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes(): this; /** * Gets current value of property activeShape. Defines which shape from the shapes aggregation is visible. * If you specify a negative value or a value that is greater than the number of shapes defined, no shape * will be rendered. Default value is 0. */ getActiveShape(): int; /** * Returns the value of the `CountInBirdEye` property for the active shape. */ getCountInBirdEye(): boolean; /** * Gets content of aggregation {@link #getShapes shapes}. * * A list of base shapes to switch between. Only one of these shapes will be rendered based on the `activeShape` * property. Incase if aggregation is bound to listbinding,this aggregation will includes only active shape * instance. */ getShapes(): sap.gantt.simple.BaseShape[]; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes shapes}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape( /** * The shape whose index is looked for */ oShape: sap.gantt.simple.BaseShape ): int; /** * Inserts a shape into the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape( /** * The shape to insert; if empty, nothing is inserted */ oShape: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape should be inserted at; for a negative value of `iIndex`, the shape is inserted * at position 0; for a value greater than the current size of the aggregation, the shape is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getShapes shapes}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes(): sap.gantt.simple.BaseShape[]; /** * Removes a shape from the aggregation {@link #getShapes shapes}. * * * @returns The removed shape or `null` */ removeShape( /** * The shape to remove or its index or id */ vShape: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * @ui5-protected Do not call from applications (only from related classes in the framework) */ renderElement(): void; /** * Sets a new value for property {@link #getActiveShape activeShape}. * * Defines which shape from the `shapes` aggregation is visible. If you specify a negative value or a value * that is greater than the number of shapes defined, no shape will be rendered. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setActiveShape( /** * New value for property `activeShape` */ iActiveShape?: int ): this; /** * Sets a new value for property {@link #getCountInBirdEye countInBirdEye}. * * Specifies whether or not the system takes this shape into account at the bird's eye zoom level. * We suggest that you set this property to `true` only for shapes that really need to be considered when * in the bird's eye view. * * This property is overwritten by property `countInBirdEye` of the `activeShape` shape from the `shapes` * aggregation. * For setting this property, use the setter method of the active shape. The getter method returns the property * value of the active shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setCountInBirdEye( /** * New value for property `countInBirdEye` */ bCountInBirdEye?: boolean ): this; /** * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Returns `this` to allow method chaining */ setProperty(): this; } /** * This class usually represents a transient shape */ class BaseCursor extends sap.gantt.simple.BaseRectangle { /** * Creates and initializes a new Cursor class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings of the new control */ mSettings?: sap.gantt.simple.$BaseCursorSettings ); /** * Creates and initializes a new Cursor class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings of the new control */ mSettings?: sap.gantt.simple.$BaseCursorSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseCursor with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseCursor. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getLength length}. * * The horizontal length of a cursor. This property influences generated value `d`. * * Default value is `10`. * * * @returns Value of property `length` */ getLength(): float; /** * Gets current value of property {@link #getPointHeight pointHeight}. * * The point size of a cursor. This property influences generated value `d`. * * Default value is `5`. * * * @returns Value of property `pointHeight` */ getPointHeight(): float; /** * Gets current value of property {@link #getWidth width}. * * The vertical size minus the point size of a cursor. This property influences generated value `d`. * * Default value is `5`. * * * @returns Value of property `width` */ getWidth(): float; /** * Sets a new value for property {@link #getLength length}. * * The horizontal length of a cursor. This property influences generated value `d`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setLength( /** * New value for property `length` */ fLength?: float ): this; /** * Sets a new value for property {@link #getPointHeight pointHeight}. * * The point size of a cursor. This property influences generated value `d`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setPointHeight( /** * New value for property `pointHeight` */ fPointHeight?: float ): this; /** * Sets a new value for property {@link #getWidth width}. * * The vertical size minus the point size of a cursor. This property influences generated value `d`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `5`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ fWidth?: float ): this; } /** * BaseDeltaRectangle represents a basic shape that creates rectangles. It is defined by corner positions, * width and height. The rectangle may have their corners rounded. * * @since 1.84 */ class BaseDeltaRectangle extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new BaseDeltaRectangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. This is generated automatically, if ID is not provided. */ sId?: string, /** * Initial settings of the new control */ mAttributes?: object ); /** * Creates a new subclass of class sap.gantt.simple.BaseDeltaRectangle with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseDeltaRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseDeltaRectangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseDeltaRectangle` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseDeltaRectangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseDeltaRectangle` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseDeltaRectangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseDeltaRectangle` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseDeltaRectangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseDeltaRectangle` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseDeltaRectangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseDeltaRectangle` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseDeltaRectangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseDeltaRectangle` * itself */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.gantt.simple.BaseDeltaRectangle`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:mouseEnter mouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseEnter( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:mouseLeave mouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseLeave( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:press press} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ firePress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Gets current value of property {@link #getHeight height}. * * Height defines the vertical length of the rectangle. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. * * * @returns Value of property `height` */ getHeight(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getRx rx}. * * rx defines the radius of the X-axis. * * Default value is `0`. * * * @returns Value of property `rx` */ getRx(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getRy ry}. * * ry defines the radius of the Y-axis. * * Default value is `0`. * * * @returns Value of property `ry` */ getRy(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getShowTitle showTitle}. * * Flag to show or hide the title of the Rectangle. * * Default value is `true`. * * * @returns Value of property `showTitle` */ getShowTitle(): boolean; /** * Gets current value of property {@link #getStroke stroke}. * * stroke property of the delta rectangle shape * * Default value is `"sapChart_Sequence_3_BorderColor"`. * * @since 1.135 * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getTitle title}. * * Title of the rectangle. * * * @returns Value of property `title` */ getTitle(): string; /** * Gets the value of property `width`. * * Width of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using properties * `time` and `endTime` * * * @returns Value of property `width`. */ getWidth(): number; /** * Gets current value of property {@link #getX x}. * * Defines the X-axis coordinate in the user coordinate system. * * * @returns Value of property `x` */ getX(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getY y}. * * Defines the Y-axis coordinate in the user coordinate system. * * * @returns Value of property `y` */ getY(): sap.gantt.SVGLength; /** * Sets a new value for property {@link #getHeight height}. * * Height defines the vertical length of the rectangle. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getRx rx}. * * rx defines the radius of the X-axis. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setRx( /** * New value for property `rx` */ sRx?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getRy ry}. * * ry defines the radius of the Y-axis. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setRy( /** * New value for property `ry` */ sRy?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getShowTitle showTitle}. * * Flag to show or hide the title of the Rectangle. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowTitle( /** * New value for property `showTitle` */ bShowTitle?: boolean ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * stroke property of the delta rectangle shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_3_BorderColor"`. * * @since 1.135 * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getTitle title}. * * Title of the rectangle. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width defines the horizontal length of the rectangle. Most of time it's calculated by properties `time` * and `endTime` automatically * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getX x}. * * Defines the X-axis coordinate in the user coordinate system. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ sX: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getY y}. * * Defines the Y-axis coordinate in the user coordinate system. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ sY: sap.gantt.SVGLength ): this; } /** * Diamond shape class using the SVG tag "path". You can use this class to represent a milestone. */ class BaseDiamond extends sap.gantt.simple.BaseRectangle { /** * Creates and initializes a Diamond object * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.BaseDiamond with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseDiamond. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getHeight height}. * * height of Diamond * * Default value is `"auto"`. * * * @returns Value of property `height` */ getHeight(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getWidth width}. * * width of Diamond * * Default value is `"auto"`. * * * @returns Value of property `width` */ getWidth(): sap.gantt.SVGLength; /** * Sets a new value for property {@link #getHeight height}. * * height of Diamond * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"auto"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getWidth width}. * * width of Diamond * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"auto"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.gantt.SVGLength ): this; } /** * Group shape class using SVG tag 'g'. It is a shape container. Any other shapes can be aggregated under * a group. */ class BaseGroup extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new Group class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseGroupSettings ); /** * Creates and initializes a new Group class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseGroupSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseGroup with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some shape to the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ addShape( /** * The shape to add; if empty, nothing is inserted */ oShape: sap.gantt.simple.BaseShape ): this; /** * Destroys all the shapes in the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes(): this; /** * Gets content of aggregation {@link #getShapes shapes}. * * The shapes of the group */ getShapes(): sap.gantt.simple.BaseShape[]; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes shapes}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape( /** * The shape whose index is looked for */ oShape: sap.gantt.simple.BaseShape ): int; /** * Inserts a shape into the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape( /** * The shape to insert; if empty, nothing is inserted */ oShape: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape should be inserted at; for a negative value of `iIndex`, the shape is inserted * at position 0; for a value greater than the current size of the aggregation, the shape is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getShapes shapes}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes(): sap.gantt.simple.BaseShape[]; /** * Removes a shape from the aggregation {@link #getShapes shapes}. * * * @returns The removed shape or `null` */ removeShape( /** * The shape to remove or its index or id */ vShape: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Renders the container with RenderManager recursively * * @ui5-protected Do not call from applications (only from related classes in the framework) */ renderElement( /** * A shared RenderManager for GanttChart control */ oRm: sap.ui.core.RenderManager, /** * Group to be rendered */ oGroup: sap.gantt.simple.BaseGroup ): void; } /** * BaseImage shape class using SVG tag 'text' for icon font image, and SVG tag 'image' for bitmap images. */ class BaseImage extends sap.gantt.simple.BaseText { /** * Creates and initializes a new image class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseImageSettings ); /** * Creates and initializes a new image class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseImageSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseImage with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseText.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseImage. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getHeight height}. * * Height of the image. * * Default value is `20`. * * * @returns Value of property `height` */ getHeight(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getSrc src}. * * Src of the image. If the image is represented by an icon font, then the src is sap-icon://task for instance * * * @returns Value of property `src` */ getSrc(): sap.ui.core.URI; /** * Gets current value of property {@link #getWidth width}. * * Width of the image. * * Default value is `20`. * * * @returns Value of property `width` */ getWidth(): sap.gantt.SVGLength; /** * Gets the current value of property `x`. * * x coordinate of the image rectangle. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * as a base and makes some adjustments. * * * @returns Value of property `x`. */ getX(): number; /** * Gets the current value of property `y`. * * y coordinate of the image rectangle. * * Usually applications do not set this value. This getter carries out the calculation using row context * info and makes some adjustments to align the center of the row rectangle along the y axis. If you override * the default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `y`. */ getY(): number; /** * Render svg tag with render manager. * * Render svg `image` tag and set the `href` attribute of the `image` tag with the `image` propery. */ renderElement( /** * Render manager */ oRm: object, /** * Shape object */ oElement: object ): void; /** * Sets a new value for property {@link #getHeight height}. * * Height of the image. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `20`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getSrc src}. * * Src of the image. If the image is represented by an icon font, then the src is sap-icon://task for instance * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSrc( /** * New value for property `src` */ sSrc?: sap.ui.core.URI ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the image. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `20`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.gantt.SVGLength ): this; } /** * BaseLine is a basic shape used to create a line connecting two points. */ class BaseLine extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new BaseLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseLineSettings ); /** * Creates and initializes a new BaseLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseLineSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseLine with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseLine. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getX1 x1}. * * x1 defines the x-axis coordinate of the line starting point * * Default value is `0`. * * * @returns Value of property `x1` */ getX1(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getX2 x2}. * * x2 defines the x-axis coordinate of the line ending point * * Default value is `0`. * * * @returns Value of property `x2` */ getX2(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getY1 y1}. * * y1 defines the y-axis coordinate of the line starting point * * Default value is `0`. * * * @returns Value of property `y1` */ getY1(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getY2 y2}. * * y2 defines the y-axis coordinate of the line ending point * * Default value is `0`. * * * @returns Value of property `y2` */ getY2(): sap.gantt.SVGLength; /** * Sets a new value for property {@link #getX1 x1}. * * x1 defines the x-axis coordinate of the line starting point * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setX1( /** * New value for property `x1` */ sX1?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getX2 x2}. * * x2 defines the x-axis coordinate of the line ending point * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setX2( /** * New value for property `x2` */ sX2?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getY1 y1}. * * y1 defines the y-axis coordinate of the line starting point * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setY1( /** * New value for property `y1` */ sY1?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getY2 y2}. * * y2 defines the y-axis coordinate of the line ending point * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setY2( /** * New value for property `y2` */ sY2?: sap.gantt.SVGLength ): this; } /** * BasePath is the generic element to define a shape. All the basic shapes can be created by BasePath */ class BasePath extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new BasePath class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BasePathSettings ); /** * Creates and initializes a new BasePath class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BasePathSettings ); /** * Creates a new subclass of class sap.gantt.simple.BasePath with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BasePath. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getD d}. * * The d property provides a path definition to be drawn. * * * @returns Value of property `d` */ getD(): string; /** * Renders the DOM element by RenderManager */ renderElement( /** * A shared RenderManager for GanttChart control */ oRm: sap.ui.core.RenderManager, /** * Path to be rendered */ oElement: sap.gantt.simple.BasePath ): void; /** * Sets a new value for property {@link #getD d}. * * The d property provides a path definition to be drawn. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setD( /** * New value for property `d` */ sD: string ): this; } /** * BaseRectangle represent a basic shape that creates rectangles, defined by corner positions, width and * height. The rectangle may have their corners rounded. */ class BaseRectangle extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new BaseRectangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseRectangleSettings ); /** * Creates and initializes a new BaseRectangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseRectangleSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseRectangle with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseRectangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets the value of property `height`. * * If property height set to "auto", then the height is automatically calculated based on the row height. * * * @returns Value of property `width`. */ getHeight(): number; /** * Gets current value of property {@link #getRx rx}. * * rx defines a radius on the x-axis. * * Default value is `0`. * * * @returns Value of property `rx` */ getRx(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getRy ry}. * * ry defines a radius on the y-axis. * * Default value is `0`. * * * @returns Value of property `ry` */ getRy(): sap.gantt.SVGLength; /** * Gets the value of property `width`. * * Width of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using properties * `time` and `endTime` * * * @returns Value of property `width`. */ getWidth(): number; /** * Gets the value of property `x`. * * x coordinate of the top-left corner of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * as a base. * * * @returns Value of property `x`. */ getX(): number; /** * Gets the value of property `y`. * * y coordinate of the top-left corner of the rectangle. * * Usually applications do not set this value. This getter carries out the calculation based on the row * height and uses `height` value to position the rectangle in the row center. * * * @returns Value of property `y`. */ getY(): number; /** * Sets a new value for property {@link #getHeight height}. * * height defines the vertical length of the rectangle. * * By default, the system automatically generates the shape height according to the base row height. You * can set the height yourself by using the setter method. However, it cannot exceed the row height. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"auto"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getRx rx}. * * rx defines a radius on the x-axis. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setRx( /** * New value for property `rx` */ sRx?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getRy ry}. * * ry defines a radius on the y-axis. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setRy( /** * New value for property `ry` */ sRy?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getWidth width}. * * width defines the horizontal length of the rectangle. Most of time it's calculated by properties `time` * and `endTime` automatically * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getX x}. * * x defines a x-axis coordinate in the user coordinate system * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ sX: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getY y}. * * defines a y-axis coordinate in the user coordinate system * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ sY: sap.gantt.SVGLength ): this; } /** * BaseShape is an abstract class. All other shapes must extend this class and provide implementation of * method renderElement. It enables application developers to define it's own shapes. * * This class provides the common used properties and methods. */ abstract class BaseShape extends sap.ui.core.Element { /** * Creates and initializes a new Shape class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseShapeSettings ); /** * Creates and initializes a new Shape class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseShapeSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseShape with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseShape. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getAlignShape alignShape}. * * Enables alignment of the shape. The shape can be aligned to the top, middle or bottom. By default, this * property is set to Middle. **Note:** Alignment is not possible for BaseLine and BasePath. It will be * set to BaseChevron, BaseRectangle, BaseCursor BaseDiamond, BaseText, BaseTriangle and BaseGroup. * * Default value is `Middle`. * * * @returns Value of property `alignShape` */ getAlignShape(): sap.gantt.simple.shapes.ShapeAlignment; /** * Gets current value of property {@link #getAnimationSettings animationSettings}. * * `animationSettings` - A JSON object used to apply animation to the color of the specified shape. * * - `"values": null` - A list of values defining the sequence of colors appearing during animation. * - `"duration": "1s"` - Denotes the duration of the animation. The value must be greater than 0, and * can be expressed in hours(h), minutes(m), seconds(s), or milliseconds(ms). * - `"repeatCount": "indefinite"` - Denotes the number of times an animation repeats. Restriction: * Enter at least two colors in the values key for the animation to work. If duration and repeatCount are * unspecified, the default values (duration '1s' and repeatCount 'indefinite') are set. **Note:** This * is only applicable for animation of shapes in Gantt charts. This is not applicable for utilization charts. * Refer to an example below: * ```javascript * * { * "values": "sapContent_Selected_ForegroundColor;sapContent_ForegroundBorderColor", * "duration": "1s", * "repeatCount": "indefinite" * } * ``` * * * @since 1.88 * * @returns Value of property `animationSettings` */ getAnimationSettings(): object; /** * Get an instance of AxisTime which belongs to current GanttChart. This is a shortcut method for all shape * instances to convert timestamp to coordinates or vise verse * See: * sap.gantt.misc.AxisTime#timeToView * sap.gantt.misc.AxisTime#viewToTime * * * @returns the AxisTime instance */ getAxisTime(): object; /** * Gets current value of property {@link #getConnectable connectable}. * * Specifies whether the shape is connectable. When this property is set to true, you can connect two different * shapes to create a relationship * * Default value is `false`. * * * @returns Value of property `connectable` */ getConnectable(): boolean; /** * Gets current value of property {@link #getCountInBirdEye countInBirdEye}. * * Specifies whether or not the system takes this shape into account when performing a bird eye zooming. * We suggest that you set this property to true only for shapes that really need to be considered into * bird eye range. * * Default value is `false`. * * * @returns Value of property `countInBirdEye` */ getCountInBirdEye(): boolean; /** * Gets current value of property {@link #getDraggable draggable}. * * Specifies whether the shape is draggable a draggble shape requires the shape is selectable set true as * well. * * Default value is `false`. * * * @returns Value of property `draggable` */ getDraggable(): boolean; /** * Gets current value of property {@link #getDragHighlightRows dragHighlightRows}. * * Comma-separated value of row IDs for the rows that are highlighted when the shape is being dragged. The * highlighted rows are the ones where the shape drop is allowed. * * Default value is `[]`. * * @since 1.108 * * @returns Value of property `dragHighlightRows` */ getDragHighlightRows(): string[]; /** * Gets current value of property {@link #getEnableChainSelection enableChainSelection}. * * Enables selection of all shapes that are part of a shape chain in a Gantt chart * * Default value is `false`. * * @since 1.86 * * @returns Value of property `enableChainSelection` */ getEnableChainSelection(): boolean; /** * Gets current value of property {@link #getEndTime endTime}. * * End time of the shape. This property is mandatory if the shape is a duration shape. You must bind this * property to a model, or set a valid JavaScript Date object. The duration is determined by minusing the * value of property `time` * * * @returns Value of property `endTime` */ getEndTime(): object; /** * Gets current value of property {@link #getExpandable expandable}. * * Whether the shape is expandable * * Default value is `false`. * * * @returns Value of property `expandable` */ getExpandable(): boolean; /** * Gets current value of property {@link #getFill fill}. * * The fill property enables you to define the fill color for shapes and texts. * * For shapes and text the fill property is a presentation attribute that lets define the color (or any * SVG paint servers like gradients or patterns) * * * @returns Value of property `fill` */ getFill(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getFillOpacity fillOpacity}. * * The fillOpacity property is a presentation property defining the opacity of the paint server (color, * gradient, pattern, etc) applied to a shape. * * Default value is `1.0`. * * * @returns Value of property `fillOpacity` */ getFillOpacity(): float; /** * Gets current value of property {@link #getFilter filter}. * * The filter property defines the filter effects defined by the element that shall be applied * to its element * * * @returns Value of property `filter` */ getFilter(): string; /** * Gets current value of property {@link #getFontFamily fontFamily}. * * This property indicates the font family that gets used to render the text in the shape. * * Default value is `"sapFontFamily"`. * * @since 1.94 * * @returns Value of property `fontFamily` */ getFontFamily(): string; /** * Gets current value of property {@link #getFontSize fontSize}. * * The fontSize property refers to the size of the font * * Default value is `13`. * * @since 1.100 * * @returns Value of property `fontSize` */ getFontSize(): int; /** * Gets current value of property {@link #getFontWeight fontWeight}. * * The fontWeight property refers to the font weight that gets used to render the text in the shape. * * Default value is `"normal"`. * * @since 1.100 * * @returns Value of property `fontWeight` */ getFontWeight(): string; /** * Gets current value of property {@link #getHighlightable highlightable}. * * Whether the shape is highlightable * * Default value is `false`. * * @since 1.100 * * @returns Value of property `highlightable` */ getHighlightable(): boolean; /** * Gets current value of property {@link #getHighlighted highlighted}. * * Whether the shape is highlighted * * Default value is `false`. * * @since 1.100 * * @returns Value of property `highlighted` */ getHighlighted(): boolean; /** * Gets current value of property {@link #getHorizontalTextAlignment horizontalTextAlignment}. * * Horizontal alignment for the title of the Shape. * * Default value is `Start`. * * @since 1.86 * * @returns Value of property `horizontalTextAlignment` */ getHorizontalTextAlignment(): sap.gantt.simple.horizontalTextAlignment; /** * Gets current value of property {@link #getHoverable hoverable}. * * Specifies whether the shape is hoverable. hovering the mouse pointer over the shape fires the shapeMouseEnter * event and moving the mouse pointer out of the shape fires the shapeMouseLeave event. * * Default value is `false`. * * * @returns Value of property `hoverable` */ getHoverable(): boolean; /** * Gets current value of property {@link #getHoverFillColor hoverFillColor}. * * The hoverFillColor property lets you define the fill color for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * @since 1.145 * * @returns Value of property `hoverFillColor` */ getHoverFillColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getHoverStrokeColor hoverStrokeColor}. * * The hoverStrokeColor property lets you define the stroke color for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * @since 1.145 * * @returns Value of property `hoverStrokeColor` */ getHoverStrokeColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getHoverStrokeWidth hoverStrokeWidth}. * * The hoverStrokeWidth property lets you define the stroke-width for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * Default value is `0`. * * @since 1.145 * * @returns Value of property `hoverStrokeWidth` */ getHoverStrokeWidth(): float; /** * Gets current value of property {@link #getLeftAnchorPosition leftAnchorPosition}. * * Postion of left anchor for a shape to connect with other shapes whose value ranges from 0-100 * * @since 1.131 * * @returns Value of property `leftAnchorPosition` */ getLeftAnchorPosition(): int; /** * Gets current value of property {@link #getOpacity opacity}. * * The opacity attribute specifies the transparency of an object or of a group of objects, that is, the * degree to which the background behind the element is overlaid. * * The minimum value is 0.0 and maximum value is 1.0 * * Default value is `1.0`. * * * @returns Value of property `opacity` */ getOpacity(): float; /** * Gets current value of property {@link #getResizable resizable}. * * Specifies whether the shape is resizable. Resizing a shape requires the shape is selectable as well. * * Default value is `false`. * * * @returns Value of property `resizable` */ getResizable(): boolean; /** * Gets current value of property {@link #getRightAnchorPosition rightAnchorPosition}. * * Postion of right anchor for a shape to connect with other shapes whose value ranges from 0-100 * * @since 1.131 * * @returns Value of property `rightAnchorPosition` */ getRightAnchorPosition(): int; /** * Gets current value of property {@link #getRowYCenter rowYCenter}. * * rowYCenter of the shape * * * @returns Value of property `rowYCenter` */ getRowYCenter(): float; /** * Gets current value of property {@link #getScheme scheme}. * * Scheme key of the shape. * * The scheme is used by expand/collapse the main row shape. You can define the scheme together with `shapeSchemes` * in `sap.gantt.simple.GanttChartWithTable`, the value defines here needse matchs the key value defines * in `sap.gantt.simple.ShapeScheme` * * * @returns Value of property `scheme` */ getScheme(): string; /** * Gets current value of property {@link #getSelectable selectable}. * * Whether the shape is selectable * * Default value is `false`. * * * @returns Value of property `selectable` */ getSelectable(): boolean; /** * Gets current value of property {@link #getSelectableInChainSelection selectableInChainSelection}. * * Enables selection of a shape when it is part of the shape chain. By default, this property is set as * True. * * Default value is `true`. * * @since 1.86 * * @returns Value of property `selectableInChainSelection` */ getSelectableInChainSelection(): boolean; /** * Gets current value of property {@link #getSelected selected}. * * Whether the shape is selected * * Default value is `false`. * * * @returns Value of property `selected` */ getSelected(): boolean; /** * Gets current value of property {@link #getSelectedFill selectedFill}. * * The selectedFill property defines the color (or any SVG paint servers like gradients or patterns) of * the shape when it is selected. * * @since 1.99 * * @returns Value of property `selectedFill` */ getSelectedFill(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getSelectedTitleColor selectedTitleColor}. * * The selectedTitleColor property defines the color (or any SVG paint servers like gradients or patterns) * of the shape's title when it is selected. * * @since 1.99 * * @returns Value of property `selectedTitleColor` */ getSelectedTitleColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getShapeId shapeId}. * * ID of the shape. shapeId property represents a unique identifier for a business object. This property * shall be bound to a property during initialization, it requires an unique non-empty value. * * * @returns Value of property `shapeId` */ getShapeId(): string; /** * Gets current value of property {@link #getShowAnimation showAnimation}. * * Flag to show or hide animation of an active shape. * * Default value is `false`. * * @since 1.88 * * @returns Value of property `showAnimation` */ getShowAnimation(): boolean; /** * Gets current value of property {@link #getShowTitle showTitle}. * * Flag to show or hide the title of the Shape. * * Default value is `true`. * * * @returns Value of property `showTitle` */ getShowTitle(): boolean; /** * Gets current value of property {@link #getStroke stroke}. * * The stroke property is a presentation property defining the color (or any SVG paint servers like gradients * or patterns) used to paint the outline of the shape; * * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getStrokeDasharray strokeDasharray}. * * The strokeDasharray property is a presentation property defining the pattern of dashes and gaps used * to paint the outline of the shape. * * * @returns Value of property `strokeDasharray` */ getStrokeDasharray(): string; /** * Gets current value of property {@link #getStrokeOpacity strokeOpacity}. * * stroke opacity of the shape * * Default value is `1.0`. * * * @returns Value of property `strokeOpacity` */ getStrokeOpacity(): float; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * Default value is `0`. * * * @returns Value of property `strokeWidth` */ getStrokeWidth(): float; /** * Get the shape style string * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns shape styles */ getStyle(): string; /** * Gets current value of property {@link #getStyleName styleName}. * * Provides the style class name for the shape that can be mapped from shapeStyles aggregation in GanttChartWithTable * or GanttChartContainer. * * @since 1.130 * * @returns Value of property `styleName` */ getStyleName(): string; /** * Gets current value of property {@link #getTime time}. * * Start time of the shape. This property is mandatory. You must bind this property to a model, or set a * valid JavaScript Date object. The value will be converted to x coordination when rendering. If not set, * the shape is not visible. * * * @returns Value of property `time` */ getTime(): object; /** * Gets current value of property {@link #getTitle title}. * * The title of the Shape. * * * @returns Value of property `title` */ getTitle(): string; /** * Gets current value of property {@link #getTitleColor titleColor}. * * The titleColor property defines the color (or any SVG paint servers like gradients or patterns) of the * shape title; * * @since 1.90 * * @returns Value of property `titleColor` */ getTitleColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getTitleSpacing titleSpacing}. * * The titleSpacing property defines the space between the start of the shape and the shape title in pixels * * Default value is `0`. * * @since 1.96 * * @returns Value of property `titleSpacing` */ getTitleSpacing(): int; /** * Gets current value of property {@link #getTransform transform}. * * The transform property defines a list of transform definitions that are applied to an element and the * element's children Right now in gantt library, only `translate()` method is supported. CSS methods like * scale, skew, rotate and matrix doesn't support. And if you provide values for transform, the values will * update xBias and yBias if translate the corresponding axis is matched. * * * @returns Value of property `transform` */ getTransform(): string; /** * Gets current value of property {@link #getVerticalTextAlignment verticalTextAlignment}. * * Vertical alignment for the title of the Shape. * * Default value is `Center`. * * @since 1.86 * * @returns Value of property `verticalTextAlignment` */ getVerticalTextAlignment(): sap.gantt.simple.verticalTextAlignment; /** * Gets current value of property {@link #getVisible visible}. * * Shows or hides the shape. * * Default value is `true`. * * * @returns Value of property `visible` */ getVisible(): boolean; /** * Gets current value of property {@link #getXBias xBias}. * * X offset in pixel. If the value is positive, in non-RTL mode, means to translate the visual object to * the right in pixel unit. If the value is negative, the logic is inverted. * * Default value is `0`. * * * @returns Value of property `xBias` */ getXBias(): float; /** * Gets current value of property {@link #getYBias yBias}. * * Y offset in pixel. If the value is positive, in non-RTL mode, it means translate the visual object to * the bottom in pixel unit. If the value is negative, the logic is inverted. * * Default value is `0`. * * * @returns Value of property `yBias` */ getYBias(): float; /** * Render the shape. Write the shape DOM into render manager buffer. * * All customized shape need to overwrite this method to provide it's own rendering logic * * @ui5-protected Do not call from applications (only from related classes in the framework) */ renderElement( /** * Render Manager */ oRm: sap.ui.core.RenderManager, /** * Shape instance */ oElement: sap.gantt.simple.BaseShape ): void; /** * Sets a new value for property {@link #getAlignShape alignShape}. * * Enables alignment of the shape. The shape can be aligned to the top, middle or bottom. By default, this * property is set to Middle. **Note:** Alignment is not possible for BaseLine and BasePath. It will be * set to BaseChevron, BaseRectangle, BaseCursor BaseDiamond, BaseText, BaseTriangle and BaseGroup. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Middle`. * * * @returns Reference to `this` in order to allow method chaining */ setAlignShape( /** * New value for property `alignShape` */ sAlignShape?: sap.gantt.simple.shapes.ShapeAlignment ): this; /** * Sets a new value for property {@link #getAnimationSettings animationSettings}. * * `animationSettings` - A JSON object used to apply animation to the color of the specified shape. * * - `"values": null` - A list of values defining the sequence of colors appearing during animation. * - `"duration": "1s"` - Denotes the duration of the animation. The value must be greater than 0, and * can be expressed in hours(h), minutes(m), seconds(s), or milliseconds(ms). * - `"repeatCount": "indefinite"` - Denotes the number of times an animation repeats. Restriction: * Enter at least two colors in the values key for the animation to work. If duration and repeatCount are * unspecified, the default values (duration '1s' and repeatCount 'indefinite') are set. **Note:** This * is only applicable for animation of shapes in Gantt charts. This is not applicable for utilization charts. * Refer to an example below: * ```javascript * * { * "values": "sapContent_Selected_ForegroundColor;sapContent_ForegroundBorderColor", * "duration": "1s", * "repeatCount": "indefinite" * } * ``` * * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setAnimationSettings( /** * New value for property `animationSettings` */ oAnimationSettings?: object ): this; /** * Sets a new value for property {@link #getConnectable connectable}. * * Specifies whether the shape is connectable. When this property is set to true, you can connect two different * shapes to create a relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setConnectable( /** * New value for property `connectable` */ bConnectable?: boolean ): this; /** * Sets a new value for property {@link #getCountInBirdEye countInBirdEye}. * * Specifies whether or not the system takes this shape into account when performing a bird eye zooming. * We suggest that you set this property to true only for shapes that really need to be considered into * bird eye range. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setCountInBirdEye( /** * New value for property `countInBirdEye` */ bCountInBirdEye?: boolean ): this; /** * Sets a new value for property {@link #getDraggable draggable}. * * Specifies whether the shape is draggable a draggble shape requires the shape is selectable set true as * well. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setDraggable( /** * New value for property `draggable` */ bDraggable?: boolean ): this; /** * Sets a new value for property {@link #getDragHighlightRows dragHighlightRows}. * * Comma-separated value of row IDs for the rows that are highlighted when the shape is being dragged. The * highlighted rows are the ones where the shape drop is allowed. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * @since 1.108 * * @returns Reference to `this` in order to allow method chaining */ setDragHighlightRows( /** * New value for property `dragHighlightRows` */ sDragHighlightRows?: string[] ): this; /** * Sets a new value for property {@link #getEnableChainSelection enableChainSelection}. * * Enables selection of all shapes that are part of a shape chain in a Gantt chart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setEnableChainSelection( /** * New value for property `enableChainSelection` */ bEnableChainSelection?: boolean ): this; /** * Sets a new value for property {@link #getEndTime endTime}. * * End time of the shape. This property is mandatory if the shape is a duration shape. You must bind this * property to a model, or set a valid JavaScript Date object. The duration is determined by minusing the * value of property `time` * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setEndTime( /** * New value for property `endTime` */ oEndTime: object ): this; /** * Sets a new value for property {@link #getExpandable expandable}. * * Whether the shape is expandable * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setExpandable( /** * New value for property `expandable` */ bExpandable?: boolean ): this; /** * Sets a new value for property {@link #getFill fill}. * * The fill property enables you to define the fill color for shapes and texts. * * For shapes and text the fill property is a presentation attribute that lets define the color (or any * SVG paint servers like gradients or patterns) * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getFillOpacity fillOpacity}. * * The fillOpacity property is a presentation property defining the opacity of the paint server (color, * gradient, pattern, etc) applied to a shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1.0`. * * * @returns Reference to `this` in order to allow method chaining */ setFillOpacity( /** * New value for property `fillOpacity` */ fFillOpacity?: float ): this; /** * Sets a new value for property {@link #getFilter filter}. * * The filter property defines the filter effects defined by the element that shall be applied * to its element * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFilter( /** * New value for property `filter` */ sFilter: string ): this; /** * Sets a new value for property {@link #getFontFamily fontFamily}. * * This property indicates the font family that gets used to render the text in the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapFontFamily"`. * * @since 1.94 * * @returns Reference to `this` in order to allow method chaining */ setFontFamily( /** * New value for property `fontFamily` */ sFontFamily?: string ): this; /** * Sets a new value for property {@link #getFontSize fontSize}. * * The fontSize property refers to the size of the font * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `13`. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setFontSize( /** * New value for property `fontSize` */ iFontSize?: int ): this; /** * Sets a new value for property {@link #getFontWeight fontWeight}. * * The fontWeight property refers to the font weight that gets used to render the text in the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"normal"`. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setFontWeight( /** * New value for property `fontWeight` */ sFontWeight?: string ): this; /** * Sets a new value for property {@link #getHighlightable highlightable}. * * Whether the shape is highlightable * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setHighlightable( /** * New value for property `highlightable` */ bHighlightable?: boolean ): this; /** * Set highlight property and mark the shape highlighted in Highlight Model * * @since 1.100 */ setHighlighted( /** * Flag to higlight shape. */ bHighlighted: Boolean, /** * Flag to suppress re-rendering of the control. */ bSuppressInvalidate: Boolean ): void; /** * Sets a new value for property {@link #getHorizontalTextAlignment horizontalTextAlignment}. * * Horizontal alignment for the title of the Shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Start`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setHorizontalTextAlignment( /** * New value for property `horizontalTextAlignment` */ sHorizontalTextAlignment?: sap.gantt.simple.horizontalTextAlignment ): this; /** * Sets a new value for property {@link #getHoverable hoverable}. * * Specifies whether the shape is hoverable. hovering the mouse pointer over the shape fires the shapeMouseEnter * event and moving the mouse pointer out of the shape fires the shapeMouseLeave event. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setHoverable( /** * New value for property `hoverable` */ bHoverable?: boolean ): this; /** * Sets a new value for property {@link #getHoverFillColor hoverFillColor}. * * The hoverFillColor property lets you define the fill color for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.145 * * @returns Reference to `this` in order to allow method chaining */ setHoverFillColor( /** * New value for property `hoverFillColor` */ sHoverFillColor: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getHoverStrokeColor hoverStrokeColor}. * * The hoverStrokeColor property lets you define the stroke color for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.145 * * @returns Reference to `this` in order to allow method chaining */ setHoverStrokeColor( /** * New value for property `hoverStrokeColor` */ sHoverStrokeColor: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getHoverStrokeWidth hoverStrokeWidth}. * * The hoverStrokeWidth property lets you define the stroke-width for shapes upon hovering. These properties * do not apply to adhoc lines, delta lines, calendars, charts and images. These settings are ignored if * a shape is selected. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * @since 1.145 * * @returns Reference to `this` in order to allow method chaining */ setHoverStrokeWidth( /** * New value for property `hoverStrokeWidth` */ fHoverStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getLeftAnchorPosition leftAnchorPosition}. * * Postion of left anchor for a shape to connect with other shapes whose value ranges from 0-100 * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.131 * * @returns Reference to `this` in order to allow method chaining */ setLeftAnchorPosition( /** * New value for property `leftAnchorPosition` */ iLeftAnchorPosition: int ): this; /** * Sets a new value for property {@link #getOpacity opacity}. * * The opacity attribute specifies the transparency of an object or of a group of objects, that is, the * degree to which the background behind the element is overlaid. * * The minimum value is 0.0 and maximum value is 1.0 * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1.0`. * * * @returns Reference to `this` in order to allow method chaining */ setOpacity( /** * New value for property `opacity` */ fOpacity?: float ): this; /** * Sets a new value for property {@link #getResizable resizable}. * * Specifies whether the shape is resizable. Resizing a shape requires the shape is selectable as well. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setResizable( /** * New value for property `resizable` */ bResizable?: boolean ): this; /** * Sets a new value for property {@link #getRightAnchorPosition rightAnchorPosition}. * * Postion of right anchor for a shape to connect with other shapes whose value ranges from 0-100 * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.131 * * @returns Reference to `this` in order to allow method chaining */ setRightAnchorPosition( /** * New value for property `rightAnchorPosition` */ iRightAnchorPosition: int ): this; /** * Sets a new value for property {@link #getRowYCenter rowYCenter}. * * rowYCenter of the shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setRowYCenter( /** * New value for property `rowYCenter` */ fRowYCenter: float ): this; /** * Sets a new value for property {@link #getScheme scheme}. * * Scheme key of the shape. * * The scheme is used by expand/collapse the main row shape. You can define the scheme together with `shapeSchemes` * in `sap.gantt.simple.GanttChartWithTable`, the value defines here needse matchs the key value defines * in `sap.gantt.simple.ShapeScheme` * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setScheme( /** * New value for property `scheme` */ sScheme?: string ): this; /** * Sets a new value for property {@link #getSelectable selectable}. * * Whether the shape is selectable * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectable( /** * New value for property `selectable` */ bSelectable?: boolean ): this; /** * Sets a new value for property {@link #getSelectableInChainSelection selectableInChainSelection}. * * Enables selection of a shape when it is part of the shape chain. By default, this property is set as * True. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setSelectableInChainSelection( /** * New value for property `selectableInChainSelection` */ bSelectableInChainSelection?: boolean ): this; /** * Sets a new value for property {@link #getSelected selected}. * * Whether the shape is selected * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setSelected( /** * New value for property `selected` */ bSelected?: boolean ): this; /** * Sets a new value for property {@link #getSelectedFill selectedFill}. * * The selectedFill property defines the color (or any SVG paint servers like gradients or patterns) of * the shape when it is selected. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.99 * * @returns Reference to `this` in order to allow method chaining */ setSelectedFill( /** * New value for property `selectedFill` */ sSelectedFill: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getSelectedTitleColor selectedTitleColor}. * * The selectedTitleColor property defines the color (or any SVG paint servers like gradients or patterns) * of the shape's title when it is selected. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.99 * * @returns Reference to `this` in order to allow method chaining */ setSelectedTitleColor( /** * New value for property `selectedTitleColor` */ sSelectedTitleColor: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getShapeId shapeId}. * * ID of the shape. shapeId property represents a unique identifier for a business object. This property * shall be bound to a property during initialization, it requires an unique non-empty value. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShapeId( /** * New value for property `shapeId` */ sShapeId: string ): this; /** * Sets a new value for property {@link #getShowAnimation showAnimation}. * * Flag to show or hide animation of an active shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setShowAnimation( /** * New value for property `showAnimation` */ bShowAnimation?: boolean ): this; /** * Sets a new value for property {@link #getShowTitle showTitle}. * * Flag to show or hide the title of the Shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowTitle( /** * New value for property `showTitle` */ bShowTitle?: boolean ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * The stroke property is a presentation property defining the color (or any SVG paint servers like gradients * or patterns) used to paint the outline of the shape; * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * The strokeDasharray property is a presentation property defining the pattern of dashes and gaps used * to paint the outline of the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeOpacity strokeOpacity}. * * stroke opacity of the shape * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1.0`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeOpacity( /** * New value for property `strokeOpacity` */ fStrokeOpacity?: float ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ fStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getStyleName styleName}. * * Provides the style class name for the shape that can be mapped from shapeStyles aggregation in GanttChartWithTable * or GanttChartContainer. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setStyleName( /** * New value for property `styleName` */ sStyleName?: string ): this; /** * Sets a new value for property {@link #getTime time}. * * Start time of the shape. This property is mandatory. You must bind this property to a model, or set a * valid JavaScript Date object. The value will be converted to x coordination when rendering. If not set, * the shape is not visible. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTime( /** * New value for property `time` */ oTime: object ): this; /** * Sets a new value for property {@link #getTitle title}. * * The title of the Shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; /** * Sets a new value for property {@link #getTitleColor titleColor}. * * The titleColor property defines the color (or any SVG paint servers like gradients or patterns) of the * shape title; * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.90 * * @returns Reference to `this` in order to allow method chaining */ setTitleColor( /** * New value for property `titleColor` */ sTitleColor: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getTitleSpacing titleSpacing}. * * The titleSpacing property defines the space between the start of the shape and the shape title in pixels * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * @since 1.96 * * @returns Reference to `this` in order to allow method chaining */ setTitleSpacing( /** * New value for property `titleSpacing` */ iTitleSpacing?: int ): this; /** * Sets a new value for property {@link #getTransform transform}. * * The transform property defines a list of transform definitions that are applied to an element and the * element's children Right now in gantt library, only `translate()` method is supported. CSS methods like * scale, skew, rotate and matrix doesn't support. And if you provide values for transform, the values will * update xBias and yBias if translate the corresponding axis is matched. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTransform( /** * New value for property `transform` */ sTransform: string ): this; /** * Sets a new value for property {@link #getVerticalTextAlignment verticalTextAlignment}. * * Vertical alignment for the title of the Shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Center`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setVerticalTextAlignment( /** * New value for property `verticalTextAlignment` */ sVerticalTextAlignment?: sap.gantt.simple.verticalTextAlignment ): this; /** * Sets a new value for property {@link #getVisible visible}. * * Shows or hides the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setVisible( /** * New value for property `visible` */ bVisible?: boolean ): this; /** * Sets a new value for property {@link #getXBias xBias}. * * X offset in pixel. If the value is positive, in non-RTL mode, means to translate the visual object to * the right in pixel unit. If the value is negative, the logic is inverted. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setXBias( /** * New value for property `xBias` */ fXBias?: float ): this; /** * Sets a new value for property {@link #getYBias yBias}. * * Y offset in pixel. If the value is positive, in non-RTL mode, it means translate the visual object to * the bottom in pixel unit. If the value is negative, the logic is inverted. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setYBias( /** * New value for property `yBias` */ fYBias?: float ): this; } /** * BaseText defines a graphics element consisting of text. */ class BaseText extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new BaseText class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseTextSettings ); /** * Creates and initializes a new BaseText class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$BaseTextSettings ); /** * Creates a new subclass of class sap.gantt.simple.BaseText with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseText. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getFill fill}. * * The color of the text * * Default value is `"sapTextColor"`. * * * @returns Value of property `fill` */ getFill(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getFontFamily fontFamily}. * * This property indicates which font family will be used to render the text, specified as a prioritized * list of font family names and/or generic family names * * Default value is `"sapFontFamily"`. * * * @returns Value of property `fontFamily` */ getFontFamily(): string; /** * Gets current value of property {@link #getFontSize fontSize}. * * The fontSize property refers to the size of the font * * Default value is `13`. * * * @returns Value of property `fontSize` */ getFontSize(): int; /** * Gets current value of property {@link #getIsLabel isLabel}. * * Flag to consider a baseText as not a part of graphical shape. Label exclusion is only applicable to outermost * basegroup. * * Default value is `false`. * * @since 1.93 * * @returns Value of property `isLabel` */ getIsLabel(): boolean; /** * Gets current value of property {@link #getShowEllipsis showEllipsis}. * * Flag to show the ellipsis symbol. * * Default value is `true`. * * * @returns Value of property `showEllipsis` */ getShowEllipsis(): boolean; /** * Get the BaseText style string * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns BaseText styles */ getStyle(): string; /** * Gets current value of property {@link #getText text}. * * Text content * * * @returns Value of property `text` */ getText(): string; /** * Gets the value of property `textAnchor`. * * * @returns Value of property `textAnchor`. */ getTextAnchor(): string; /** * Gets the value of property `truncateWidth`. * * Truncating width. Default value -1 indicates truncating function is not activated. To enable truncating, * specifies a truncate width. If text length exceeds truncate width, text is truncated automatically. This * method will return the minimum between property `truncateWidth` and it's parent's width caculated by * time range. * * * @returns Value of property `truncateWidth`. */ getTruncateWidth(): number; /** * Gets current value of property `x`. x coordinate of the bottom-left corner of the text. * * Usually applications do not set this value. This getter carries out the calculation using property `time` * from itself or it's parent that has method `getTime`. If you override the default value calculated by * the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `x`. */ getX(): number; /** * Gets current value of property `y`. * * y coordinate of the bottom-left corner of the text. * * Usually applications do not set this value. This getter carries out the calculation using parameter `RowYCenter` * and property `fontSize` to align the center of the row rectangle along the y axis. If you override the * default value calculated by the getter, the alignment of the center is not guaranteed. * * * @returns Value of property `y`. */ getY(): number; /** * Renders the text with RenderManager */ renderElement( /** * A shared RenderManager for GanttChart control */ oRm: sap.ui.core.RenderManager, /** * BaseText to be rendered */ oElement: sap.gantt.simple.BaseText ): void; /** * Sets a new value for property {@link #getFill fill}. * * The color of the text * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapTextColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getFontFamily fontFamily}. * * This property indicates which font family will be used to render the text, specified as a prioritized * list of font family names and/or generic family names * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapFontFamily"`. * * * @returns Reference to `this` in order to allow method chaining */ setFontFamily( /** * New value for property `fontFamily` */ sFontFamily?: string ): this; /** * Sets a new value for property {@link #getFontSize fontSize}. * * The fontSize property refers to the size of the font * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `13`. * * * @returns Reference to `this` in order to allow method chaining */ setFontSize( /** * New value for property `fontSize` */ iFontSize?: int ): this; /** * Sets a new value for property {@link #getIsLabel isLabel}. * * Flag to consider a baseText as not a part of graphical shape. Label exclusion is only applicable to outermost * basegroup. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.93 * * @returns Reference to `this` in order to allow method chaining */ setIsLabel( /** * New value for property `isLabel` */ bIsLabel?: boolean ): this; /** * Sets a new value for property {@link #getShowEllipsis showEllipsis}. * * Flag to show the ellipsis symbol. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowEllipsis( /** * New value for property `showEllipsis` */ bShowEllipsis?: boolean ): this; /** * Sets a new value for property {@link #getText text}. * * Text content * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText: string ): this; /** * Sets a new value for property {@link #getTextAnchor textAnchor}. * * This property is used to align (start-, middle- or end-alignment) a string of text relative to a given * point * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"start"`. * * * @returns Reference to `this` in order to allow method chaining */ setTextAnchor( /** * New value for property `textAnchor` */ sTextAnchor?: string ): this; /** * Sets a new value for property {@link #getTruncateWidth truncateWidth}. * * The width to start truncate the text. If the value is omit, the text is truncated base on it's parent * width * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTruncateWidth( /** * New value for property `truncateWidth` */ fTruncateWidth: float ): this; /** * Sets a new value for property {@link #getX x}. * * x-axis coordinate * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setX( /** * New value for property `x` */ fX: float ): this; /** * Sets a new value for property {@link #getY y}. * * y-axis coordinate * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setY( /** * New value for property `y` */ fY: float ): this; } /** * BaseTriangle represents a basic shape that creates triangles based on the Orientation property. * * @since 1.84 */ class BaseTriangle extends sap.gantt.simple.BaseRectangle { /** * Creates and initializes a new BaseTriangle class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. This is generated automatically, if ID is not provided. */ sId?: string ); /** * Creates a new subclass of class sap.gantt.simple.BaseTriangle with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseRectangle.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.BaseTriangle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.BaseTriangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseTriangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseTriangle` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.BaseTriangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseTriangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseTriangle` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.BaseTriangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseTriangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseTriangle` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.BaseTriangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseTriangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseTriangle` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.BaseTriangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseTriangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseTriangle` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.BaseTriangle`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.BaseTriangle` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.BaseTriangle` itself */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.BaseTriangle`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.BaseTriangle`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.gantt.simple.BaseTriangle`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:mouseEnter mouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseEnter( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:mouseLeave mouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseLeave( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:press press} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ firePress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Gets current value of property {@link #getHeight height}. * * Height of the triangle * * Default value is `0`. * * * @returns Value of property `height` */ getHeight(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getStroke stroke}. * * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * * @returns Value of property `strokeDasharray` */ getStrokeDasharray(): string; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * Standard SVG 'stroke-width' attribute. * * Default value is `1`. * * * @returns Value of property `strokeWidth` */ getStrokeWidth(): float; /** * Sets a new value for property {@link #getHeight height}. * * Height of the triangle * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getOrientation orientation}. * * Orientation of the triangle * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"right"`. * * * @returns Reference to `this` in order to allow method chaining */ setOrientation( /** * New value for property `orientation` */ sOrientation?: string ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * Standard SVG 'stroke-width' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ fStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the triangle * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.gantt.SVGLength ): this; } /** * ContainerToolbar is be used with GanttChartContainer control. Use this control out of sap.gantt library * is not supported. * * It's defined as an aggregation of GanttChartContainer to provide actions to all `sap.gantt.simple.GanttChartWithTable` * instances. By default, it only shows zooming controls and settings button. You can set properties to * true to show more build-in buttons. */ class ContainerToolbar extends sap.m.OverflowToolbar { /** * Creates and initializes a new ContainerToolbar class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.ContainerToolbar with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.m.OverflowToolbar.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.ContainerToolbar. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some settingItem to the aggregation {@link #getSettingItems settingItems}. * * * @returns Reference to `this` in order to allow method chaining */ addSettingItem( /** * The settingItem to add; if empty, nothing is inserted */ oSettingItem: sap.gantt.config.SettingItem ): this; /** * Attaches event handler `fnFunction` to the {@link #event:birdEyeButtonPress birdEyeButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Fired when the bird eye button is pressed * * * @returns Reference to `this` in order to allow method chaining */ attachBirdEyeButtonPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:birdEyeButtonPress birdEyeButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Fired when the bird eye button is pressed * * * @returns Reference to `this` in order to allow method chaining */ attachBirdEyeButtonPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:closeFindButtonPress closeFindButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the close find button is pressed on the toolbar * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachCloseFindButtonPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:closeFindButtonPress closeFindButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the close find button is pressed on the toolbar * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachCloseFindButtonPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:closeSidePanelButtonPress closeSidePanelButtonPress } * event of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the close button is pressed on the sidepanel * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachCloseSidePanelButtonPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:closeSidePanelButtonPress closeSidePanelButtonPress } * event of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the close button is pressed on the sidepanel * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachCloseSidePanelButtonPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:displayTypeChange displayTypeChange} event of * this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Fired when a different display type is selected in the display type menu. * * * @returns Reference to `this` in order to allow method chaining */ attachDisplayTypeChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: ContainerToolbar$DisplayTypeChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:displayTypeChange displayTypeChange} event of * this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Fired when a different display type is selected in the display type menu. * * * @returns Reference to `this` in order to allow method chaining */ attachDisplayTypeChange( /** * The function to be called when the event occurs */ fnFunction: (p1: ContainerToolbar$DisplayTypeChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:findButtonPress findButtonPress} event of this * `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the find button is pressed on the toolbar * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachFindButtonPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:findButtonPress findButtonPress} event of this * `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the find button is pressed on the toolbar * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachFindButtonPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:findPopupButtonPress findPopupButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the find popup button is pressed on the sidepanel * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachFindPopupButtonPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:findPopupButtonPress findPopupButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Gets initiated when the find popup button is pressed on the sidepanel * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachFindPopupButtonPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttSidePanel ganttSidePanel} event of this * `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Fired to invoke Gantt search side panel * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ attachGanttSidePanel( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: ContainerToolbar$GanttSidePanelEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttSidePanel ganttSidePanel} event of this * `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * Fired to invoke Gantt search side panel * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ attachGanttSidePanel( /** * The function to be called when the event occurs */ fnFunction: (p1: ContainerToolbar$GanttSidePanelEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:zoomStopChange zoomStopChange} event of this * `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * fired when zoom stop changed * * * @returns Reference to `this` in order to allow method chaining */ attachZoomStopChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: ContainerToolbar$ZoomStopChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:zoomStopChange zoomStopChange} event of this * `sap.gantt.simple.ContainerToolbar`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ContainerToolbar` itself. * * fired when zoom stop changed * * * @returns Reference to `this` in order to allow method chaining */ attachZoomStopChange( /** * The function to be called when the event occurs */ fnFunction: (p1: ContainerToolbar$ZoomStopChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ContainerToolbar` itself */ oListener?: object ): this; /** * Destroys the legendContainer in the aggregation {@link #getLegendContainer legendContainer}. * * * @returns Reference to `this` in order to allow method chaining */ destroyLegendContainer(): this; /** * Destroys all the settingItems in the aggregation {@link #getSettingItems settingItems}. * * * @returns Reference to `this` in order to allow method chaining */ destroySettingItems(): this; /** * Detaches event handler `fnFunction` from the {@link #event:birdEyeButtonPress birdEyeButtonPress} event * of this `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachBirdEyeButtonPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:closeFindButtonPress closeFindButtonPress } * event of this `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ detachCloseFindButtonPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:closeSidePanelButtonPress closeSidePanelButtonPress } * event of this `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ detachCloseSidePanelButtonPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:displayTypeChange displayTypeChange} event * of this `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachDisplayTypeChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: ContainerToolbar$DisplayTypeChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:findButtonPress findButtonPress} event of * this `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ detachFindButtonPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:findPopupButtonPress findPopupButtonPress } * event of this `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ detachFindPopupButtonPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:ganttSidePanel ganttSidePanel} event of this * `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ detachGanttSidePanel( /** * The function to be called, when the event occurs */ fnFunction: (p1: ContainerToolbar$GanttSidePanelEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:zoomStopChange zoomStopChange} event of this * `sap.gantt.simple.ContainerToolbar`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachZoomStopChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: ContainerToolbar$ZoomStopChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:birdEyeButtonPress birdEyeButtonPress} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireBirdEyeButtonPress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:closeFindButtonPress closeFindButtonPress} to attached listeners. * * @since 1.102 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireCloseFindButtonPress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:closeSidePanelButtonPress closeSidePanelButtonPress} to attached listeners. * * @since 1.102 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireCloseSidePanelButtonPress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:displayTypeChange displayTypeChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireDisplayTypeChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.ContainerToolbar$DisplayTypeChangeEventParameters ): this; /** * Fires event {@link #event:findButtonPress findButtonPress} to attached listeners. * * @since 1.102 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireFindButtonPress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:findPopupButtonPress findPopupButtonPress} to attached listeners. * * @since 1.102 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireFindPopupButtonPress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:ganttSidePanel ganttSidePanel} to attached listeners. * * @since 1.100 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireGanttSidePanel( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.ContainerToolbar$GanttSidePanelEventParameters ): this; /** * Fires event {@link #event:zoomStopChange zoomStopChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireZoomStopChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.ContainerToolbar$ZoomStopChangeEventParameters ): this; /** * Gets current value of property {@link #getAlignCustomContentToRight alignCustomContentToRight}. * * Defines how the toolbar custom content is aligned. * If set to `true`, the custom content in the toolbar is right-aligned. If set to `false`, it's left-aligned. * If a {@link sap.gantt.simple.ContainerToolbarPlaceholder} with a `Spacer` type is used in the content * aggregation, the alignment of the content depends on this spacer. * * Default value is `false`. * * * @returns Value of property `alignCustomContentToRight` */ getAlignCustomContentToRight(): boolean; /** * Gets current value of property {@link #getFindMode findMode}. * * Defines where the search box should appear on pressing the find button * * Default value is `Both`. * * @since 1.102 * * @returns Value of property `findMode` */ getFindMode(): sap.gantt.config.FindMode; /** * Gets current value of property {@link #getInfoOfSelectItems infoOfSelectItems}. * * Array of plain objects that have "key" and "text" properties, or array of sap.ui.core.Item used to configure * the items in the {@link sap.m.Select} control * * This property is only works if the zoomControlType is Select * * Default value is `[]`. * * * @returns Value of property `infoOfSelectItems` */ getInfoOfSelectItems(): object[]; /** * Gets content of aggregation {@link #getLegendContainer legendContainer}. * * The legend container that will show when the legend button is pressed */ getLegendContainer(): sap.ui.core.Control; /** * Gets content of aggregation {@link #getSettingItems settingItems}. * * The additional setting items in Setting Dialog */ getSettingItems(): sap.gantt.config.SettingItem[]; /** * Gets current value of property {@link #getShowBirdEyeButton showBirdEyeButton}. * * Flag to show or hide bird eye button on the toolbar * * Default value is `false`. * * * @returns Value of property `showBirdEyeButton` */ getShowBirdEyeButton(): boolean; /** * Gets current value of property {@link #getShowDisplayTypeButton showDisplayTypeButton}. * * Flag to show or hide display type menu on the toolbar * * Default value is `false`. * * * @returns Value of property `showDisplayTypeButton` */ getShowDisplayTypeButton(): boolean; /** * Gets current value of property {@link #getShowLegendButton showLegendButton}. * * Flag to show or hide legend button * * Default value is `false`. * * * @returns Value of property `showLegendButton` */ getShowLegendButton(): boolean; /** * Gets current value of property {@link #getShowSearchButton showSearchButton}. * * Flag to show or hide Find and Select search button Find operation is not going to work for the stock * chart and utilization gantt charts with time continuous shapes. * * Default value is `false`. * * @since 1.100 * * @returns Value of property `showSearchButton` */ getShowSearchButton(): boolean; /** * Gets current value of property {@link #getShowSettingButton showSettingButton}. * * Flag to show or hide setting button * * Default value is `true`. * * * @returns Value of property `showSettingButton` */ getShowSettingButton(): boolean; /** * Gets current value of property {@link #getShowTimeZoomControl showTimeZoomControl}. * * Flag to show or hide zoom buttons * * Default value is `true`. * * * @returns Value of property `showTimeZoomControl` */ getShowTimeZoomControl(): boolean; /** * Gets current value of property {@link #getStepCountOfSlider stepCountOfSlider}. * * Step count of {@link sap.m.Slider} * * This property only relevant if zoomControlType are: * - SliderWithButtons * - SliderOnly * * Default value is `10`. * * * @returns Value of property `stepCountOfSlider` */ getStepCountOfSlider(): int; /** * Gets current value of property {@link #getZoomControlType zoomControlType}. * * Defines the control type to set the zoom rate. * * Default value is `SliderWithButtons`. * * * @returns Value of property `zoomControlType` */ getZoomControlType(): sap.gantt.config.ZoomControlType; /** * Gets current value of property {@link #getZoomLevel zoomLevel}. * * Zoom level of all gantt chart instances in GanttChartContainer * * Default value is `0`. * * * @returns Value of property `zoomLevel` */ getZoomLevel(): int; /** * Checks for the provided `sap.gantt.config.SettingItem` in the aggregation {@link #getSettingItems settingItems}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfSettingItem( /** * The settingItem whose index is looked for */ oSettingItem: sap.gantt.config.SettingItem ): int; /** * Inserts a settingItem into the aggregation {@link #getSettingItems settingItems}. * * * @returns Reference to `this` in order to allow method chaining */ insertSettingItem( /** * The settingItem to insert; if empty, nothing is inserted */ oSettingItem: sap.gantt.config.SettingItem, /** * The `0`-based index the settingItem should be inserted at; for a negative value of `iIndex`, the settingItem * is inserted at position 0; for a value greater than the current size of the aggregation, the settingItem * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getSettingItems settingItems}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllSettingItems(): sap.gantt.config.SettingItem[]; /** * Removes a settingItem from the aggregation {@link #getSettingItems settingItems}. * * * @returns The removed settingItem or `null` */ removeSettingItem( /** * The settingItem to remove or its index or id */ vSettingItem: int | string | sap.gantt.config.SettingItem ): sap.gantt.config.SettingItem | null; /** * Sets a new value for property {@link #getAlignCustomContentToRight alignCustomContentToRight}. * * Defines how the toolbar custom content is aligned. * If set to `true`, the custom content in the toolbar is right-aligned. If set to `false`, it's left-aligned. * If a {@link sap.gantt.simple.ContainerToolbarPlaceholder} with a `Spacer` type is used in the content * aggregation, the alignment of the content depends on this spacer. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setAlignCustomContentToRight( /** * New value for property `alignCustomContentToRight` */ bAlignCustomContentToRight?: boolean ): this; /** * Sets a new value for property {@link #getFindMode findMode}. * * Defines where the search box should appear on pressing the find button * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Both`. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ setFindMode( /** * New value for property `findMode` */ sFindMode?: sap.gantt.config.FindMode ): this; /** * Sets a new value for property {@link #getInfoOfSelectItems infoOfSelectItems}. * * Array of plain objects that have "key" and "text" properties, or array of sap.ui.core.Item used to configure * the items in the {@link sap.m.Select} control * * This property is only works if the zoomControlType is Select * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setInfoOfSelectItems( /** * New value for property `infoOfSelectItems` */ sInfoOfSelectItems?: object[] ): this; /** * Sets the aggregated {@link #getLegendContainer legendContainer}. * * * @returns Reference to `this` in order to allow method chaining */ setLegendContainer( /** * The legendContainer to set */ oLegendContainer: sap.ui.core.Control ): this; /** * Sets a new value for property {@link #getShowBirdEyeButton showBirdEyeButton}. * * Flag to show or hide bird eye button on the toolbar * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowBirdEyeButton( /** * New value for property `showBirdEyeButton` */ bShowBirdEyeButton?: boolean ): this; /** * Sets a new value for property {@link #getShowDisplayTypeButton showDisplayTypeButton}. * * Flag to show or hide display type menu on the toolbar * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowDisplayTypeButton( /** * New value for property `showDisplayTypeButton` */ bShowDisplayTypeButton?: boolean ): this; /** * Sets a new value for property {@link #getShowLegendButton showLegendButton}. * * Flag to show or hide legend button * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowLegendButton( /** * New value for property `showLegendButton` */ bShowLegendButton?: boolean ): this; /** * Sets a new value for property {@link #getShowSearchButton showSearchButton}. * * Flag to show or hide Find and Select search button Find operation is not going to work for the stock * chart and utilization gantt charts with time continuous shapes. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setShowSearchButton( /** * New value for property `showSearchButton` */ bShowSearchButton?: boolean ): this; /** * Sets a new value for property {@link #getShowSettingButton showSettingButton}. * * Flag to show or hide setting button * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowSettingButton( /** * New value for property `showSettingButton` */ bShowSettingButton?: boolean ): this; /** * Sets a new value for property {@link #getShowTimeZoomControl showTimeZoomControl}. * * Flag to show or hide zoom buttons * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowTimeZoomControl( /** * New value for property `showTimeZoomControl` */ bShowTimeZoomControl?: boolean ): this; /** * Sets a new value for property {@link #getStepCountOfSlider stepCountOfSlider}. * * Step count of {@link sap.m.Slider} * * This property only relevant if zoomControlType are: * - SliderWithButtons * - SliderOnly * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `10`. * * * @returns Reference to `this` in order to allow method chaining */ setStepCountOfSlider( /** * New value for property `stepCountOfSlider` */ iStepCountOfSlider?: int ): this; /** * Sets a new value for property {@link #getZoomControlType zoomControlType}. * * Defines the control type to set the zoom rate. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `SliderWithButtons`. * * * @returns Reference to `this` in order to allow method chaining */ setZoomControlType( /** * New value for property `zoomControlType` */ sZoomControlType?: sap.gantt.config.ZoomControlType ): this; /** * Sets a new value for property {@link #getZoomLevel zoomLevel}. * * Zoom level of all gantt chart instances in GanttChartContainer * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setZoomLevel( /** * New value for property `zoomLevel` */ iZoomLevel?: int ): this; } /** * Placeholder is used to represent some of the buttons in a `sap.gantt.simple.ContainerToolbar` control. * * @since 1.66.0 */ class ContainerToolbarPlaceholder extends sap.ui.core.Control implements sap.m.IOverflowToolbarContent { __implements__sap_m_IOverflowToolbarContent: boolean; /** * Constructor for a new placeholder used in the container toolbar. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$ContainerToolbarPlaceholderSettings ); /** * Constructor for a new placeholder used in the container toolbar. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$ContainerToolbarPlaceholderSettings ); /** * Creates a new subclass of class sap.gantt.simple.ContainerToolbarPlaceholder with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.simple.ContainerToolbarPlaceholder >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.ContainerToolbarPlaceholder. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Enables the `sap.gantt.simple.ContainerToolbarPlaceholder` to move inside the {@link sap.m.OverflowToolbar}. * Required by the {@link sap.m.IOverflowToolbarContent} interface. * * * @returns Configuration information for the `sap.m.IOverflowToolbarContent` interface. */ getOverflowToolbarConfig(): object; /** * Gets current value of property {@link #getType type}. * * Defines the type of represented control. * * * @returns Value of property `type` */ getType(): sap.gantt.simple.ContainerToolbarPlaceholderType; /** * Sets a new value for property {@link #getType type}. * * Defines the type of represented control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setType( /** * New value for property `type` */ sType?: sap.gantt.simple.ContainerToolbarPlaceholderType ): this; } /** * Custom variant handler of the `sap.gantt.simple.GanttChartContainer` instance. */ class CustomVariantHandler extends sap.ui.core.Element { /** * Creates and initializes the new Custom Variant Handler instance. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$CustomVariantHandlerSettings ); /** * Creates and initializes the new Custom Variant Handler instance. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$CustomVariantHandlerSettings ); /** * Creates a new subclass of class sap.gantt.simple.CustomVariantHandler with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.CustomVariantHandler. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getData data}. * * * @returns Value of property `data` */ getData(): object; /** * Gets current value of property {@link #getDependantControlID dependantControlID}. * * Default value is `[]`. * * * @returns Value of property `dependantControlID` */ getDependantControlID(): string[]; /** * Sets a new value for property {@link #getData data}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setData( /** * New value for property `data` */ oData: object ): this; /** * Sets a new value for property {@link #getDependantControlID dependantControlID}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setDependantControlID( /** * New value for property `dependantControlID` */ sDependantControlID?: string[] ): this; } /** * The DeltaLine class contains properties to draw additional vertical lines which are connected by DeltaMarkers * at specific time points in the chart area. * * @since 1.84 */ class DeltaLine extends sap.ui.core.Element { /** * Creates and initializes a new DeltaLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string ); /** * Creates a new subclass of class sap.gantt.simple.DeltaLine with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.DeltaLine. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:deltalineDrop deltalineDrop} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * Fires during drag and drop of the delta line. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachDeltalineDrop( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: DeltaLine$DeltalineDropEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:deltalineDrop deltalineDrop} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * Fires during drag and drop of the delta line. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachDeltalineDrop( /** * The function to be called when the event occurs */ fnFunction: (p1: DeltaLine$DeltalineDropEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:deltalineResize deltalineResize} event of this * `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * Fires during resize of delta line. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachDeltalineResize( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: DeltaLine$DeltalineResizeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:deltalineResize deltalineResize} event of this * `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * Fires during resize of delta line. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachDeltalineResize( /** * The function to be called when the event occurs */ fnFunction: (p1: DeltaLine$DeltalineResizeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.gantt.simple.DeltaLine`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.DeltaLine` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachPress( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.DeltaLine` itself */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:deltalineDrop deltalineDrop} event of this * `sap.gantt.simple.DeltaLine`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ detachDeltalineDrop( /** * The function to be called, when the event occurs */ fnFunction: (p1: DeltaLine$DeltalineDropEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:deltalineResize deltalineResize} event of * this `sap.gantt.simple.DeltaLine`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ detachDeltalineResize( /** * The function to be called, when the event occurs */ fnFunction: (p1: DeltaLine$DeltalineResizeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseEnter mouseEnter} event of this `sap.gantt.simple.DeltaLine`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:mouseLeave mouseLeave} event of this `sap.gantt.simple.DeltaLine`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.gantt.simple.DeltaLine`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachPress( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:deltalineDrop deltalineDrop} to attached listeners. * * @since 1.88 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireDeltalineDrop( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.DeltaLine$DeltalineDropEventParameters ): this; /** * Fires event {@link #event:deltalineResize deltalineResize} to attached listeners. * * @since 1.88 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireDeltalineResize( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.DeltaLine$DeltalineResizeEventParameters ): this; /** * Fires event {@link #event:mouseEnter mouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseEnter( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:mouseLeave mouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireMouseLeave( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:press press} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ firePress( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Gets current value of property {@link #getDescription description}. * * Description of the Delta Line * * * @returns Value of property `description` */ getDescription(): string; /** * Gets current value of property {@link #getDraggable draggable}. * * Specifies whether the delta line is draggable. * * Default value is `false`. * * @since 1.88 * * @returns Value of property `draggable` */ getDraggable(): boolean; /** * Gets current value of property {@link #getEndTimeStamp endTimeStamp}. * * End time stamp of the Delta Line * * * @returns Value of property `endTimeStamp` */ getEndTimeStamp(): string; /** * Gets current value of property {@link #getResizable resizable}. * * Specifies whether the delta line is resizable. * * Default value is `false`. * * @since 1.88 * * @returns Value of property `resizable` */ getResizable(): boolean; /** * Gets current value of property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * * @returns Value of property `strokeDasharray` */ getStrokeDasharray(): string; /** * Gets current value of property {@link #getStrokeOpacity strokeOpacity}. * * Standard SVG 'stroke-opacity' attribute. * * Default value is `1`. * * * @returns Value of property `strokeOpacity` */ getStrokeOpacity(): float; /** * Gets current value of property {@link #getTimeDelay timeDelay}. * * Visibility of the Delta Line * * Default value is `300`. * * @deprecated As of version 1.97. **Note:**With the new implementation, this property won't have any effect. * * @returns Value of property `timeDelay` */ getTimeDelay(): int; /** * Gets current value of property {@link #getTimeStamp timeStamp}. * * Start time stamp of the Delta Line * * * @returns Value of property `timeStamp` */ getTimeStamp(): string; /** * Gets current value of property {@link #getVisible visible}. * * Visibility of the Delta Line * * Default value is `true`. * * * @returns Value of property `visible` */ getVisible(): boolean; /** * Gets current value of property {@link #getVisibleDeltaStartEndLines visibleDeltaStartEndLines}. * * Visibility of the Delta Start and End Lines * * Default value is `true`. * * @since 1.103 * * @returns Value of property `visibleDeltaStartEndLines` */ getVisibleDeltaStartEndLines(): boolean; /** * Sets a new value for property {@link #getDescription description}. * * Description of the Delta Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDescription( /** * New value for property `description` */ sDescription: string ): this; /** * Sets a new value for property {@link #getDraggable draggable}. * * Specifies whether the delta line is draggable. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setDraggable( /** * New value for property `draggable` */ bDraggable?: boolean ): this; /** * Sets a new value for property {@link #getEndTimeStamp endTimeStamp}. * * End time stamp of the Delta Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setEndTimeStamp( /** * New value for property `endTimeStamp` */ sEndTimeStamp: string ): this; /** * Sets a new value for property {@link #getResizable resizable}. * * Specifies whether the delta line is resizable. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setResizable( /** * New value for property `resizable` */ bResizable?: boolean ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_3_BorderColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeOpacity strokeOpacity}. * * Standard SVG 'stroke-opacity' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeOpacity( /** * New value for property `strokeOpacity` */ fStrokeOpacity?: float ): this; /** * Sets a new value for property {@link #getTimeDelay timeDelay}. * * Visibility of the Delta Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `300`. * * @deprecated As of version 1.97. **Note:**With the new implementation, this property won't have any effect. * * @returns Reference to `this` in order to allow method chaining */ setTimeDelay( /** * New value for property `timeDelay` */ iTimeDelay?: int ): this; /** * Sets a new value for property {@link #getTimeStamp timeStamp}. * * Start time stamp of the Delta Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeStamp( /** * New value for property `timeStamp` */ sTimeStamp: string ): this; /** * Sets a new value for property {@link #getVisible visible}. * * Visibility of the Delta Line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setVisible( /** * New value for property `visible` */ bVisible?: boolean ): this; /** * Sets a new value for property {@link #getVisibleDeltaStartEndLines visibleDeltaStartEndLines}. * * Visibility of the Delta Start and End Lines * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.103 * * @returns Reference to `this` in order to allow method chaining */ setVisibleDeltaStartEndLines( /** * New value for property `visibleDeltaStartEndLines` */ bVisibleDeltaStartEndLines?: boolean ): this; } /** * Dimension Legend provides a template for two-dimension legends. This template defines the representation * (shape, pattern, and color) of individual legend items and their corresponding meanings in both dimensions. * * Consider that you need to create a legend where legend items represent both the type and status of an * object. In this case, you can configure column to indicate object statuses and row to indicate object * types. Assume that valid object types are "Freight Order", "Freight Unit", and "Trailer Unit"; valid * object statuses are "Executed", "In Execution", "Fixed", "Planned", and “Unplanned”. You will have a * three by four two-dimension legend containing twelve legend items. Each them represents an object in * a specific type and a specific status. For example, a red square stands for executed freight orders. */ class DimensionLegend extends sap.ui.core.Control { /** * Creates and initializes a new Dimension Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$DimensionLegendSettings ); /** * Creates and initializes a new Dimension Legend class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$DimensionLegendSettings ); /** * Creates a new subclass of class sap.gantt.simple.DimensionLegend with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.DimensionLegend. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some columnConfig to the aggregation {@link #getColumnConfigs columnConfigs}. * * * @returns Reference to `this` in order to allow method chaining */ addColumnConfig( /** * The columnConfig to add; if empty, nothing is inserted */ oColumnConfig: sap.gantt.simple.LegendColumnConfig ): this; /** * Adds some rowConfig to the aggregation {@link #getRowConfigs rowConfigs}. * * * @returns Reference to `this` in order to allow method chaining */ addRowConfig( /** * The rowConfig to add; if empty, nothing is inserted */ oRowConfig: sap.gantt.simple.LegendRowConfig ): this; /** * Destroys all the columnConfigs in the aggregation {@link #getColumnConfigs columnConfigs}. * * * @returns Reference to `this` in order to allow method chaining */ destroyColumnConfigs(): this; /** * Destroys all the rowConfigs in the aggregation {@link #getRowConfigs rowConfigs}. * * * @returns Reference to `this` in order to allow method chaining */ destroyRowConfigs(): this; /** * Gets content of aggregation {@link #getColumnConfigs columnConfigs}. * * Legend column configuration */ getColumnConfigs(): sap.gantt.simple.LegendColumnConfig[]; /** * Gets content of aggregation {@link #getRowConfigs rowConfigs}. * * Legend row configuration */ getRowConfigs(): sap.gantt.simple.LegendRowConfig[]; /** * Gets current value of property {@link #getTitle title}. * * Title of Legend Page & text of navigation list item (if not set it will be empty) * * * @returns Value of property `title` */ getTitle(): string; /** * Checks for the provided `sap.gantt.simple.LegendColumnConfig` in the aggregation {@link #getColumnConfigs columnConfigs}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfColumnConfig( /** * The columnConfig whose index is looked for */ oColumnConfig: sap.gantt.simple.LegendColumnConfig ): int; /** * Checks for the provided `sap.gantt.simple.LegendRowConfig` in the aggregation {@link #getRowConfigs rowConfigs}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfRowConfig( /** * The rowConfig whose index is looked for */ oRowConfig: sap.gantt.simple.LegendRowConfig ): int; /** * Inserts a columnConfig into the aggregation {@link #getColumnConfigs columnConfigs}. * * * @returns Reference to `this` in order to allow method chaining */ insertColumnConfig( /** * The columnConfig to insert; if empty, nothing is inserted */ oColumnConfig: sap.gantt.simple.LegendColumnConfig, /** * The `0`-based index the columnConfig should be inserted at; for a negative value of `iIndex`, the columnConfig * is inserted at position 0; for a value greater than the current size of the aggregation, the columnConfig * is inserted at the last position */ iIndex: int ): this; /** * Inserts a rowConfig into the aggregation {@link #getRowConfigs rowConfigs}. * * * @returns Reference to `this` in order to allow method chaining */ insertRowConfig( /** * The rowConfig to insert; if empty, nothing is inserted */ oRowConfig: sap.gantt.simple.LegendRowConfig, /** * The `0`-based index the rowConfig should be inserted at; for a negative value of `iIndex`, the rowConfig * is inserted at position 0; for a value greater than the current size of the aggregation, the rowConfig * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getColumnConfigs columnConfigs}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllColumnConfigs(): sap.gantt.simple.LegendColumnConfig[]; /** * Removes all the controls from the aggregation {@link #getRowConfigs rowConfigs}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllRowConfigs(): sap.gantt.simple.LegendRowConfig[]; /** * Removes a columnConfig from the aggregation {@link #getColumnConfigs columnConfigs}. * * * @returns The removed columnConfig or `null` */ removeColumnConfig( /** * The columnConfig to remove or its index or id */ vColumnConfig: int | string | sap.gantt.simple.LegendColumnConfig ): sap.gantt.simple.LegendColumnConfig | null; /** * Removes a rowConfig from the aggregation {@link #getRowConfigs rowConfigs}. * * * @returns The removed rowConfig or `null` */ removeRowConfig( /** * The rowConfig to remove or its index or id */ vRowConfig: int | string | sap.gantt.simple.LegendRowConfig ): sap.gantt.simple.LegendRowConfig | null; /** * Sets a new value for property {@link #getTitle title}. * * Title of Legend Page & text of navigation list item (if not set it will be empty) * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; } /** * Contains a single key/value pair of custom data attached to Gantt Chart with Table. * * @since 1.90 */ class GanttAdaptationData { /** * Constructor for a new `CustomData` element of Gantt Chart with Table */ constructor( /** * ID for the new control, unique ID should be provided by the application */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); } /** * A container that holds one or more `sap.gantt.simple.GanttChartWithTable` instances. */ class GanttChartContainer extends sap.ui.core.Control { /** * Creates and initializes a new Gantt chart container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$GanttChartContainerSettings ); /** * Creates and initializes a new Gantt chart container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$GanttChartContainerSettings ); /** * Creates a new subclass of class sap.gantt.simple.GanttChartContainer with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.GanttChartContainer. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some ganttChart to the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns Reference to `this` in order to allow method chaining */ addGanttChart( /** * The ganttChart to add; if empty, nothing is inserted */ oGanttChart: sap.gantt.simple.GanttChartWithTable ): this; /** * Adds some shapeStyle to the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ addShapeStyle( /** * The shapeStyle to add; if empty, nothing is inserted */ oShapeStyle: sap.gantt.simple.ShapeStyle ): this; /** * Attaches event handler `fnFunction` to the {@link #event:customGanttSearchResult customGanttSearchResult } * event of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is fired when the search results are being populated. * * This event enables the application to filter the search results that are shown on the toolbar and side * panel * * @since 1.106 * * @returns Reference to `this` in order to allow method chaining */ attachCustomGanttSearchResult( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$CustomGanttSearchResultEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:customGanttSearchResult customGanttSearchResult } * event of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is fired when the search results are being populated. * * This event enables the application to filter the search results that are shown on the toolbar and side * panel * * @since 1.106 * * @returns Reference to `this` in order to allow method chaining */ attachCustomGanttSearchResult( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$CustomGanttSearchResultEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:customSettingChange customSettingChange} event * of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * Event fired when the custom settings value is changed. * * The custom settings are application provided settings that can be configured in the settings dialog. * This event allows the application to handle these settings. Only check boxes are supported. * * * @returns Reference to `this` in order to allow method chaining */ attachCustomSettingChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$CustomSettingChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:customSettingChange customSettingChange} event * of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * Event fired when the custom settings value is changed. * * The custom settings are application provided settings that can be configured in the settings dialog. * This event allows the application to handle these settings. Only check boxes are supported. * * * @returns Reference to `this` in order to allow method chaining */ attachCustomSettingChange( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$CustomSettingChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttSearchSidePanelList ganttSearchSidePanelList } * event of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is fired when the list inside search side panel is being populated. * * This event enables the application to modify the list (i.e, change text, add icons, etc) which is shown * on the search side panel. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachGanttSearchSidePanelList( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$GanttSearchSidePanelListEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttSearchSidePanelList ganttSearchSidePanelList } * event of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is fired when the list inside search side panel is being populated. * * This event enables the application to modify the list (i.e, change text, add icons, etc) which is shown * on the search side panel. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachGanttSearchSidePanelList( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$GanttSearchSidePanelListEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:searchSelectionChanged searchSelectionChanged } * event of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is fired when the search result selection changes. * * This event enables the application to react when a change occurs in the selected search item. * * @since 1.121 * * @returns Reference to `this` in order to allow method chaining */ attachSearchSelectionChanged( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$SearchSelectionChangedEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:searchSelectionChanged searchSelectionChanged } * event of this `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is fired when the search result selection changes. * * This event enables the application to react when a change occurs in the selected search item. * * @since 1.121 * * @returns Reference to `this` in order to allow method chaining */ attachSearchSelectionChanged( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$SearchSelectionChangedEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:variantApplied variantApplied} event of this * `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is triggered when a variant is applied. Note that all changes are saved before the variant * is applied. * * This event enables the application to update binding parameters of tables, and also updates the charts, * if required, after applying the changes. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachVariantApplied( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:variantApplied variantApplied} event of this * `sap.gantt.simple.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartContainer` itself. * * The event is triggered when a variant is applied. Note that all changes are saved before the variant * is applied. * * This event enables the application to update binding parameters of tables, and also updates the charts, * if required, after applying the changes. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ attachVariantApplied( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartContainer` * itself */ oListener?: object ): this; /** * Destroys all the ganttCharts in the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns Reference to `this` in order to allow method chaining */ destroyGanttCharts(): this; /** * Destroys the searchSidePanel in the aggregation {@link #getSearchSidePanel searchSidePanel}. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ destroySearchSidePanel(): this; /** * Destroys the searchSidePanelList in the aggregation {@link #getSearchSidePanelList searchSidePanelList}. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ destroySearchSidePanelList(): this; /** * Destroys all the shapeStyles in the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ destroyShapeStyles(): this; /** * Destroys the sidePanel in the aggregation {@link #getSidePanel sidePanel}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ destroySidePanel(): this; /** * Destroys the statusBar in the aggregation {@link #getStatusBar statusBar}. * * * @returns Reference to `this` in order to allow method chaining */ destroyStatusBar(): this; /** * Destroys the svgDefs in the aggregation {@link #getSvgDefs svgDefs}. * * * @returns Reference to `this` in order to allow method chaining */ destroySvgDefs(): this; /** * Destroys the toolbar in the aggregation {@link #getToolbar toolbar}. * * * @returns Reference to `this` in order to allow method chaining */ destroyToolbar(): this; /** * Destroys the variantHandler in the aggregation {@link #getVariantHandler variantHandler}. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ destroyVariantHandler(): this; /** * Detaches event handler `fnFunction` from the {@link #event:customGanttSearchResult customGanttSearchResult } * event of this `sap.gantt.simple.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.106 * * @returns Reference to `this` in order to allow method chaining */ detachCustomGanttSearchResult( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartContainer$CustomGanttSearchResultEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:customSettingChange customSettingChange} event * of this `sap.gantt.simple.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachCustomSettingChange( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartContainer$CustomSettingChangeEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:ganttSearchSidePanelList ganttSearchSidePanelList } * event of this `sap.gantt.simple.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ detachGanttSearchSidePanelList( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartContainer$GanttSearchSidePanelListEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:searchSelectionChanged searchSelectionChanged } * event of this `sap.gantt.simple.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.121 * * @returns Reference to `this` in order to allow method chaining */ detachSearchSelectionChanged( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartContainer$SearchSelectionChangedEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:variantApplied variantApplied} event of this * `sap.gantt.simple.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ detachVariantApplied( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:customGanttSearchResult customGanttSearchResult} to attached listeners. * * @since 1.106 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireCustomGanttSearchResult( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartContainer$CustomGanttSearchResultEventParameters ): this; /** * Fires event {@link #event:customSettingChange customSettingChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireCustomSettingChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartContainer$CustomSettingChangeEventParameters ): this; /** * Fires event {@link #event:ganttSearchSidePanelList ganttSearchSidePanelList} to attached listeners. * * @since 1.102 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireGanttSearchSidePanelList( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartContainer$GanttSearchSidePanelListEventParameters ): this; /** * Fires event {@link #event:searchSelectionChanged searchSelectionChanged} to attached listeners. * * @since 1.121 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireSearchSelectionChanged( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartContainer$SearchSelectionChangedEventParameters ): this; /** * Fires event {@link #event:variantApplied variantApplied} to attached listeners. * * @since 1.88 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireVariantApplied( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Gets current value of property {@link #getCustomSearchResults customSearchResults}. * * Array of search results displayed on the toolbar and side panel * * Default value is `[]`. * * @since 1.106 * * @returns Value of property `customSearchResults` */ getCustomSearchResults(): any[]; /** * Gets current value of property {@link #getDisplayType displayType}. * * Defines how the Gantt chart is displayed. * - If set to `Both`, both the table and the chart are displayed. * - If set to `Chart`, only the chart is displayed. * - If set to `Table`, only the table is displayed. This property overrides the `displayType` properties * of individual Gantt charts included in the `ganttCharts` aggregation. * * Default value is `Both`. * * * @returns Value of property `displayType` */ getDisplayType(): sap.gantt.simple.GanttChartWithTableDisplayType; /** * Gets current value of property {@link #getEnableAdhocLine enableAdhocLine}. * * Flag to enable and disable adhoc lines representing milestones and events along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableAdhocLine` */ getEnableAdhocLine(): boolean; /** * Gets current value of property {@link #getEnableAutoFocusOnZoom enableAutoFocusOnZoom}. * * This property enables auto focus while zooming in on a selected shape. * * Default value is `false`. * * @since 1.126 * * @returns Value of property `enableAutoFocusOnZoom` */ getEnableAutoFocusOnZoom(): boolean; /** * Gets current value of property {@link #getEnableAutoSelectOnFind enableAutoSelectOnFind}. * * This property enables the auto selection of a shape upon search and find. * * Default value is `true`. * * @since 1.111 * * @returns Value of property `enableAutoSelectOnFind` */ getEnableAutoSelectOnFind(): boolean; /** * Gets current value of property {@link #getEnableCursorLine enableCursorLine}. * * Flag to enable and disable the cursor line that follows the cursor. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableCursorLine` */ getEnableCursorLine(): boolean; /** * Gets current value of property {@link #getEnableDeltaLine enableDeltaLine}. * * Flag to enable and disable delta lines * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * @since 1.84 * * @returns Value of property `enableDeltaLine` */ getEnableDeltaLine(): boolean; /** * Gets current value of property {@link #getEnableNonWorkingTime enableNonWorkingTime}. * * Flag to enable and disable non-working time * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * @since 1.86 * * @returns Value of property `enableNonWorkingTime` */ getEnableNonWorkingTime(): boolean; /** * Gets current value of property {@link #getEnableNowLine enableNowLine}. * * Flag to enable and disable the present time indicator. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableNowLine` */ getEnableNowLine(): boolean; /** * Gets current value of property {@link #getEnableStatusBar enableStatusBar}. * * Flag to enable and disable status bar. * * Default value is `false`. * * @since 1.88 * * @returns Value of property `enableStatusBar` */ getEnableStatusBar(): boolean; /** * Gets current value of property {@link #getEnableTimeScrollSync enableTimeScrollSync}. * * Flag to enable and disable scroll synchronization by time on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableTimeScrollSync` */ getEnableTimeScrollSync(): boolean; /** * Gets current value of property {@link #getEnableVariantManagement enableVariantManagement}. * * Property to enable variant management * * Default value is `false`. * * @since 1.95 * * @returns Value of property `enableVariantManagement` */ getEnableVariantManagement(): boolean; /** * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}. * * Flag to enable and disable vertical lines representing intervals along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableVerticalLine` */ getEnableVerticalLine(): boolean; /** * Gets content of aggregation {@link #getGanttCharts ganttCharts}. * * Gantt Chart of the container */ getGanttCharts(): sap.gantt.simple.GanttChartWithTable[]; /** * Gets current value of property {@link #getHeight height}. * * height of the container. * * Note that when a percentage is given, for the height to work as expected, the height of the surrounding * container must be defined. * * Default value is `'100%'`. * * * @returns Value of property `height` */ getHeight(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getHideSettingsItem hideSettingsItem}. * * Defines the list of items to be hidden in Settings. * * Default value is `[]`. * * @since 1.88 * * @returns Value of property `hideSettingsItem` */ getHideSettingsItem(): string[]; /** * Gets current value of property {@link #getLayoutOrientation layoutOrientation}. * * The GanttChartContainer use Splitter to manager the layout, it can have horizontal or vertical orientation. * **Note:** the property only take effect if GanttChartContainer has more than 1 ganttChart instances * * Default value is `Vertical`. * * * @returns Value of property `layoutOrientation` */ getLayoutOrientation(): sap.ui.core.Orientation; /** * Gets content of aggregation {@link #getSearchSidePanel searchSidePanel}. * * Side panel to display search results of Find and Select operation in the chart area * * @since 1.100 */ getSearchSidePanel(): /* was: sap.gantt.simple.GanttSearchSidePanel */ any; /** * Gets content of aggregation {@link #getSearchSidePanelList searchSidePanelList}. * * List of search results displayed on the side panel of Find and Select operation * * @since 1.102 */ getSearchSidePanelList(): sap.tnt.NavigationList; /** * Gets content of aggregation {@link #getShapeStyles shapeStyles}. * * Configuration for the Gantt chart styles. This aggregation will be ignored if ganntStyleConfigs aggregation * is set for ganttChartWithTable. * * @since 1.130 */ getShapeStyles(): sap.gantt.simple.ShapeStyle[]; /** * Gets content of aggregation {@link #getSidePanel sidePanel}. * * Side panel to place custom control within the Gantt Chart Container. * * @since 1.126 */ getSidePanel(): sap.gantt.layouts.SidePanel; /** * Gets content of aggregation {@link #getStatusBar statusBar}. * * Status bar of the container */ getStatusBar(): sap.m.FlexBox; /** * Gets current value of property {@link #getStatusBarDatePattern statusBarDatePattern}. * * Determines the date pattern set on the status bar. * * Default value is `'EEEE, MMMM d, yyyy'`. * * @since 1.88 * * @returns Value of property `statusBarDatePattern` */ getStatusBarDatePattern(): string; /** * Gets current value of property {@link #getStatusBarTimePattern statusBarTimePattern}. * * Determines the time pattern set on the status bar. * * Default value is `'hh:mm:ss a'`. * * @since 1.88 * * @returns Value of property `statusBarTimePattern` */ getStatusBarTimePattern(): string; /** * Gets current value of property {@link #getStatusMessage statusMessage}. * * Defines the message texts set on the status bar. * * Default value is `empty string`. * * @since 1.88 * * @returns Value of property `statusMessage` */ getStatusMessage(): string; /** * Gets content of aggregation {@link #getSvgDefs svgDefs}. * * Definitions of paint servers used for advanced shape features around SVG fill, stroke, and filter attributes. * The generated SVG will be reused in all gantt chart instances */ getSvgDefs(): sap.gantt.def.SvgDefs; /** * Gets content of aggregation {@link #getToolbar toolbar}. * * Toolbar of the container. */ getToolbar(): sap.gantt.simple.ContainerToolbar; /** * Gets content of aggregation {@link #getVariantHandler variantHandler}. * * Custom variant handler of the container * * @since 1.88 */ getVariantHandler(): sap.gantt.simple.CustomVariantHandler; /** * Gets current value of property {@link #getWidth width}. * * width of the container. * * Note that when a percentage is given, for the width to work as expected, the width of the surrounding * container must be defined. * * Default value is `'100%'`. * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Checks for the provided `sap.gantt.simple.GanttChartWithTable` in the aggregation {@link #getGanttCharts ganttCharts}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfGanttChart( /** * The ganttChart whose index is looked for */ oGanttChart: sap.gantt.simple.GanttChartWithTable ): int; /** * Checks for the provided `sap.gantt.simple.ShapeStyle` in the aggregation {@link #getShapeStyles shapeStyles}. * and returns its index if found or -1 otherwise. * * @since 1.130 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShapeStyle( /** * The shapeStyle whose index is looked for */ oShapeStyle: sap.gantt.simple.ShapeStyle ): int; /** * Inserts a ganttChart into the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns Reference to `this` in order to allow method chaining */ insertGanttChart( /** * The ganttChart to insert; if empty, nothing is inserted */ oGanttChart: sap.gantt.simple.GanttChartWithTable, /** * The `0`-based index the ganttChart should be inserted at; for a negative value of `iIndex`, the ganttChart * is inserted at position 0; for a value greater than the current size of the aggregation, the ganttChart * is inserted at the last position */ iIndex: int ): this; /** * Inserts a shapeStyle into the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ insertShapeStyle( /** * The shapeStyle to insert; if empty, nothing is inserted */ oShapeStyle: sap.gantt.simple.ShapeStyle, /** * The `0`-based index the shapeStyle should be inserted at; for a negative value of `iIndex`, the shapeStyle * is inserted at position 0; for a value greater than the current size of the aggregation, the shapeStyle * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getGanttCharts ganttCharts}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllGanttCharts(): sap.gantt.simple.GanttChartWithTable[]; /** * Removes all the controls from the aggregation {@link #getShapeStyles shapeStyles}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.130 * * @returns An array of the removed elements (might be empty) */ removeAllShapeStyles(): sap.gantt.simple.ShapeStyle[]; /** * Removes a ganttChart from the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns The removed ganttChart or `null` */ removeGanttChart( /** * The ganttChart to remove or its index or id */ vGanttChart: int | string | sap.gantt.simple.GanttChartWithTable ): sap.gantt.simple.GanttChartWithTable | null; /** * Removes a shapeStyle from the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns The removed shapeStyle or `null` */ removeShapeStyle( /** * The shapeStyle to remove or its index or id */ vShapeStyle: int | string | sap.gantt.simple.ShapeStyle ): sap.gantt.simple.ShapeStyle | null; /** * Sets a new value for property {@link #getCustomSearchResults customSearchResults}. * * Array of search results displayed on the toolbar and side panel * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * @since 1.106 * * @returns Reference to `this` in order to allow method chaining */ setCustomSearchResults( /** * New value for property `customSearchResults` */ sCustomSearchResults?: any[] ): this; /** * Sets a new value for property {@link #getDisplayType displayType}. * * Defines how the Gantt chart is displayed. * - If set to `Both`, both the table and the chart are displayed. * - If set to `Chart`, only the chart is displayed. * - If set to `Table`, only the table is displayed. This property overrides the `displayType` properties * of individual Gantt charts included in the `ganttCharts` aggregation. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Both`. * * * @returns Reference to `this` in order to allow method chaining */ setDisplayType( /** * New value for property `displayType` */ sDisplayType?: sap.gantt.simple.GanttChartWithTableDisplayType ): this; /** * Sets a new value for property {@link #getEnableAdhocLine enableAdhocLine}. * * Flag to enable and disable adhoc lines representing milestones and events along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableAdhocLine( /** * New value for property `enableAdhocLine` */ bEnableAdhocLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableAutoFocusOnZoom enableAutoFocusOnZoom}. * * This property enables auto focus while zooming in on a selected shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ setEnableAutoFocusOnZoom( /** * New value for property `enableAutoFocusOnZoom` */ bEnableAutoFocusOnZoom?: boolean ): this; /** * Sets a new value for property {@link #getEnableAutoSelectOnFind enableAutoSelectOnFind}. * * This property enables the auto selection of a shape upon search and find. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.111 * * @returns Reference to `this` in order to allow method chaining */ setEnableAutoSelectOnFind( /** * New value for property `enableAutoSelectOnFind` */ bEnableAutoSelectOnFind?: boolean ): this; /** * Sets a new value for property {@link #getEnableCursorLine enableCursorLine}. * * Flag to enable and disable the cursor line that follows the cursor. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableCursorLine( /** * New value for property `enableCursorLine` */ bEnableCursorLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableDeltaLine enableDeltaLine}. * * Flag to enable and disable delta lines * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setEnableDeltaLine( /** * New value for property `enableDeltaLine` */ bEnableDeltaLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableNonWorkingTime enableNonWorkingTime}. * * Flag to enable and disable non-working time * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setEnableNonWorkingTime( /** * New value for property `enableNonWorkingTime` */ bEnableNonWorkingTime?: boolean ): this; /** * Sets a new value for property {@link #getEnableNowLine enableNowLine}. * * Flag to enable and disable the present time indicator. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableNowLine( /** * New value for property `enableNowLine` */ bEnableNowLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableStatusBar enableStatusBar}. * * Flag to enable and disable status bar. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setEnableStatusBar( /** * New value for property `enableStatusBar` */ bEnableStatusBar?: boolean ): this; /** * Sets a new value for property {@link #getEnableTimeScrollSync enableTimeScrollSync}. * * Flag to enable and disable scroll synchronization by time on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableTimeScrollSync( /** * New value for property `enableTimeScrollSync` */ bEnableTimeScrollSync?: boolean ): this; /** * Sets a new value for property {@link #getEnableVariantManagement enableVariantManagement}. * * Property to enable variant management * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.95 * * @returns Reference to `this` in order to allow method chaining */ setEnableVariantManagement( /** * New value for property `enableVariantManagement` */ bEnableVariantManagement?: boolean ): this; /** * Sets a new value for property {@link #getEnableVerticalLine enableVerticalLine}. * * Flag to enable and disable vertical lines representing intervals along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableVerticalLine( /** * New value for property `enableVerticalLine` */ bEnableVerticalLine?: boolean ): this; /** * Sets a new value for property {@link #getHeight height}. * * height of the container. * * Note that when a percentage is given, for the height to work as expected, the height of the surrounding * container must be defined. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `'100%'`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getHideSettingsItem hideSettingsItem}. * * Defines the list of items to be hidden in Settings. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setHideSettingsItem( /** * New value for property `hideSettingsItem` */ sHideSettingsItem?: string[] ): this; /** * Sets a new value for property {@link #getLayoutOrientation layoutOrientation}. * * The GanttChartContainer use Splitter to manager the layout, it can have horizontal or vertical orientation. * **Note:** the property only take effect if GanttChartContainer has more than 1 ganttChart instances * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Vertical`. * * * @returns Reference to `this` in order to allow method chaining */ setLayoutOrientation( /** * New value for property `layoutOrientation` */ sLayoutOrientation?: sap.ui.core.Orientation ): this; /** * Sets the aggregated {@link #getSearchSidePanel searchSidePanel}. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setSearchSidePanel( /** * The searchSidePanel to set */ oSearchSidePanel: /* was: sap.gantt.simple.GanttSearchSidePanel */ any ): this; /** * Sets the aggregated {@link #getSearchSidePanelList searchSidePanelList}. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ setSearchSidePanelList( /** * The searchSidePanelList to set */ oSearchSidePanelList: sap.tnt.NavigationList ): this; /** * Sets the aggregated {@link #getSidePanel sidePanel}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ setSidePanel( /** * The sidePanel to set */ oSidePanel: sap.gantt.layouts.SidePanel ): this; /** * Sets the aggregated {@link #getStatusBar statusBar}. * * * @returns Reference to `this` in order to allow method chaining */ setStatusBar( /** * The statusBar to set */ oStatusBar: sap.m.FlexBox ): this; /** * Sets a new value for property {@link #getStatusBarDatePattern statusBarDatePattern}. * * Determines the date pattern set on the status bar. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `'EEEE, MMMM d, yyyy'`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setStatusBarDatePattern( /** * New value for property `statusBarDatePattern` */ sStatusBarDatePattern?: string ): this; /** * Sets a new value for property {@link #getStatusBarTimePattern statusBarTimePattern}. * * Determines the time pattern set on the status bar. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `'hh:mm:ss a'`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setStatusBarTimePattern( /** * New value for property `statusBarTimePattern` */ sStatusBarTimePattern?: string ): this; /** * Sets a new value for property {@link #getStatusMessage statusMessage}. * * Defines the message texts set on the status bar. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `empty string`. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setStatusMessage( /** * New value for property `statusMessage` */ sStatusMessage?: string ): this; /** * Sets the aggregated {@link #getSvgDefs svgDefs}. * * * @returns Reference to `this` in order to allow method chaining */ setSvgDefs( /** * The svgDefs to set */ oSvgDefs: sap.gantt.def.SvgDefs ): this; /** * Sets the aggregated {@link #getToolbar toolbar}. * * * @returns Reference to `this` in order to allow method chaining */ setToolbar( /** * The toolbar to set */ oToolbar: sap.gantt.simple.ContainerToolbar ): this; /** * Sets the aggregated {@link #getVariantHandler variantHandler}. * * @since 1.88 * * @returns Reference to `this` in order to allow method chaining */ setVariantHandler( /** * The variantHandler to set */ oVariantHandler: sap.gantt.simple.CustomVariantHandler ): this; /** * Sets a new value for property {@link #getWidth width}. * * width of the container. * * Note that when a percentage is given, for the width to work as expected, the width of the surrounding * container must be defined. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `'100%'`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.ui.core.CSSSize ): this; /** * Displays the wrapper on top of GanttChartContainer * * @since 1.133 */ showWrapper( /** * When set to true, the wrapper for GanttChartContainer is displayed */ bShow: boolean ): void; /** * Triggers the search event in gantt container area and updates the search results * * @since 1.106 */ updateSearch( /** * when set to true search input and results will be cleared */ bClear: boolean ): void; } /** * The Gantt Chart control provides a comprehensive set of features to display hierarchical data and visualized * shapes together. It's designed to fully support OData binding, declaring hierarchical data and shapes * bindings in XML view. It's the recommended control for new applications. * * @since 1.60 */ class GanttChartWithTable extends sap.ui.core.Control { /** * Creates and initializes a new Gantt Chart * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.GanttChartWithTable with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.GanttChartWithTable. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * fireShapeHighlightChange event is fired if there is change in highlighted shape. * * @since 1.100 */ _onHighlightChanged( /** * fired on the highlighted shape by navigation */ oEvent: Event ): void; /** * Adds some adhocLine to the aggregation {@link #getAdhocLines adhocLines}. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns Reference to `this` in order to allow method chaining */ addAdhocLine( /** * The adhocLine to add; if empty, nothing is inserted */ oAdhocLine: sap.gantt.AdhocLine ): this; /** * Adds some deltaLine to the aggregation {@link #getDeltaLines deltaLines}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ addDeltaLine( /** * The deltaLine to add; if empty, nothing is inserted */ oDeltaLine: sap.gantt.simple.DeltaLine ): this; /** * Adds some ganttAdaptationData to the aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * * @since 1.90 * * @returns Reference to `this` in order to allow method chaining */ addGanttAdaptationData( /** * The ganttAdaptationData to add; if empty, nothing is inserted */ oGanttAdaptationData: sap.gantt.simple.GanttAdaptationData ): this; /** * Adds some overflowToolbarItem to the aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ addOverflowToolbarItem( /** * The overflowToolbarItem to add; if empty, nothing is inserted */ oOverflowToolbarItem: sap.ui.core.Control ): this; /** * Adds some shapeScheme to the aggregation {@link #getShapeSchemes shapeSchemes}. * * * @returns Reference to `this` in order to allow method chaining */ addShapeScheme( /** * The shapeScheme to add; if empty, nothing is inserted */ oShapeScheme: sap.gantt.simple.ShapeScheme ): this; /** * Adds some shapeStyle to the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ addShapeStyle( /** * The shapeStyle to add; if empty, nothing is inserted */ oShapeStyle: sap.gantt.simple.ShapeStyle ): this; /** * Adds some simpleAdhocLine to the aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ addSimpleAdhocLine( /** * The simpleAdhocLine to add; if empty, nothing is inserted */ oSimpleAdhocLine: sap.gantt.simple.AdhocLine ): this; /** * Attaches event handler `fnFunction` to the {@link #event:dragStart dragStart} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when a drag-and-drop begins * * * @returns Reference to `this` in order to allow method chaining */ attachDragStart( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$DragStartEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:dragStart dragStart} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when a drag-and-drop begins * * * @returns Reference to `this` in order to allow method chaining */ attachDragStart( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$DragStartEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:futureShapeConnect futureShapeConnect} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is triggered when a relationship is dropped onto an empty area. * * @since 1.147.0 * * @returns Reference to `this` in order to allow method chaining */ attachFutureShapeConnect( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:futureShapeConnect futureShapeConnect} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is triggered when a relationship is dropped onto an empty area. * * @since 1.147.0 * * @returns Reference to `this` in order to allow method chaining */ attachFutureShapeConnect( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:renderingComplete renderingComplete} event of * this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when Gantt chart is rendered completely. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ attachRenderingComplete( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:renderingComplete renderingComplete} event of * this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when Gantt chart is rendered completely. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ attachRenderingComplete( /** * The function to be called when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeConnect shapeConnect} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when one shape dragged and connected to another shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeConnect( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeConnectEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeConnect shapeConnect} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when one shape dragged and connected to another shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeConnect( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeConnectEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeConnectorList shapeConnectorList} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when you click the connector/relationship. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachShapeConnectorList( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeConnectorListEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeConnectorList shapeConnectorList} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when you click the connector/relationship. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ attachShapeConnectorList( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeConnectorListEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeContextMenu shapeContextMenu} event of * this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when you right-click the shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeContextMenu( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeContextMenuEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeContextMenu shapeContextMenu} event of * this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when you right-click the shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeContextMenu( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeContextMenuEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeDoubleClick shapeDoubleClick} event of * this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when a shape is double-clicked or double-tapped. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeDoubleClick( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeDoubleClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeDoubleClick shapeDoubleClick} event of * this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when a shape is double-clicked or double-tapped. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeDoubleClick( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeDoubleClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeDrop shapeDrop} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when a drag-and-drop occurs on one or more selected shapes. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeDrop( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeDropEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeDrop shapeDrop} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when a drag-and-drop occurs on one or more selected shapes. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeDrop( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeDropEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeHighlightChange shapeHighlightChange} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when the shape's highlight has been changed * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ attachShapeHighlightChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartWithTable$ShapeHighlightChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeHighlightChange shapeHighlightChange} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when the shape's highlight has been changed * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ attachShapeHighlightChange( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartWithTable$ShapeHighlightChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseEnter shapeMouseEnter} event of this * `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when a shape is hovered over. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeMouseEnterEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseEnter shapeMouseEnter} event of this * `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Event fired when a shape is hovered over. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeMouseEnterEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseLeave shapeMouseLeave} event of this * `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when the mouse pointer leaves the shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeMouseLeaveEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseLeave shapeMouseLeave} event of this * `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when the mouse pointer leaves the shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeMouseLeaveEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapePress shapePress} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when a shape is clicked or tapped. * * * @returns Reference to `this` in order to allow method chaining */ attachShapePress( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapePressEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapePress shapePress} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when a shape is clicked or tapped. * * * @returns Reference to `this` in order to allow method chaining */ attachShapePress( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapePressEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeResize shapeResize} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when a shape is resized. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeResize( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeResizeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeResize shapeResize} event of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when a shape is resized. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeResize( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeResizeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeSelectionChange shapeSelectionChange} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when the shape selection of the gantt chart has been changed. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeSelectionChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartWithTable$ShapeSelectionChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeSelectionChange shapeSelectionChange} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * Fired when the shape selection of the gantt chart has been changed. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeSelectionChange( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartWithTable$ShapeSelectionChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:visibleHorizonUpdate visibleHorizonUpdate} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when the visible horizon is changed. * * @since 1.68 * * @returns Reference to `this` in order to allow method chaining */ attachVisibleHorizonUpdate( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartWithTable$VisibleHorizonUpdateEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:visibleHorizonUpdate visibleHorizonUpdate} event * of this `sap.gantt.simple.GanttChartWithTable`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself. * * This event is fired when the visible horizon is changed. * * @since 1.68 * * @returns Reference to `this` in order to allow method chaining */ attachVisibleHorizonUpdate( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartWithTable$VisibleHorizonUpdateEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable` * itself */ oListener?: object ): this; /** * Binds aggregation {@link #getAdhocLines adhocLines} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns Reference to `this` in order to allow method chaining */ bindAdhocLines( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getAxisTimeStrategy axisTimeStrategy} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindAxisTimeStrategy( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getCalendarDef calendarDef} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindCalendarDef( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getDeltaLines deltaLines} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ bindDeltaLines( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getSimpleAdhocLines simpleAdhocLines} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ bindSimpleAdhocLines( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Collapse the selected row indices by the shape scheme key. This function takes effect only after the * control is fully rendered, otherwise it's doing nothing. */ collapse( /** * A single key or an array of scheme keys defined in `sap.gantt.simple.ShapeScheme` */ vSchemeKey: string | string[], /** * A single index or an array of indices of the rows to be collapsed */ vRowIndex: int | int[] ): void; /** * Deselects a group of shapes specified by the `aShapeUids` array. * * @since 1.75 * * @returns a reference to the {@link sap.gantt.simple.GanttChartWithTable} control, can be used for chaining. */ deselectShapes( /** * An array of shape UIDs to deselect. */ aShapeUids: string[] ): this; /** * Destroys all the adhocLines in the aggregation {@link #getAdhocLines adhocLines}. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns Reference to `this` in order to allow method chaining */ destroyAdhocLines(): this; /** * Destroys the axisTimeStrategy in the aggregation {@link #getAxisTimeStrategy axisTimeStrategy}. * * * @returns Reference to `this` in order to allow method chaining */ destroyAxisTimeStrategy(): this; /** * Destroys the calendarDef in the aggregation {@link #getCalendarDef calendarDef}. * * * @returns Reference to `this` in order to allow method chaining */ destroyCalendarDef(): this; /** * Destroys all the deltaLines in the aggregation {@link #getDeltaLines deltaLines}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ destroyDeltaLines(): this; /** * Destroys all the ganttAdaptationData in the aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * * @since 1.90 * * @returns Reference to `this` in order to allow method chaining */ destroyGanttAdaptationData(): this; /** * Destroys the locale in the aggregation {@link #getLocale locale}. * * * @returns Reference to `this` in order to allow method chaining */ destroyLocale(): this; /** * Destroys all the overflowToolbarItems in the aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ destroyOverflowToolbarItems(): this; /** * Destroys all the shapeSchemes in the aggregation {@link #getShapeSchemes shapeSchemes}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapeSchemes(): this; /** * Destroys all the shapeStyles in the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ destroyShapeStyles(): this; /** * Destroys all the simpleAdhocLines in the aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ destroySimpleAdhocLines(): this; /** * Destroys the svgDefs in the aggregation {@link #getSvgDefs svgDefs}. * * * @returns Reference to `this` in order to allow method chaining */ destroySvgDefs(): this; /** * Destroys the table in the aggregation {@link #getTable table}. * * * @returns Reference to `this` in order to allow method chaining */ destroyTable(): this; /** * Detaches event handler `fnFunction` from the {@link #event:dragStart dragStart} event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachDragStart( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$DragStartEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:futureShapeConnect futureShapeConnect} event * of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.147.0 * * @returns Reference to `this` in order to allow method chaining */ detachFutureShapeConnect( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:renderingComplete renderingComplete} event * of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ detachRenderingComplete( /** * The function to be called, when the event occurs */ fnFunction: (p1: sap.ui.base.Event) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeConnect shapeConnect} event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeConnect( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeConnectEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeConnectorList shapeConnectorList} event * of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ detachShapeConnectorList( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeConnectorListEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeContextMenu shapeContextMenu} event of * this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeContextMenu( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeContextMenuEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeDoubleClick shapeDoubleClick} event of * this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeDoubleClick( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeDoubleClickEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeDrop shapeDrop} event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeDrop( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeDropEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeHighlightChange shapeHighlightChange } * event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ detachShapeHighlightChange( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartWithTable$ShapeHighlightChangeEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeMouseEnter shapeMouseEnter} event of * this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeMouseEnterEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeMouseLeave shapeMouseLeave} event of * this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeMouseLeaveEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapePress shapePress} event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapePress( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapePressEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeResize shapeResize} event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeResize( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartWithTable$ShapeResizeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeSelectionChange shapeSelectionChange } * event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeSelectionChange( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartWithTable$ShapeSelectionChangeEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:visibleHorizonUpdate visibleHorizonUpdate } * event of this `sap.gantt.simple.GanttChartWithTable`. * * The passed function and listener object must match the ones used for event registration. * * @since 1.68 * * @returns Reference to `this` in order to allow method chaining */ detachVisibleHorizonUpdate( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartWithTable$VisibleHorizonUpdateEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * The Gantt Chart performs Bird Eye on all visible rows or on a specific row depending on the setting of * iRowIndex. */ doBirdEye( /** * zero-based index indicating which row to perform Bird Eye on. If you do not specify iRowIndex, the Gantt * chart performs Bird Eye on all visible rows. */ iRowIndex: int ): void; /** * expand one or more rows indices by the shape scheme key. This function takes effect only after the control * is fully rendered, otherwise it's doing nothing. */ expand( /** * A single key or an array of scheme keys defined in `sap.gantt.simple.ShapeScheme` */ vSchemeKey: string | string[], /** * A single index or an array of indices of the rows to be collapsed */ vRowIndex: int | int[] ): void; /** * look for all the objects which matches the search criteria. * * @since 1.89 * * @returns list of search results */ findAll( /** * value to search with */ propertyValue: string, /** * property names or name to search in (optional parameter) */ aPropertyNames: string[] | string ): Object[]; /** * deselect a group of shapes which matched the search value/property. deselects all the shapes matched * the find result irrespective of visible area. deselection based on ObjectId(shapeId) * * @since 1.89 */ findAndDeselect( /** * value to search for */ propertyValue: string, /** * property to search the value in. Optional parameter. */ propertyName: string, /** * flag to execute row selection. If set as true all matched shapes in the row can be deselected. */ rowSelection: boolean ): void; /** * Select a group of shapes which matched the search value/property. Selects all the shapes matched the * find result irrespective of visible area. selection based on ObjectId(shapeId) * * @since 1.89 */ findAndSelect( /** * value to search for */ propertyValue: string, /** * property to search the value in. Optional parameter */ propertyName: string, /** * flag to override existing selection by UID. */ overrideExisting: boolean, /** * flag to execute row selection. If set as true all matched shapes in the row can be selected. */ rowSelection: boolean ): void; /** * Fires event {@link #event:dragStart dragStart} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireDragStart( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$DragStartEventParameters ): this; /** * Fires event {@link #event:futureShapeConnect futureShapeConnect} to attached listeners. * * @since 1.147.0 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireFutureShapeConnect( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$FutureShapeConnectEventParameters ): this; /** * Fires event {@link #event:renderingComplete renderingComplete} to attached listeners. * * @since 1.100 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireRenderingComplete( /** * Parameters to pass along with the event */ mParameters?: object ): this; /** * Fires event {@link #event:shapeConnect shapeConnect} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeConnect( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeConnectEventParameters ): this; /** * Fires event {@link #event:shapeConnectorList shapeConnectorList} to attached listeners. * * @since 1.102 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeConnectorList( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeConnectorListEventParameters ): this; /** * Fires event {@link #event:shapeContextMenu shapeContextMenu} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeContextMenu( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeContextMenuEventParameters ): this; /** * Fires event {@link #event:shapeDoubleClick shapeDoubleClick} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeDoubleClick( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeDoubleClickEventParameters ): this; /** * Fires event {@link #event:shapeDrop shapeDrop} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeDrop( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeDropEventParameters ): this; /** * Fires event {@link #event:shapeHighlightChange shapeHighlightChange} to attached listeners. * * @since 1.100 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeHighlightChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeHighlightChangeEventParameters ): this; /** * Fires event {@link #event:shapeMouseEnter shapeMouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeMouseEnter( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeMouseEnterEventParameters ): this; /** * Fires event {@link #event:shapeMouseLeave shapeMouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeMouseLeave( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeMouseLeaveEventParameters ): this; /** * Fires event {@link #event:shapePress shapePress} to attached listeners. * * Listeners may prevent the default action of this event by calling the `preventDefault` method on the * event object. The return value of this method indicates whether the default action should be executed. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Whether or not to prevent the default action */ fireShapePress( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapePressEventParameters ): boolean; /** * Fires event {@link #event:shapeResize shapeResize} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeResize( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeResizeEventParameters ): this; /** * Fires event {@link #event:shapeSelectionChange shapeSelectionChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeSelectionChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$ShapeSelectionChangeEventParameters ): this; /** * Fires event {@link #event:visibleHorizonUpdate visibleHorizonUpdate} to attached listeners. * * @since 1.68 * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireVisibleHorizonUpdate( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.GanttChartWithTable$VisibleHorizonUpdateEventParameters ): this; /** * Determines whether gantt chart is in fullscreen mode. * * @since 1.97 * * @returns return true if gantt chart is in fullscreen mode. */ fullScreenMode(): boolean; /** * Gets current value of property {@link #getAdhocLineLayer adhocLineLayer}. * * Specifies on which layer adhoc lines reside. By default, adhoc lines are on top of all other shapes and * patterns. * * Default value is `library.AdhocLineLayer.Top`. * * * @returns Value of property `adhocLineLayer` */ getAdhocLineLayer(): string; /** * Gets content of aggregation {@link #getAdhocLines adhocLines}. * * The aggregation is used to store configuration of adhoc lines, adhoc lines represent milestones and events * in axis time. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. */ getAdhocLines(): sap.gantt.AdhocLine[]; /** * This is a shortcut method for GanttChart instance to get the AxisTime. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns the AxisTime instance */ getAxisTime(): sap.gantt.misc.AxisTime; /** * Gets content of aggregation {@link #getAxisTimeStrategy axisTimeStrategy}. * * This aggregation controls the zoom strategies and zoom rate in Gantt Chart. */ getAxisTimeStrategy(): sap.gantt.axistime.AxisTimeStrategyBase; /** * Gets content of aggregation {@link #getCalendarDef calendarDef}. * * Paint servers consumed by special shape `sap.gantt.shape.cal.Calendar`. * * This aggregation is designed to improve performance of calendar shapes. Rows usually share a similar * definition with calendar shapes. It is possible to define a Calendar paint server to draw only one rectangle * for each row. Notes for classes extended from `sap.gantt.def.cal.CalendarDef`: Different from property * `paintServerDefs`, paint servers defined here must implement method `getDefNode()` instead of method * `getDefString()`. */ getCalendarDef(): sap.gantt.def.cal.CalendarDefs; /** * Returns the gantt chart overflow toolbar instance. * * @since 1.92 */ getChartOverflowToolbar(): sap.m.OverflowToolbar; /** * Gets current value of property {@link #getDatePattern datePattern}. * * Specifies how the application's date is displayed in the gantt chart. For example: "dd.MM.yyyy" (31.01.2018) * * Default value is `library.config.DEFAULT_DATE_PATTERN`. * * @since 1.86 * * @returns Value of property `datePattern` */ getDatePattern(): string; /** * Gets current value of property {@link #getDeltaAreaHighlightColor deltaAreaHighlightColor}. * * Property to add custom color to the highlighted area between delta lines. This would default to Fiori * standard color * * Default value is `"sapUiListSelectionBackgroundColor"`. * * @since 1.86 * * @returns Value of property `deltaAreaHighlightColor` */ getDeltaAreaHighlightColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getDeltaLineLayer deltaLineLayer}. * * Specifies the layer on which Delta Lines reside. By default, Delta Lines are above all shapes and patterns. * * Default value is `library.DeltaLineLayer.Bottom`. * * @since 1.84 * * @returns Value of property `deltaLineLayer` */ getDeltaLineLayer(): string; /** * Gets content of aggregation {@link #getDeltaLines deltaLines}. * * The aggregation is used to store configuration of Delta Lines * * @since 1.84 */ getDeltaLines(): sap.gantt.simple.DeltaLine[]; /** * Gets current value of property {@link #getDisableShapeDoubleClickEvent disableShapeDoubleClickEvent}. * * Disables or enables the `shapeDoubleClick` event. If set to `true`, the `shapeDoubleClick` event is disabled. * * Default value is `false`. * * * @returns Value of property `disableShapeDoubleClickEvent` */ getDisableShapeDoubleClickEvent(): boolean; /** * Gets current value of property {@link #getDisplayType displayType}. * * Defines how the Gantt chart is displayed. * - If set to `Both`, both the table and the chart are displayed. * - If set to `Chart`, only the chart is displayed. * - If set to `Table`, only the table is displayed. When the parent element of the Gantt chart * is the {@link sap.gantt.simple.GanttChartContainer}, this property overrides the `displayType` property * of {@link sap.gantt.simple.GanttChartContainer}. * * Default value is `Both`. * * * @returns Value of property `displayType` */ getDisplayType(): sap.gantt.simple.GanttChartWithTableDisplayType; /** * Gets current value of property {@link #getDragOrientation dragOrientation}. * * Drag orientation of Gantt Chart. * * This property doesn't limit the mouse cursor position but the dragging ghost position when dragging it * around. This property has 3 values: * - Free: The dragging ghost moves along with your mouse cursor. * - Horizontal: The dragged ghost only moves horizontally, cross row dragging is restricted. You can * use this mode if you only need to change the times of the dragging shape * - Vertical: ***Notice*** Vertical works if only one shape is selected (regardless shapeSelectionMode), * it's showing forbidden cursor style on multiple shape selections when you are dragging. You can use this * vertical mode if you only want to change the assignment without changing shape times. * * Default value is `Free`. * * * @returns Value of property `dragOrientation` */ getDragOrientation(): sap.gantt.DragOrientation; /** * Gets current value of property {@link #getEnableAdhocLine enableAdhocLine}. * * Flag to show or hide adhoc lines representing milestones and events along the time axis * * Default value is `true`. * * * @returns Value of property `enableAdhocLine` */ getEnableAdhocLine(): boolean; /** * Gets current value of property {@link #getEnableChartDeltaAreaHighlight enableChartDeltaAreaHighlight}. * * Flag to show or hide Chart Delta Area highlighting * * Default value is `true`. * * @since 1.84 * * @returns Value of property `enableChartDeltaAreaHighlight` */ getEnableChartDeltaAreaHighlight(): boolean; /** * Gets current value of property {@link #getEnableChartHoverState enableChartHoverState}. * * Option to disable or enable the chart row's hover state. * * Default value is `true`. * * @since 1.93 * * @returns Value of property `enableChartHoverState` */ getEnableChartHoverState(): boolean; /** * Gets current value of property {@link #getEnableChartOverflowToolbar enableChartOverflowToolbar}. * * Option to show or hide the chart overflow toolbar. * * Default value is `false`. * * @since 1.92 * * @returns Value of property `enableChartOverflowToolbar` */ getEnableChartOverflowToolbar(): boolean; /** * Gets current value of property {@link #getEnableChartSelectionState enableChartSelectionState}. * * Option to disable or enable the chart row's selection state. * * Default value is `true`. * * @since 1.93 * * @returns Value of property `enableChartSelectionState` */ getEnableChartSelectionState(): boolean; /** * Gets current value of property {@link #getEnableCursorLine enableCursorLine}. * * Flag whether to show or hide the cursor line when moving your mouse cursor * * Default value is `true`. * * * @returns Value of property `enableCursorLine` */ getEnableCursorLine(): boolean; /** * Gets current value of property {@link #getEnableDeltaLine enableDeltaLine}. * * Flag to show or hide Delta Lines * * Default value is `true`. * * @since 1.84 * * @returns Value of property `enableDeltaLine` */ getEnableDeltaLine(): boolean; /** * Gets current value of property {@link #getEnableExpandedRowBackground enableExpandedRowBackground}. * * Property to enable the background color for expanded rows. By default, this would show the row background * * Default value is `true`. * * @since 1.84 * * @returns Value of property `enableExpandedRowBackground` */ getEnableExpandedRowBackground(): boolean; /** * Gets current value of property {@link #getEnableExpandedRowBorders enableExpandedRowBorders}. * * Property to enable borders for expanded rows. By default, only row borders are enabled. * * Default value is `true`. * * @since 1.84 * * @returns Value of property `enableExpandedRowBorders` */ getEnableExpandedRowBorders(): boolean; /** * Gets current value of property {@link #getEnableLassoInvert enableLassoInvert}. * * Enables inversion on shape selection while drawing lasso * * Default value is `false`. * * * @returns Value of property `enableLassoInvert` */ getEnableLassoInvert(): boolean; /** * Gets current value of property {@link #getEnableMultipleGhosts enableMultipleGhosts}. * * Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged. * * Default value is `true`. * * @since 1.127 * * @returns Value of property `enableMultipleGhosts` */ getEnableMultipleGhosts(): boolean; /** * Gets current value of property {@link #getEnableNonWorkingTime enableNonWorkingTime}. * * Flag to show or hide non-working time * * Default value is `true`. * * @since 1.86 * * @returns Value of property `enableNonWorkingTime` */ getEnableNonWorkingTime(): boolean; /** * Gets current value of property {@link #getEnableNowLine enableNowLine}. * * Flag whether to show or hide the present time indicator. * * Default value is `true`. * * * @returns Value of property `enableNowLine` */ getEnableNowLine(): boolean; /** * Gets current value of property {@link #getEnablePseudoShapes enablePseudoShapes}. * * Optimizes the rendering of overlapping shapes * * Default value is `false`. * * @since 1.110 * * @returns Value of property `enablePseudoShapes` */ getEnablePseudoShapes(): boolean; /** * Gets current value of property {@link #getEnableSelectAndDrag enableSelectAndDrag}. * * Allows to drag, drop, and resize a shape on explicitly selecting the shape. * * Default value is `true`. * * @since 1.85 * * @returns Value of property `enableSelectAndDrag` */ getEnableSelectAndDrag(): boolean; /** * Gets current value of property {@link #getEnableShapeDropFromOtherCharts enableShapeDropFromOtherCharts}. * * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop * event is not triggered when a shape is dropped from another chart. * * Default value is `true`. * * @since 1.147 * * @returns Value of property `enableShapeDropFromOtherCharts` */ getEnableShapeDropFromOtherCharts(): boolean; /** * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}. * * Flag to show or hide vertical lines representing intervals along the time axis * * Default value is `true`. * * * @returns Value of property `enableVerticalLine` */ getEnableVerticalLine(): boolean; /** * Gets current value of property {@link #getExpandedRowHeight expandedRowHeight}. * * Property to define the height of an expanded row in pixels. * * @since 1.85 * * @returns Value of property `expandedRowHeight` */ getExpandedRowHeight(): int; /** * Gets current value of property {@link #getFindBy findBy}. * * Defines the property names for which findAll method should search in different entities * * Default value is `[]`. * * @since 1.100 * * @returns Value of property `findBy` */ getFindBy(): string[]; /** * Gets current value of property {@link #getFindByOperator findByOperator}. * * Defines relationship between the operator and the property names using the findAll method * * Default value is `library.simple.findByOperator.OR`. * * @since 1.100 * * @returns Value of property `findByOperator` */ getFindByOperator(): string; /** * Gets content of aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * * Specifies a data structure with arbitrary key value pairs to support customization of Gantt charts with * tables. * * @since 1.90 */ getGanttAdaptationData(): sap.gantt.simple.GanttAdaptationData[]; /** * Gets current value of property {@link #getGhostAlignment ghostAlignment}. * * The dragging ghost alignment of Gantt Chart. This property define the visual effect of ghost position * on dragging, it also effect the parameter value in event `shapeDragEnd` * * Default value is `library.dragdrop.GhostAlignment.None`. * * * @returns Value of property `ghostAlignment` */ getGhostAlignment(): string; /** * Gets current value of property {@link #getHeight height}. * * Height of the control. * * Default value is `"100%"`. * * * @returns Value of property `height` */ getHeight(): sap.ui.core.CSSSize; /** * Get the highlighted shape in gantt chart * * * @returns Array of shape object */ getHighlightedShapeUid(): Object[]; /** * Gets current value of property {@link #getHorizontalLazyLoadingEnabled horizontalLazyLoadingEnabled}. * * Set to true if Gantt chart is configured to be lazy loaded horizontally. Application should fetch the * data only for the visible horizon. Application also should make sure to fetch the relevant data on user * interactions like horizontal scroll, zoom out, bird eye which changes the visible horizon until the time * when all the data is fetched. This property has to be used with `setAllDataLoadedPromise()`. * * Default value is `false`. * * @since 1.109 * * @returns Value of property `horizontalLazyLoadingEnabled` */ getHorizontalLazyLoadingEnabled(): boolean; /** * Gets current value of property {@link #getIsConnectorDetailsVisible isConnectorDetailsVisible}. * * Defines whether shapeConnectorList is displayed upon the click of connector/relationship or not * * Default value is `false`. * * @since 1.102 * * @returns Value of property `isConnectorDetailsVisible` */ getIsConnectorDetailsVisible(): boolean; /** * Gets content of aggregation {@link #getLocale locale}. * * Configuration of locale settings. * * Most locale settings can be configured in sap.ui.core.Configuration objects. Only the time zone and day-light-saving * time options are provided by locale settings. We recommend that you set the type of this argument to * `sap.gantt.config.Locale`. Otherwise some properties you set may not function properly. */ getLocale(): sap.gantt.config.Locale; /** * Gets current value of property {@link #getNowLineInUTC nowLineInUTC}. * * Flag whether to show the `nowLine` in UTC or in FLP time. * * Default value is `true`. * * @since 1.68 * * @returns Value of property `nowLineInUTC` */ getNowLineInUTC(): boolean; /** * Gets current value of property {@link #getOptimiseRelationships optimiseRelationships}. * * Configuration that optimizes relationship rendering behaviour by avoiding the rendering of non-interactive * relationships. When the flag is enabled, a relationship instance is required in both the predecessor * and successor rows, where the shapeTypeStart, and shapeTypeEnd property of relationship are set to default. * * Default value is `false`. * * @since 1.133 * * @returns Value of property `optimiseRelationships` */ getOptimiseRelationships(): boolean; /** * Gets content of aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * * Items can be added in chart overflow toolbar using this aggregation. * * @since 1.102 */ getOverflowToolbarItems(): sap.ui.core.Control[]; /** * Gets current value of property {@link #getPrintingBatchSize printingBatchSize}. * * Defines the batch size, that is the number of rows, to be printed per iteration. If set to 0, batching * is disabled and the entire Gantt chart is printed. This could slow the performance and make the browser * non-responsive. Note: Relationship lines can be interrupted if the start and end points are in different * canvases. To minimize this effect, choose a bigger batch size, ensuring that the browser is responsive * during printing. * * Default value is `100`. * * @since 1.90 * * @returns Value of property `printingBatchSize` */ getPrintingBatchSize(): int; /** * Gets current value of property {@link #getRelationshipShapeSize relationshipShapeSize}. * * Specifies the size of the relationship's shape. Applicable to triangles, square, diamond, and circle * shapes; excluding horizontal rectangle and vertical rectangle shapes. * * Default value is `Medium`. * * @since 1.96 * * @returns Value of property `relationshipShapeSize` */ getRelationshipShapeSize(): sap.gantt.simple.relationshipShapeSize; /** * Gets current value of property {@link #getRowHighlightAndHoverFill rowHighlightAndHoverFill}. * * The rowHighlightAndHoverFill property defines the color that is filled for the highlighted and hovered * rows when a shape is being dragged The highlighted rows are the ones where the shape drop is allowed * * Default value is `"sapChart_Sequence_1_Plus1"`. * * @since 1.108 * * @returns Value of property `rowHighlightAndHoverFill` */ getRowHighlightAndHoverFill(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getRowHighlightFill rowHighlightFill}. * * The rowHighlightFill property defines the color that is filled for the highlighted rows when a shape * is being dragged The highlighted rows are the ones where the shape drop is allowed * * Default value is `"sapChart_Sequence_1_Plus3"`. * * @since 1.108 * * @returns Value of property `rowHighlightFill` */ getRowHighlightFill(): sap.gantt.ValueSVGPaintServer; /** * Get the shape IDs for selected shapes in the gantt chart. * * * @returns Array of shape IDs */ getSelectedShapeId(): Object[]; /** * Get selected shapes in gantt chart. * * * @returns Array of shape object */ getSelectedShapeUid(): Object[]; /** * Gets current value of property {@link #getSelectionPanelSize selectionPanelSize}. * * The width of selection panel. * * In `sap.gantt.simple.GanttChartWithTable`, the selectionPanelSize is the Table/TreeTable width in the * embedded Splitter. * * Default value is `"30%"`. * * * @returns Value of property `selectionPanelSize` */ getSelectionPanelSize(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getSelectOnlyGraphicalShape selectOnlyGraphicalShape}. * * Enables selection of only graphical shapes excluding labels. * * Default value is `false`. * * @since 1.93 * * @returns Value of property `selectOnlyGraphicalShape` */ getSelectOnlyGraphicalShape(): boolean; /** * Gets current value of property {@link #getShapeHighlightSettings shapeHighlightSettings}. * * A JSON object containing the shapeHighlightSettings that is used to configure shape highlight styles. * If nothing is specified, then the default highlight styles (2px dashed black border) is set. Below * you can find a brief example * ```javascript * * { * color: "@sapChart_Sequence_9_Plus2", * strokeWidth: 2, * strokeDasharray: "5,1" * shapeColor: null, * fillOpacity: 0 * } * ``` * * * @since 1.100 * * @returns Value of property `shapeHighlightSettings` */ getShapeHighlightSettings(): object; /** * Gets current value of property {@link #getShapeMouseEnterDelay shapeMouseEnterDelay}. * * Time in milliseconds where the mouse has to be on the same shape for the specified time before triggering * the `shapeMouseEnter` event * * Default value is `500`. * * @since 1.112 * * @returns Value of property `shapeMouseEnterDelay` */ getShapeMouseEnterDelay(): int; /** * Gets current value of property {@link #getShapeMouseLeaveDelay shapeMouseLeaveDelay}. * * Time in milliseconds where the mouse has moved out of the hovered shape for the specified time before * triggering the `shapeMouseLeave` event * * Default value is `500`. * * @since 1.112 * * @returns Value of property `shapeMouseLeaveDelay` */ getShapeMouseLeaveDelay(): int; /** * Gets current value of property {@link #getShapeOverRelationship shapeOverRelationship}. * * Specifies whether shape is rendered over relationship or relationship over shape when relationship leads * through shape. * * If enabled, shapes are rendered over relationships. If disabled, relationships are rendered over shapes. * * Default value is `true`. * * @since 1.76 * * @returns Value of property `shapeOverRelationship` */ getShapeOverRelationship(): boolean; /** * Gets current value of property {@link #getShapeRenderOrder shapeRenderOrder}. * * Comma-separated value of shape aggregations to decide the rendering order The aggregations first in the * array are rendered first. Aggregations not mentioned in the array will be rendered at the very first * Example: "shapes3,shapes2,shapes1" means shapes3 will be rendered at the bottom, and shapes1 will be * rendered at the top * * Default value is `[]`. * * @since 1.113 * * @returns Value of property `shapeRenderOrder` */ getShapeRenderOrder(): string[]; /** * Gets content of aggregation {@link #getShapeSchemes shapeSchemes}. * * Shape schemes of Gantt Chart. * * Defines all the possible shape schemes in the Gantt chart control. **Note:**If you don't use expand chart, * you can omit this aggregations. If not set, a default `sap.gantt.simple.ShapeScheme` is provided automatically. */ getShapeSchemes(): sap.gantt.simple.ShapeScheme[]; /** * Gets current value of property {@link #getShapeSelectionMode shapeSelectionMode}. * * Shape selection mode of the Gantt Chart. This property controls whether single or multiple shapes can * be selected. When the selection mode is changed, the current selection is removed. * * The shapeSelectionMode only works if `selectable` property on the defined Shape is set to true. * * Default value is `MultiWithKeyboard`. * * * @returns Value of property `shapeSelectionMode` */ getShapeSelectionMode(): sap.gantt.SelectionMode; /** * Gets current value of property {@link #getShapeSelectionSettings shapeSelectionSettings}. * * A JSON object containing the shapeSelectionSettings which will be used to configure shape selection styles. * If nothing is specified, then the default selection styles (2px dashed red border) is set. New properties * 'shapeColor' and 'fillOpacity' are introduced as of SAPUI5 1.85 release. Using these, you can configure * color and opacity of highlighted shapes in a gantt chart. Below you can find a brief example * ```javascript * * { * color: "@sapChart_Sequence_9_Plus2", * strokeWidth: 2, * strokeDasharray: "5,1" * shapeColor: null, * fillOpacity: 0 * } * ``` * * * * @returns Value of property `shapeSelectionSettings` */ getShapeSelectionSettings(): object; /** * Gets content of aggregation {@link #getShapeStyles shapeStyles}. * * Configuration for the Gantt chart styles. This Aggregation will override shapeStyles aggregation of ganttChartContainer. * * @since 1.130 */ getShapeStyles(): sap.gantt.simple.ShapeStyle[]; /** * Returns a list of shape UIDs containing a given set of properties. * * @since 1.89 * * @returns Returns a list of shape UIDs containing a given set of properties. */ getShapeUids( /** * A key-value pair of a shape property, for example, title: {string} or shapeId: {string}. */ oFilter: object ): any[]; /** * Gets current value of property {@link #getShowExportTableToExcel showExportTableToExcel}. * * Flag to show or hide the Export Button for a Table. **Note:**CustomData - Mandatory field for Export * table to Excel functionality. It contains properties that can be configured based on the column configuration, * where the key name is restricted to exportTableColumnConfig. The custom data is created for aggregation * of columns in a table. Export to excel feature is supported for both OData and JSON models, with a restriction * that the tree structure converts to a flat array for a JSON model. The fields supported in the custom * data are: * - leadingProperty - DataSource field for a column. This is a mandatory field. * - columnKey - Identifier for individual columns. * - dataType - Data type for the given column element. The supported data types are dateTime, stringDate, * date, time, boolean, string and numeric. * - isCurrency - Boolean value to determine if the column type contains Currency. * - unit - Text to display as the unit of measurement of a numeric value. * - unitProperty - Name of the DataSource field that contains the unit/currency texts. * - scale - Number of digits after the decimal point of numeric values. * - precision - Precision for numeric values. * - displayFormat - Date format to be displayed. The default for dateTime is DD-MM-YY HH:MM, and the * default for date is DD-MM-YY. * - hierarchyNodeLevel - DataSource field which contains the hierarchy level. This is currently supported * only for OData models. * - wrap - Boolean value to determine whether the contents of the table should be wrapped. Example: * * ```javascript * * * * * * * * * * * ``` * * * Default value is `false`. * * * @returns Value of property `showExportTableToExcel` */ getShowExportTableToExcel(): boolean; /** * Gets current value of property {@link #getShowGanttHeader showGanttHeader}. * * Option to show or hide the header of the Gantt chart * * Default value is `true`. * * @since 1.90 * * @returns Value of property `showGanttHeader` */ getShowGanttHeader(): boolean; /** * Gets current value of property {@link #getShowParentRowOnExpand showParentRowOnExpand}. * * Option to show or hide the parent row on expand. This is applicable only for multi-activity row settings. * * Default value is `true`. * * @since 1.86 * * @returns Value of property `showParentRowOnExpand` */ getShowParentRowOnExpand(): boolean; /** * Gets current value of property {@link #getShowShapeTimeOnDrag showShapeTimeOnDrag}. * * Flag to show or hide the start time and end time of a shape when you drag it along the time line. The * property takes effect if only one shape is selected or `enableMultipleGhosts` is set to false. * * Default value is `false`. * * * @returns Value of property `showShapeTimeOnDrag` */ getShowShapeTimeOnDrag(): boolean; /** * Gets current value of property {@link #getShowTextOnGhost showTextOnGhost}. * * Option to show or hide shape labels on ghost while dragging. The property takes effect only when `enableMultipleGhosts` * is set to true. * * Default value is `true`. * * @since 1.94 * * @returns Value of property `showTextOnGhost` */ getShowTextOnGhost(): boolean; /** * Gets content of aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * * The aggregation is used to store configuration of adhoc lines, adhoc lines represent milestones and events * in axis time. * * @since 1.84 */ getSimpleAdhocLines(): sap.gantt.simple.AdhocLine[]; /** * Gets current value of property {@link #getSnapMode snapMode}. * * Enables snapping of shapes to attach to the nearest visual element while dragging. * * Default value is `None`. * * @since 1.91 * * @returns Value of property `snapMode` */ getSnapMode(): sap.gantt.dragdrop.SnapMode; /** * Gets current value of property {@link #getSnapTimeInterval snapTimeInterval}. * * Defines the least time taken in seconds for a shape to snap while in a particular zoom level. eg. { "4hour":{timeInterval:1800}, * ---> 30mins Snap "1hour":{timeInterval:900} ---> 15mins Snap } * * Default value is `{}`. * * @since 1.91 * * @returns Value of property `snapTimeInterval` */ getSnapTimeInterval(): object; /** * Gets content of aggregation {@link #getSvgDefs svgDefs}. * * SVG reusable element definitions. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. We recommend that * you set the type of this argument to `sap.gantt.def.SvgDefs`. Otherwise some properties you set may not * function properly. */ getSvgDefs(): sap.gantt.def.SvgDefs; /** * Gets content of aggregation {@link #getTable table}. * * Table of the Gantt Chart * * You can use {sap.ui.table.Table} if you have a flat list data or {sap.ui.table.TreeTable} if you have * hierarchical data. */ getTable(): sap.ui.table.Table; /** * Gets current value of property {@link #getTimePattern timePattern}. * * Specifies how the application's time is displayed in the gantt chart. For example: "hh:mm a" (12:05 PM) * * Default value is `library.config.DEFAULT_TIME_PATTERN`. * * @since 1.86 * * @returns Value of property `timePattern` */ getTimePattern(): string; /** * Gets current value of property {@link #getUseParentShapeOnExpand useParentShapeOnExpand}. * * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required. * PseudoShape creation depends only on the tasks, and subtasks are not considered. * * Default value is `false`. * * @since 1.98 * * @returns Value of property `useParentShapeOnExpand` */ getUseParentShapeOnExpand(): boolean; /** * Gets current value of property {@link #getUseShapeFillForGhost useShapeFillForGhost}. * * Flag to use the shape fill for the ghost shape when dragging. When the flag is enabled, the ghost shape * has the same fill color as the original shape. The property takes effect only when `shapeStyles` does * not have a fill explicitly set. * * Default value is `false`. * * @since 1.146 * * @returns Value of property `useShapeFillForGhost` */ getUseShapeFillForGhost(): boolean; /** * Gets current value of property {@link #getWidth width}. * * Width of the control. * * Default value is `"100%"`. * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Checks for the provided `sap.gantt.AdhocLine` in the aggregation {@link #getAdhocLines adhocLines}. and * returns its index if found or -1 otherwise. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfAdhocLine( /** * The adhocLine whose index is looked for */ oAdhocLine: sap.gantt.AdhocLine ): int; /** * Checks for the provided `sap.gantt.simple.DeltaLine` in the aggregation {@link #getDeltaLines deltaLines}. * and returns its index if found or -1 otherwise. * * @since 1.84 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDeltaLine( /** * The deltaLine whose index is looked for */ oDeltaLine: sap.gantt.simple.DeltaLine ): int; /** * Checks for the provided `sap.gantt.simple.GanttAdaptationData` in the aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * and returns its index if found or -1 otherwise. * * @since 1.90 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfGanttAdaptationData( /** * The ganttAdaptationData whose index is looked for */ oGanttAdaptationData: sap.gantt.simple.GanttAdaptationData ): int; /** * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * and returns its index if found or -1 otherwise. * * @since 1.102 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfOverflowToolbarItem( /** * The overflowToolbarItem whose index is looked for */ oOverflowToolbarItem: sap.ui.core.Control ): int; /** * Checks for the provided `sap.gantt.simple.ShapeScheme` in the aggregation {@link #getShapeSchemes shapeSchemes}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShapeScheme( /** * The shapeScheme whose index is looked for */ oShapeScheme: sap.gantt.simple.ShapeScheme ): int; /** * Checks for the provided `sap.gantt.simple.ShapeStyle` in the aggregation {@link #getShapeStyles shapeStyles}. * and returns its index if found or -1 otherwise. * * @since 1.130 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShapeStyle( /** * The shapeStyle whose index is looked for */ oShapeStyle: sap.gantt.simple.ShapeStyle ): int; /** * Checks for the provided `sap.gantt.simple.AdhocLine` in the aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * and returns its index if found or -1 otherwise. * * @since 1.84 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfSimpleAdhocLine( /** * The simpleAdhocLine whose index is looked for */ oSimpleAdhocLine: sap.gantt.simple.AdhocLine ): int; /** * Inserts a adhocLine into the aggregation {@link #getAdhocLines adhocLines}. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns Reference to `this` in order to allow method chaining */ insertAdhocLine( /** * The adhocLine to insert; if empty, nothing is inserted */ oAdhocLine: sap.gantt.AdhocLine, /** * The `0`-based index the adhocLine should be inserted at; for a negative value of `iIndex`, the adhocLine * is inserted at position 0; for a value greater than the current size of the aggregation, the adhocLine * is inserted at the last position */ iIndex: int ): this; /** * Inserts a deltaLine into the aggregation {@link #getDeltaLines deltaLines}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ insertDeltaLine( /** * The deltaLine to insert; if empty, nothing is inserted */ oDeltaLine: sap.gantt.simple.DeltaLine, /** * The `0`-based index the deltaLine should be inserted at; for a negative value of `iIndex`, the deltaLine * is inserted at position 0; for a value greater than the current size of the aggregation, the deltaLine * is inserted at the last position */ iIndex: int ): this; /** * Inserts a ganttAdaptationData into the aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * * @since 1.90 * * @returns Reference to `this` in order to allow method chaining */ insertGanttAdaptationData( /** * The ganttAdaptationData to insert; if empty, nothing is inserted */ oGanttAdaptationData: sap.gantt.simple.GanttAdaptationData, /** * The `0`-based index the ganttAdaptationData should be inserted at; for a negative value of `iIndex`, * the ganttAdaptationData is inserted at position 0; for a value greater than the current size of the aggregation, * the ganttAdaptationData is inserted at the last position */ iIndex: int ): this; /** * Inserts a overflowToolbarItem into the aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ insertOverflowToolbarItem( /** * The overflowToolbarItem to insert; if empty, nothing is inserted */ oOverflowToolbarItem: sap.ui.core.Control, /** * The `0`-based index the overflowToolbarItem should be inserted at; for a negative value of `iIndex`, * the overflowToolbarItem is inserted at position 0; for a value greater than the current size of the aggregation, * the overflowToolbarItem is inserted at the last position */ iIndex: int ): this; /** * Inserts a shapeScheme into the aggregation {@link #getShapeSchemes shapeSchemes}. * * * @returns Reference to `this` in order to allow method chaining */ insertShapeScheme( /** * The shapeScheme to insert; if empty, nothing is inserted */ oShapeScheme: sap.gantt.simple.ShapeScheme, /** * The `0`-based index the shapeScheme should be inserted at; for a negative value of `iIndex`, the shapeScheme * is inserted at position 0; for a value greater than the current size of the aggregation, the shapeScheme * is inserted at the last position */ iIndex: int ): this; /** * Inserts a shapeStyle into the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ insertShapeStyle( /** * The shapeStyle to insert; if empty, nothing is inserted */ oShapeStyle: sap.gantt.simple.ShapeStyle, /** * The `0`-based index the shapeStyle should be inserted at; for a negative value of `iIndex`, the shapeStyle * is inserted at position 0; for a value greater than the current size of the aggregation, the shapeStyle * is inserted at the last position */ iIndex: int ): this; /** * Inserts a simpleAdhocLine into the aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ insertSimpleAdhocLine( /** * The simpleAdhocLine to insert; if empty, nothing is inserted */ oSimpleAdhocLine: sap.gantt.simple.AdhocLine, /** * The `0`-based index the simpleAdhocLine should be inserted at; for a negative value of `iIndex`, the * simpleAdhocLine is inserted at position 0; for a value greater than the current size of the aggregation, * the simpleAdhocLine is inserted at the last position */ iIndex: int ): this; /** * Jumps to a given position on the time axis by updating the visible horizon. * * Can be used to implement the function of 'Jump To First', 'Jump To Last' and 'Jump To Current'. * * @since 1.75 */ jumpToPosition( /** * A date object or a 14-digit timestamp string in this format: YYYYMMDDHHMMSS. An array can also be passed * where the two values determine the start time and end time of the visible horizon. */ vValue: Date | string | any[] ): void; /** * @since 1.139 */ multiColumnSort( /** * must be structured as the following { control: table control, oColumns: [], an array of sorted columns, * a column must have a new value oldValues: [], an array of old values for sorted columns } */ oEvent: object ): void; /** * Bind rows of the table aggregtion with given parameters Also, create the promise to wait for inner gantt * rendering * * @since 1.99 */ rebindTableRows( /** * Table Rebind parameters Example: * ```javascript * * * rebindTableRows({ * path: "pathToMyTableEntity", * filters: filters, //"filters" refer to the list all filters that need to be passed to filter my data * sorter: sorters, //"sorters" refer to the list all sorters that need to be passed to sort my data * parameters: params // "params" any additional parameters to be passed like select / expand / tree binding parameters * }) * * ``` */ mParameters: object ): void; /** * Removes a adhocLine from the aggregation {@link #getAdhocLines adhocLines}. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns The removed adhocLine or `null` */ removeAdhocLine( /** * The adhocLine to remove or its index or id */ vAdhocLine: int | string | sap.gantt.AdhocLine ): sap.gantt.AdhocLine | null; /** * Removes all the controls from the aggregation {@link #getAdhocLines adhocLines}. * * Additionally, it unregisters them from the hosting UIArea. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns An array of the removed elements (might be empty) */ removeAllAdhocLines(): sap.gantt.AdhocLine[]; /** * Removes all the controls from the aggregation {@link #getDeltaLines deltaLines}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.84 * * @returns An array of the removed elements (might be empty) */ removeAllDeltaLines(): sap.gantt.simple.DeltaLine[]; /** * Removes all the controls from the aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.90 * * @returns An array of the removed elements (might be empty) */ removeAllGanttAdaptationData(): sap.gantt.simple.GanttAdaptationData[]; /** * Removes all the controls from the aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.102 * * @returns An array of the removed elements (might be empty) */ removeAllOverflowToolbarItems(): sap.ui.core.Control[]; /** * Removes all the controls from the aggregation {@link #getShapeSchemes shapeSchemes}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapeSchemes(): sap.gantt.simple.ShapeScheme[]; /** * Removes all the controls from the aggregation {@link #getShapeStyles shapeStyles}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.130 * * @returns An array of the removed elements (might be empty) */ removeAllShapeStyles(): sap.gantt.simple.ShapeStyle[]; /** * Removes all the controls from the aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.84 * * @returns An array of the removed elements (might be empty) */ removeAllSimpleAdhocLines(): sap.gantt.simple.AdhocLine[]; /** * Removes a deltaLine from the aggregation {@link #getDeltaLines deltaLines}. * * @since 1.84 * * @returns The removed deltaLine or `null` */ removeDeltaLine( /** * The deltaLine to remove or its index or id */ vDeltaLine: int | string | sap.gantt.simple.DeltaLine ): sap.gantt.simple.DeltaLine | null; /** * Removes a ganttAdaptationData from the aggregation {@link #getGanttAdaptationData ganttAdaptationData}. * * @since 1.90 * * @returns The removed ganttAdaptationData or `null` */ removeGanttAdaptationData( /** * The ganttAdaptationData to remove or its index or id */ vGanttAdaptationData: | int | string | sap.gantt.simple.GanttAdaptationData ): sap.gantt.simple.GanttAdaptationData | null; /** * Removes a overflowToolbarItem from the aggregation {@link #getOverflowToolbarItems overflowToolbarItems}. * * @since 1.102 * * @returns The removed overflowToolbarItem or `null` */ removeOverflowToolbarItem( /** * The overflowToolbarItem to remove or its index or id */ vOverflowToolbarItem: int | string | sap.ui.core.Control ): sap.ui.core.Control | null; /** * Removes a shapeScheme from the aggregation {@link #getShapeSchemes shapeSchemes}. * * * @returns The removed shapeScheme or `null` */ removeShapeScheme( /** * The shapeScheme to remove or its index or id */ vShapeScheme: int | string | sap.gantt.simple.ShapeScheme ): sap.gantt.simple.ShapeScheme | null; /** * Removes a shapeStyle from the aggregation {@link #getShapeStyles shapeStyles}. * * @since 1.130 * * @returns The removed shapeStyle or `null` */ removeShapeStyle( /** * The shapeStyle to remove or its index or id */ vShapeStyle: int | string | sap.gantt.simple.ShapeStyle ): sap.gantt.simple.ShapeStyle | null; /** * Removes a simpleAdhocLine from the aggregation {@link #getSimpleAdhocLines simpleAdhocLines}. * * @since 1.84 * * @returns The removed simpleAdhocLine or `null` */ removeSimpleAdhocLine( /** * The simpleAdhocLine to remove or its index or id */ vSimpleAdhocLine: int | string | sap.gantt.simple.AdhocLine ): sap.gantt.simple.AdhocLine | null; /** * Selects a group of shapes specified by the `aShapeUids` array. Alternatively, this method deselects all * selected shapes when no shape UIDs are provided and the `bExclusive` parameter is `true`. * * @since 1.75 * * @returns a reference to the {@link sap.gantt.simple.GanttChartWithTable} control, can be used for chaining. */ selectShapes( /** * An array of shape UIDs to select. */ aShapeUids: string[], /** * Optional, whether or not to deselect all previously selected shapes. */ bExclusive: boolean ): this; /** * Sets a new value for property {@link #getAdhocLineLayer adhocLineLayer}. * * Specifies on which layer adhoc lines reside. By default, adhoc lines are on top of all other shapes and * patterns. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.AdhocLineLayer.Top`. * * * @returns Reference to `this` in order to allow method chaining */ setAdhocLineLayer( /** * New value for property `adhocLineLayer` */ sAdhocLineLayer?: string ): this; /** * Sets the aggregated {@link #getAxisTimeStrategy axisTimeStrategy}. * * * @returns Reference to `this` in order to allow method chaining */ setAxisTimeStrategy( /** * The axisTimeStrategy to set */ oAxisTimeStrategy: sap.gantt.axistime.AxisTimeStrategyBase ): this; /** * Sets the aggregated {@link #getCalendarDef calendarDef}. * * * @returns Reference to `this` in order to allow method chaining */ setCalendarDef( /** * The calendarDef to set */ oCalendarDef: sap.gantt.def.cal.CalendarDefs ): this; /** * Sets a new value for property {@link #getDatePattern datePattern}. * * Specifies how the application's date is displayed in the gantt chart. For example: "dd.MM.yyyy" (31.01.2018) * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_DATE_PATTERN`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setDatePattern( /** * New value for property `datePattern` */ sDatePattern?: string ): this; /** * Sets a new value for property {@link #getDeltaAreaHighlightColor deltaAreaHighlightColor}. * * Property to add custom color to the highlighted area between delta lines. This would default to Fiori * standard color * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapUiListSelectionBackgroundColor"`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setDeltaAreaHighlightColor( /** * New value for property `deltaAreaHighlightColor` */ sDeltaAreaHighlightColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getDeltaLineLayer deltaLineLayer}. * * Specifies the layer on which Delta Lines reside. By default, Delta Lines are above all shapes and patterns. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.DeltaLineLayer.Bottom`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setDeltaLineLayer( /** * New value for property `deltaLineLayer` */ sDeltaLineLayer?: string ): this; /** * Sets a new value for property {@link #getDisableShapeDoubleClickEvent disableShapeDoubleClickEvent}. * * Disables or enables the `shapeDoubleClick` event. If set to `true`, the `shapeDoubleClick` event is disabled. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setDisableShapeDoubleClickEvent( /** * New value for property `disableShapeDoubleClickEvent` */ bDisableShapeDoubleClickEvent?: boolean ): this; /** * Sets a new value for property {@link #getDisplayType displayType}. * * Defines how the Gantt chart is displayed. * - If set to `Both`, both the table and the chart are displayed. * - If set to `Chart`, only the chart is displayed. * - If set to `Table`, only the table is displayed. When the parent element of the Gantt chart * is the {@link sap.gantt.simple.GanttChartContainer}, this property overrides the `displayType` property * of {@link sap.gantt.simple.GanttChartContainer}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Both`. * * * @returns Reference to `this` in order to allow method chaining */ setDisplayType( /** * New value for property `displayType` */ sDisplayType?: sap.gantt.simple.GanttChartWithTableDisplayType ): this; /** * Sets a new value for property {@link #getDragOrientation dragOrientation}. * * Drag orientation of Gantt Chart. * * This property doesn't limit the mouse cursor position but the dragging ghost position when dragging it * around. This property has 3 values: * - Free: The dragging ghost moves along with your mouse cursor. * - Horizontal: The dragged ghost only moves horizontally, cross row dragging is restricted. You can * use this mode if you only need to change the times of the dragging shape * - Vertical: ***Notice*** Vertical works if only one shape is selected (regardless shapeSelectionMode), * it's showing forbidden cursor style on multiple shape selections when you are dragging. You can use this * vertical mode if you only want to change the assignment without changing shape times. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Free`. * * * @returns Reference to `this` in order to allow method chaining */ setDragOrientation( /** * New value for property `dragOrientation` */ sDragOrientation?: sap.gantt.DragOrientation ): this; /** * Sets a new value for property {@link #getEnableAdhocLine enableAdhocLine}. * * Flag to show or hide adhoc lines representing milestones and events along the time axis * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableAdhocLine( /** * New value for property `enableAdhocLine` */ bEnableAdhocLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableChartDeltaAreaHighlight enableChartDeltaAreaHighlight}. * * Flag to show or hide Chart Delta Area highlighting * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setEnableChartDeltaAreaHighlight( /** * New value for property `enableChartDeltaAreaHighlight` */ bEnableChartDeltaAreaHighlight?: boolean ): this; /** * Sets a new value for property {@link #getEnableChartHoverState enableChartHoverState}. * * Option to disable or enable the chart row's hover state. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.93 * * @returns Reference to `this` in order to allow method chaining */ setEnableChartHoverState( /** * New value for property `enableChartHoverState` */ bEnableChartHoverState?: boolean ): this; /** * Sets a new value for property {@link #getEnableChartOverflowToolbar enableChartOverflowToolbar}. * * Option to show or hide the chart overflow toolbar. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.92 * * @returns Reference to `this` in order to allow method chaining */ setEnableChartOverflowToolbar( /** * New value for property `enableChartOverflowToolbar` */ bEnableChartOverflowToolbar?: boolean ): this; /** * Sets a new value for property {@link #getEnableChartSelectionState enableChartSelectionState}. * * Option to disable or enable the chart row's selection state. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.93 * * @returns Reference to `this` in order to allow method chaining */ setEnableChartSelectionState( /** * New value for property `enableChartSelectionState` */ bEnableChartSelectionState?: boolean ): this; /** * Sets a new value for property {@link #getEnableCursorLine enableCursorLine}. * * Flag whether to show or hide the cursor line when moving your mouse cursor * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableCursorLine( /** * New value for property `enableCursorLine` */ bEnableCursorLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableDeltaLine enableDeltaLine}. * * Flag to show or hide Delta Lines * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setEnableDeltaLine( /** * New value for property `enableDeltaLine` */ bEnableDeltaLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableExpandedRowBackground enableExpandedRowBackground}. * * Property to enable the background color for expanded rows. By default, this would show the row background * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setEnableExpandedRowBackground( /** * New value for property `enableExpandedRowBackground` */ bEnableExpandedRowBackground?: boolean ): this; /** * Sets a new value for property {@link #getEnableExpandedRowBorders enableExpandedRowBorders}. * * Property to enable borders for expanded rows. By default, only row borders are enabled. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setEnableExpandedRowBorders( /** * New value for property `enableExpandedRowBorders` */ bEnableExpandedRowBorders?: boolean ): this; /** * Sets a new value for property {@link #getEnableLassoInvert enableLassoInvert}. * * Enables inversion on shape selection while drawing lasso * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableLassoInvert( /** * New value for property `enableLassoInvert` */ bEnableLassoInvert?: boolean ): this; /** * Sets a new value for property {@link #getEnableMultipleGhosts enableMultipleGhosts}. * * Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.127 * * @returns Reference to `this` in order to allow method chaining */ setEnableMultipleGhosts( /** * New value for property `enableMultipleGhosts` */ bEnableMultipleGhosts?: boolean ): this; /** * Sets a new value for property {@link #getEnableNonWorkingTime enableNonWorkingTime}. * * Flag to show or hide non-working time * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setEnableNonWorkingTime( /** * New value for property `enableNonWorkingTime` */ bEnableNonWorkingTime?: boolean ): this; /** * Sets a new value for property {@link #getEnableNowLine enableNowLine}. * * Flag whether to show or hide the present time indicator. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableNowLine( /** * New value for property `enableNowLine` */ bEnableNowLine?: boolean ): this; /** * Sets a new value for property {@link #getEnablePseudoShapes enablePseudoShapes}. * * Optimizes the rendering of overlapping shapes * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.110 * * @returns Reference to `this` in order to allow method chaining */ setEnablePseudoShapes( /** * New value for property `enablePseudoShapes` */ bEnablePseudoShapes?: boolean ): this; /** * Sets a new value for property {@link #getEnableSelectAndDrag enableSelectAndDrag}. * * Allows to drag, drop, and resize a shape on explicitly selecting the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.85 * * @returns Reference to `this` in order to allow method chaining */ setEnableSelectAndDrag( /** * New value for property `enableSelectAndDrag` */ bEnableSelectAndDrag?: boolean ): this; /** * Sets a new value for property {@link #getEnableShapeDropFromOtherCharts enableShapeDropFromOtherCharts}. * * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop * event is not triggered when a shape is dropped from another chart. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.147 * * @returns Reference to `this` in order to allow method chaining */ setEnableShapeDropFromOtherCharts( /** * New value for property `enableShapeDropFromOtherCharts` */ bEnableShapeDropFromOtherCharts?: boolean ): this; /** * Enable or disable table's variable row height feature * * @ui5-protected Do not call from applications (only from related classes in the framework) */ setEnableVariableRowHeight( /** * The flag to control it */ bEnabled: boolean ): void; /** * Sets a new value for property {@link #getEnableVerticalLine enableVerticalLine}. * * Flag to show or hide vertical lines representing intervals along the time axis * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableVerticalLine( /** * New value for property `enableVerticalLine` */ bEnableVerticalLine?: boolean ): this; /** * Sets a new value for property {@link #getExpandedRowHeight expandedRowHeight}. * * Property to define the height of an expanded row in pixels. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.85 * * @returns Reference to `this` in order to allow method chaining */ setExpandedRowHeight( /** * New value for property `expandedRowHeight` */ iExpandedRowHeight: int ): this; /** * Sets a new value for property {@link #getFindBy findBy}. * * Defines the property names for which findAll method should search in different entities * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setFindBy( /** * New value for property `findBy` */ sFindBy?: string[] ): this; /** * Sets a new value for property {@link #getFindByOperator findByOperator}. * * Defines relationship between the operator and the property names using the findAll method * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.simple.findByOperator.OR`. * * @since 1.100 * * @returns Reference to `this` in order to allow method chaining */ setFindByOperator( /** * New value for property `findByOperator` */ sFindByOperator?: string ): this; /** * Sets a new value for property {@link #getGhostAlignment ghostAlignment}. * * The dragging ghost alignment of Gantt Chart. This property define the visual effect of ghost position * on dragging, it also effect the parameter value in event `shapeDragEnd` * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.dragdrop.GhostAlignment.None`. * * * @returns Reference to `this` in order to allow method chaining */ setGhostAlignment( /** * New value for property `ghostAlignment` */ sGhostAlignment?: string ): this; /** * Sets a new value for property {@link #getHeight height}. * * Height of the control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100%"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getHorizontalLazyLoadingEnabled horizontalLazyLoadingEnabled}. * * Set to true if Gantt chart is configured to be lazy loaded horizontally. Application should fetch the * data only for the visible horizon. Application also should make sure to fetch the relevant data on user * interactions like horizontal scroll, zoom out, bird eye which changes the visible horizon until the time * when all the data is fetched. This property has to be used with `setAllDataLoadedPromise()`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.109 * * @returns Reference to `this` in order to allow method chaining */ setHorizontalLazyLoadingEnabled( /** * New value for property `horizontalLazyLoadingEnabled` */ bHorizontalLazyLoadingEnabled?: boolean ): this; /** * Sets a new value for property {@link #getIsConnectorDetailsVisible isConnectorDetailsVisible}. * * Defines whether shapeConnectorList is displayed upon the click of connector/relationship or not * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.102 * * @returns Reference to `this` in order to allow method chaining */ setIsConnectorDetailsVisible( /** * New value for property `isConnectorDetailsVisible` */ bIsConnectorDetailsVisible?: boolean ): this; /** * Implementation of sap.gantt.simple.GanttChartWithTable.setLargeDataScrolling method. * * @ui5-protected Do not call from applications (only from related classes in the framework) */ setLargeDataScrolling( /** * The flag to control it */ bEnabled: boolean ): void; /** * Sets the {@link sap.ui.core.LayoutData} defining the layout constraints for this control when it is used * inside a layout. * * * @returns Returns `this` to allow method chaining */ setLayoutData( /** * which should be set */ oLayoutData: sap.ui.core.LayoutData ): this; /** * Sets a new value for property {@link #getNowLineInUTC nowLineInUTC}. * * Flag whether to show the `nowLine` in UTC or in FLP time. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.68 * * @returns Reference to `this` in order to allow method chaining */ setNowLineInUTC( /** * New value for property `nowLineInUTC` */ bNowLineInUTC?: boolean ): this; /** * Sets a new value for property {@link #getOptimiseRelationships optimiseRelationships}. * * Configuration that optimizes relationship rendering behaviour by avoiding the rendering of non-interactive * relationships. When the flag is enabled, a relationship instance is required in both the predecessor * and successor rows, where the shapeTypeStart, and shapeTypeEnd property of relationship are set to default. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.133 * * @returns Reference to `this` in order to allow method chaining */ setOptimiseRelationships( /** * New value for property `optimiseRelationships` */ bOptimiseRelationships?: boolean ): this; /** * Sets a new value for property {@link #getPrintingBatchSize printingBatchSize}. * * Defines the batch size, that is the number of rows, to be printed per iteration. If set to 0, batching * is disabled and the entire Gantt chart is printed. This could slow the performance and make the browser * non-responsive. Note: Relationship lines can be interrupted if the start and end points are in different * canvases. To minimize this effect, choose a bigger batch size, ensuring that the browser is responsive * during printing. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `100`. * * @since 1.90 * * @returns Reference to `this` in order to allow method chaining */ setPrintingBatchSize( /** * New value for property `printingBatchSize` */ iPrintingBatchSize?: int ): this; /** * Sets a new value for property {@link #getRelationshipShapeSize relationshipShapeSize}. * * Specifies the size of the relationship's shape. Applicable to triangles, square, diamond, and circle * shapes; excluding horizontal rectangle and vertical rectangle shapes. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Medium`. * * @since 1.96 * * @returns Reference to `this` in order to allow method chaining */ setRelationshipShapeSize( /** * New value for property `relationshipShapeSize` */ sRelationshipShapeSize?: sap.gantt.simple.relationshipShapeSize ): this; /** * Sets a new value for property {@link #getRowHighlightAndHoverFill rowHighlightAndHoverFill}. * * The rowHighlightAndHoverFill property defines the color that is filled for the highlighted and hovered * rows when a shape is being dragged The highlighted rows are the ones where the shape drop is allowed * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_1_Plus1"`. * * @since 1.108 * * @returns Reference to `this` in order to allow method chaining */ setRowHighlightAndHoverFill( /** * New value for property `rowHighlightAndHoverFill` */ sRowHighlightAndHoverFill?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getRowHighlightFill rowHighlightFill}. * * The rowHighlightFill property defines the color that is filled for the highlighted rows when a shape * is being dragged The highlighted rows are the ones where the shape drop is allowed * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_1_Plus3"`. * * @since 1.108 * * @returns Reference to `this` in order to allow method chaining */ setRowHighlightFill( /** * New value for property `rowHighlightFill` */ sRowHighlightFill?: sap.gantt.ValueSVGPaintServer ): this; /** * Call for 'setRowSettingsTemplate' method of table is made with invalidate Also, create the promise to * wait for inner gantt rendering * * @since 1.105 */ setRowSettingsTempWithInvalid( /** * Table RowSettings template */ oRowSettings: object ): void; /** * Provides a custom row height based on the application logic. * * @since 1.88 */ setRowsHeight( /** * A key-value pair of a row ID and its custom height. The key is the ID that is mapped to the rowID property * of the rowSettings. The value is the custom height of the row. */ oRowsCustomHeight: object ): void; /** * Selects a group of shapes specified by the `aShapeUids` array. Alternatively, this method deselects all * selected shapes when no shape UIDs are provided. * * @since 1.84 * * @returns a reference to the {@link sap.gantt.simple.GanttChartWithTable} control, can be used for chaining. */ setSelectedShapeUid( /** * An array of shape UIDs to select. */ aShapeUids: string[] ): this; /** * Sets a new value for property {@link #getSelectionPanelSize selectionPanelSize}. * * The width of selection panel. * * In `sap.gantt.simple.GanttChartWithTable`, the selectionPanelSize is the Table/TreeTable width in the * embedded Splitter. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"30%"`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectionPanelSize( /** * New value for property `selectionPanelSize` */ sSelectionPanelSize?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getSelectOnlyGraphicalShape selectOnlyGraphicalShape}. * * Enables selection of only graphical shapes excluding labels. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.93 * * @returns Reference to `this` in order to allow method chaining */ setSelectOnlyGraphicalShape( /** * New value for property `selectOnlyGraphicalShape` */ bSelectOnlyGraphicalShape?: boolean ): this; /** * Sets a new value for property {@link #getShapeMouseEnterDelay shapeMouseEnterDelay}. * * Time in milliseconds where the mouse has to be on the same shape for the specified time before triggering * the `shapeMouseEnter` event * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `500`. * * @since 1.112 * * @returns Reference to `this` in order to allow method chaining */ setShapeMouseEnterDelay( /** * New value for property `shapeMouseEnterDelay` */ iShapeMouseEnterDelay?: int ): this; /** * Sets a new value for property {@link #getShapeMouseLeaveDelay shapeMouseLeaveDelay}. * * Time in milliseconds where the mouse has moved out of the hovered shape for the specified time before * triggering the `shapeMouseLeave` event * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `500`. * * @since 1.112 * * @returns Reference to `this` in order to allow method chaining */ setShapeMouseLeaveDelay( /** * New value for property `shapeMouseLeaveDelay` */ iShapeMouseLeaveDelay?: int ): this; /** * Sets a new value for property {@link #getShapeOverRelationship shapeOverRelationship}. * * Specifies whether shape is rendered over relationship or relationship over shape when relationship leads * through shape. * * If enabled, shapes are rendered over relationships. If disabled, relationships are rendered over shapes. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.76 * * @returns Reference to `this` in order to allow method chaining */ setShapeOverRelationship( /** * New value for property `shapeOverRelationship` */ bShapeOverRelationship?: boolean ): this; /** * Sets a new value for property {@link #getShapeSelectionMode shapeSelectionMode}. * * Shape selection mode of the Gantt Chart. This property controls whether single or multiple shapes can * be selected. When the selection mode is changed, the current selection is removed. * * The shapeSelectionMode only works if `selectable` property on the defined Shape is set to true. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `MultiWithKeyboard`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeSelectionMode( /** * New value for property `shapeSelectionMode` */ sShapeSelectionMode?: sap.gantt.SelectionMode ): this; /** * Sets a new value for property {@link #getShowExportTableToExcel showExportTableToExcel}. * * Flag to show or hide the Export Button for a Table. **Note:**CustomData - Mandatory field for Export * table to Excel functionality. It contains properties that can be configured based on the column configuration, * where the key name is restricted to exportTableColumnConfig. The custom data is created for aggregation * of columns in a table. Export to excel feature is supported for both OData and JSON models, with a restriction * that the tree structure converts to a flat array for a JSON model. The fields supported in the custom * data are: * - leadingProperty - DataSource field for a column. This is a mandatory field. * - columnKey - Identifier for individual columns. * - dataType - Data type for the given column element. The supported data types are dateTime, stringDate, * date, time, boolean, string and numeric. * - isCurrency - Boolean value to determine if the column type contains Currency. * - unit - Text to display as the unit of measurement of a numeric value. * - unitProperty - Name of the DataSource field that contains the unit/currency texts. * - scale - Number of digits after the decimal point of numeric values. * - precision - Precision for numeric values. * - displayFormat - Date format to be displayed. The default for dateTime is DD-MM-YY HH:MM, and the * default for date is DD-MM-YY. * - hierarchyNodeLevel - DataSource field which contains the hierarchy level. This is currently supported * only for OData models. * - wrap - Boolean value to determine whether the contents of the table should be wrapped. Example: * * ```javascript * * * * * * * * * * * ``` * * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowExportTableToExcel( /** * New value for property `showExportTableToExcel` */ bShowExportTableToExcel?: boolean ): this; /** * Sets a new value for property {@link #getShowGanttHeader showGanttHeader}. * * Option to show or hide the header of the Gantt chart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.90 * * @returns Reference to `this` in order to allow method chaining */ setShowGanttHeader( /** * New value for property `showGanttHeader` */ bShowGanttHeader?: boolean ): this; /** * Sets a new value for property {@link #getShowParentRowOnExpand showParentRowOnExpand}. * * Option to show or hide the parent row on expand. This is applicable only for multi-activity row settings. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setShowParentRowOnExpand( /** * New value for property `showParentRowOnExpand` */ bShowParentRowOnExpand?: boolean ): this; /** * Sets a new value for property {@link #getShowShapeTimeOnDrag showShapeTimeOnDrag}. * * Flag to show or hide the start time and end time of a shape when you drag it along the time line. The * property takes effect if only one shape is selected or `enableMultipleGhosts` is set to false. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setShowShapeTimeOnDrag( /** * New value for property `showShapeTimeOnDrag` */ bShowShapeTimeOnDrag?: boolean ): this; /** * Sets a new value for property {@link #getShowTextOnGhost showTextOnGhost}. * * Option to show or hide shape labels on ghost while dragging. The property takes effect only when `enableMultipleGhosts` * is set to true. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.94 * * @returns Reference to `this` in order to allow method chaining */ setShowTextOnGhost( /** * New value for property `showTextOnGhost` */ bShowTextOnGhost?: boolean ): this; /** * Sets a new value for property {@link #getSnapMode snapMode}. * * Enables snapping of shapes to attach to the nearest visual element while dragging. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `None`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ setSnapMode( /** * New value for property `snapMode` */ sSnapMode?: sap.gantt.dragdrop.SnapMode ): this; /** * Sets a new value for property {@link #getSnapTimeInterval snapTimeInterval}. * * Defines the least time taken in seconds for a shape to snap while in a particular zoom level. eg. { "4hour":{timeInterval:1800}, * ---> 30mins Snap "1hour":{timeInterval:900} ---> 15mins Snap } * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `{}`. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ setSnapTimeInterval( /** * New value for property `snapTimeInterval` */ oSnapTimeInterval?: object ): this; /** * Sets the aggregated {@link #getSvgDefs svgDefs}. * * * @returns Reference to `this` in order to allow method chaining */ setSvgDefs( /** * The svgDefs to set */ oSvgDefs: sap.gantt.def.SvgDefs ): this; /** * Sets the aggregated {@link #getTable table}. * * * @returns Reference to `this` in order to allow method chaining */ setTable( /** * The table to set */ oTable: sap.ui.table.Table ): this; /** * Sets a new value for property {@link #getTimePattern timePattern}. * * Specifies how the application's time is displayed in the gantt chart. For example: "hh:mm a" (12:05 PM) * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_TIME_PATTERN`. * * @since 1.86 * * @returns Reference to `this` in order to allow method chaining */ setTimePattern( /** * New value for property `timePattern` */ sTimePattern?: string ): this; /** * Sets a new value for property {@link #getUseParentShapeOnExpand useParentShapeOnExpand}. * * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required. * PseudoShape creation depends only on the tasks, and subtasks are not considered. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.98 * * @returns Reference to `this` in order to allow method chaining */ setUseParentShapeOnExpand( /** * New value for property `useParentShapeOnExpand` */ bUseParentShapeOnExpand?: boolean ): this; /** * Sets a new value for property {@link #getUseShapeFillForGhost useShapeFillForGhost}. * * Flag to use the shape fill for the ghost shape when dragging. When the flag is enabled, the ghost shape * has the same fill color as the original shape. The property takes effect only when `shapeStyles` does * not have a fill explicitly set. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.146 * * @returns Reference to `this` in order to allow method chaining */ setUseShapeFillForGhost( /** * New value for property `useShapeFillForGhost` */ bUseShapeFillForGhost?: boolean ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100%"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.ui.core.CSSSize ): this; /** * Displays the wrapper on top of GanttChartWthTable For this to work, GanttChartContainer showWrapper must * not be set to true * * @since 1.133 */ showWrapper( /** * When set to true, the wrapper for GanttChartWithTable is displayed */ bShow: boolean ): void; /** * Toggles the gantt chart from normal to fullscreen mode and vice versa. Works only if gantt chart is inside * a gantt container. In the fullscreen mode, gantt container can hold only 1 gantt chart. The {@link sap.gantt.simple.GanttChartContainer#insertGanttChart } * and {@link sap.gantt.simple.GanttChartContainer#addGanttChart} functionality of gantt chart container * won't work in fullscreen mode. * * @since 1.97 */ toggleFullScreen( /** * Whether gantt container's toolbar is to be shown in the fullscreen mode along with the gantt chart. */ bShowToolbar: boolean, /** * Button clicked to toggle the fullscreen mode. */ oButton: object ): void; /** * Unbinds aggregation {@link #getAdhocLines adhocLines} from model data. * * @deprecated As of version 1.84. use {@link sap.gantt.simple.AdhocLine} instead. * * @returns Reference to `this` in order to allow method chaining */ unbindAdhocLines(): this; /** * Unbinds aggregation {@link #getAxisTimeStrategy axisTimeStrategy} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindAxisTimeStrategy(): this; /** * Unbinds aggregation {@link #getCalendarDef calendarDef} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindCalendarDef(): this; /** * Unbinds aggregation {@link #getDeltaLines deltaLines} from model data. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ unbindDeltaLines(): this; /** * Unbinds aggregation {@link #getSimpleAdhocLines simpleAdhocLines} from model data. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ unbindSimpleAdhocLines(): this; /** * Select and deselect shapes based on shapeIDs * * @since 1.133 */ updateSelectionByShapeID( /** * array of shapeIDs to be selected */ aSelectedShapeId: string[], /** * array of shapeIDs to be deselected */ aDeselectedShapeId: string[] ): void; /** * De-Emphasize shapes based on the de-emphasized shape Uid * * @since 1.100 */ updateShapeHighlights( /** * Shape Uid of the shape to be de-emphasized. */ deEmphasizedUid: String, /** * flag to de-emphasize all highlighted shapes. */ deEmphasizeAll: Boolean ): void; } /** * The `GanttPrinting` control enables you to export your Gantt chart as a PDF document. * Please note that the quality of the exported image in PDF is currently limited to a pixel density of * 96 PPI and the area of the chart that can be exported is limited to a canvas area of 16,384 x 16,384 * pixels (268,435,456 square pixels). * * @since 1.66 */ class GanttPrinting extends sap.ui.core.Element { /** * Constructor for a new GanttPrinting control. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.GanttPrinting with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.GanttPrinting. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Closes the print dialog. */ close(): void; /** * Exports the Gantt chart as PDF. */ export(): void; /** * ID of the element which is the current target of the association {@link #getGanttChart ganttChart}, or * `null`. */ getGanttChart(): sap.ui.core.ID | null; /** * Gets the print configuration class with the configuration data. * * @since 1.127 * * @returns Print configuration class instance with print configuration data */ getPrintData(): sap.gantt.simple.PrintConfig; /** * Merges multiple canvases into one canvas. * * * @returns single canvas */ mergeCanvases( /** * array of canvases */ aCanvasArray: any[] ): undefined; /** * Opens the print dialog. * * * @returns A promise for chaining actions after the print dialog is ready. */ open( /** * Optional function which takes cloned gantt chart's table for modification. Applications can loop through * the table columns and update certain properties like maxLines to overcome html2canvas limitations. */ fnUpdateTable: Function, /** * which takes custom buttons to display on print Dialog */ printDialogTemplate: sap.gantt.simple.PrintDialogTemplate ): Promise; /** * Opens the print dialog for single page printing. * * @since 1.111 * * @returns A promise for chaining actions after the print dialog is ready. */ openPdfPreview( /** * Optional function which takes cloned gantt chart's table for modification. Applications can loop through * the table columns and update certain properties like maxLines to overcome html2canvas limitations. */ fnUpdateTable: Function, /** * which takes custom buttons to display on print Dialog */ printDialogTemplate: sap.gantt.simple.PrintDialogTemplate ): Promise; /** * Sets the Gantt chart to be exported as PDF. */ setGanttChart( /** * Gantt chart to export */ oGanttChart: undefined ): this; /** * Sets the print configuration data. * * @since 1.127 */ setPrintData( /** * configuration class instance with print configuration data. */ objClass: sap.gantt.simple.PrintConfig ): void; } /** * Enables users to define a shape aggregation name of their own. */ class GanttRowSettings extends sap.ui.table.RowSettings { /** * Creates and initializes a new GanttRowSettings class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.GanttRowSettings with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.RowSettings.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.GanttRowSettings. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some calendar1 to the aggregation {@link #getCalendars1 calendars1}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addCalendar1( /** * The calendar1 to add; if empty, nothing is inserted */ oCalendar1: sap.gantt.simple.BaseCalendar ): this; /** * Adds some calendar2 to the aggregation {@link #getCalendars2 calendars2}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addCalendar2( /** * The calendar2 to add; if empty, nothing is inserted */ oCalendar2: sap.gantt.simple.BaseCalendar ): this; /** * Adds some calendar3 to the aggregation {@link #getCalendars3 calendars3}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addCalendar3( /** * The calendar3 to add; if empty, nothing is inserted */ oCalendar3: sap.gantt.simple.BaseCalendar ): this; /** * Adds some calendar4 to the aggregation {@link #getCalendars4 calendars4}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addCalendar4( /** * The calendar4 to add; if empty, nothing is inserted */ oCalendar4: sap.gantt.simple.BaseCalendar ): this; /** * Adds some calendar5 to the aggregation {@link #getCalendars5 calendars5}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ addCalendar5( /** * The calendar5 to add; if empty, nothing is inserted */ oCalendar5: sap.gantt.simple.BaseCalendar ): this; /** * Adds some calendars to the aggregation {@link #getCalendars calendars}. * * * @returns Reference to `this` in order to allow method chaining */ addCalendars( /** * The calendars to add; if empty, nothing is inserted */ oCalendars: sap.gantt.simple.BaseCalendar ): this; /** * Adds some overlays1 to the aggregation {@link #getOverlays1 overlays1}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addOverlays1( /** * The overlays1 to add; if empty, nothing is inserted */ oOverlays1: sap.gantt.overlays.GanttRowOverlay ): this; /** * Adds some overlays2 to the aggregation {@link #getOverlays2 overlays2}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addOverlays2( /** * The overlays2 to add; if empty, nothing is inserted */ oOverlays2: sap.gantt.overlays.GanttRowOverlay ): this; /** * Adds some overlays3 to the aggregation {@link #getOverlays3 overlays3}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addOverlays3( /** * The overlays3 to add; if empty, nothing is inserted */ oOverlays3: sap.gantt.overlays.GanttRowOverlay ): this; /** * Adds some overlays4 to the aggregation {@link #getOverlays4 overlays4}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addOverlays4( /** * The overlays4 to add; if empty, nothing is inserted */ oOverlays4: sap.gantt.overlays.GanttRowOverlay ): this; /** * Adds some overlays5 to the aggregation {@link #getOverlays5 overlays5}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ addOverlays5( /** * The overlays5 to add; if empty, nothing is inserted */ oOverlays5: sap.gantt.overlays.GanttRowOverlay ): this; /** * Adds some relationship to the aggregation {@link #getRelationships relationships}. * * * @returns Reference to `this` in order to allow method chaining */ addRelationship( /** * The relationship to add; if empty, nothing is inserted */ oRelationship: sap.gantt.simple.Relationship ): this; /** * Adds some shape1 to the aggregation {@link #getShapes1 shapes1}. * * * @returns Reference to `this` in order to allow method chaining */ addShape1( /** * The shape1 to add; if empty, nothing is inserted */ oShape1: sap.gantt.simple.BaseShape ): this; /** * Adds some shape2 to the aggregation {@link #getShapes2 shapes2}. * * * @returns Reference to `this` in order to allow method chaining */ addShape2( /** * The shape2 to add; if empty, nothing is inserted */ oShape2: sap.gantt.simple.BaseShape ): this; /** * Adds some shape3 to the aggregation {@link #getShapes3 shapes3}. * * * @returns Reference to `this` in order to allow method chaining */ addShape3( /** * The shape3 to add; if empty, nothing is inserted */ oShape3: sap.gantt.simple.BaseShape ): this; /** * Adds some shape4 to the aggregation {@link #getShapes4 shapes4}. * * * @returns Reference to `this` in order to allow method chaining */ addShape4( /** * The shape4 to add; if empty, nothing is inserted */ oShape4: sap.gantt.simple.BaseShape ): this; /** * Adds some shape5 to the aggregation {@link #getShapes5 shapes5}. * * * @returns Reference to `this` in order to allow method chaining */ addShape5( /** * The shape5 to add; if empty, nothing is inserted */ oShape5: sap.gantt.simple.BaseShape ): this; /** * Destroys all the calendars in the aggregation {@link #getCalendars calendars}. * * * @returns Reference to `this` in order to allow method chaining */ destroyCalendars(): this; /** * Destroys all the calendars1 in the aggregation {@link #getCalendars1 calendars1}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyCalendars1(): this; /** * Destroys all the calendars2 in the aggregation {@link #getCalendars2 calendars2}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyCalendars2(): this; /** * Destroys all the calendars3 in the aggregation {@link #getCalendars3 calendars3}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyCalendars3(): this; /** * Destroys all the calendars4 in the aggregation {@link #getCalendars4 calendars4}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyCalendars4(): this; /** * Destroys all the calendars5 in the aggregation {@link #getCalendars5 calendars5}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ destroyCalendars5(): this; /** * Destroys all the overlays1 in the aggregation {@link #getOverlays1 overlays1}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyOverlays1(): this; /** * Destroys all the overlays2 in the aggregation {@link #getOverlays2 overlays2}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyOverlays2(): this; /** * Destroys all the overlays3 in the aggregation {@link #getOverlays3 overlays3}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyOverlays3(): this; /** * Destroys all the overlays4 in the aggregation {@link #getOverlays4 overlays4}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyOverlays4(): this; /** * Destroys all the overlays5 in the aggregation {@link #getOverlays5 overlays5}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ destroyOverlays5(): this; /** * Destroys all the relationships in the aggregation {@link #getRelationships relationships}. * * * @returns Reference to `this` in order to allow method chaining */ destroyRelationships(): this; /** * Destroys all the shapes1 in the aggregation {@link #getShapes1 shapes1}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes1(): this; /** * Destroys all the shapes2 in the aggregation {@link #getShapes2 shapes2}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes2(): this; /** * Destroys all the shapes3 in the aggregation {@link #getShapes3 shapes3}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes3(): this; /** * Destroys all the shapes4 in the aggregation {@link #getShapes4 shapes4}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes4(): this; /** * Destroys all the shapes5 in the aggregation {@link #getShapes5 shapes5}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes5(): this; /** * Gets content of aggregation {@link #getCalendars calendars}. * * The controls for the calendars. */ getCalendars(): sap.gantt.simple.BaseCalendar[]; /** * Gets content of aggregation {@link #getCalendars1 calendars1}. * * @since 1.91 */ getCalendars1(): sap.gantt.simple.BaseCalendar[]; /** * Gets content of aggregation {@link #getCalendars2 calendars2}. * * @since 1.91 */ getCalendars2(): sap.gantt.simple.BaseCalendar[]; /** * Gets content of aggregation {@link #getCalendars3 calendars3}. * * @since 1.91 */ getCalendars3(): sap.gantt.simple.BaseCalendar[]; /** * Gets content of aggregation {@link #getCalendars4 calendars4}. * * @since 1.91 */ getCalendars4(): sap.gantt.simple.BaseCalendar[]; /** * Gets content of aggregation {@link #getCalendars5 calendars5}. * * @since 1.91 */ getCalendars5(): sap.gantt.simple.BaseCalendar[]; /** * Gets content of aggregation {@link #getOverlays1 overlays1}. * * @since 1.120 */ getOverlays1(): sap.gantt.overlays.GanttRowOverlay[]; /** * Gets content of aggregation {@link #getOverlays2 overlays2}. * * @since 1.120 */ getOverlays2(): sap.gantt.overlays.GanttRowOverlay[]; /** * Gets content of aggregation {@link #getOverlays3 overlays3}. * * @since 1.120 */ getOverlays3(): sap.gantt.overlays.GanttRowOverlay[]; /** * Gets content of aggregation {@link #getOverlays4 overlays4}. * * @since 1.120 */ getOverlays4(): sap.gantt.overlays.GanttRowOverlay[]; /** * Gets content of aggregation {@link #getOverlays5 overlays5}. * * @since 1.120 */ getOverlays5(): sap.gantt.overlays.GanttRowOverlay[]; /** * Gets content of aggregation {@link #getRelationships relationships}. * * The controls for the relationships. */ getRelationships(): sap.gantt.simple.Relationship[]; /** * Gets current value of property {@link #getRowId rowId}. * * * @returns Value of property `rowId` */ getRowId(): string; /** * Gets content of aggregation {@link #getShapes1 shapes1}. * * The controls for the shapes. */ getShapes1(): sap.gantt.simple.BaseShape[]; /** * Gets content of aggregation {@link #getShapes2 shapes2}. * * The controls for the shapes. */ getShapes2(): sap.gantt.simple.BaseShape[]; /** * Gets content of aggregation {@link #getShapes3 shapes3}. * * The controls for the shapes. */ getShapes3(): sap.gantt.simple.BaseShape[]; /** * Gets content of aggregation {@link #getShapes4 shapes4}. * * The controls for the shapes. */ getShapes4(): sap.gantt.simple.BaseShape[]; /** * Gets content of aggregation {@link #getShapes5 shapes5}. * * The controls for the shapes. */ getShapes5(): sap.gantt.simple.BaseShape[]; /** * Checks for the provided `sap.gantt.simple.BaseCalendar` in the aggregation {@link #getCalendars1 calendars1}. * and returns its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCalendar1( /** * The calendar1 whose index is looked for */ oCalendar1: sap.gantt.simple.BaseCalendar ): int; /** * Checks for the provided `sap.gantt.simple.BaseCalendar` in the aggregation {@link #getCalendars2 calendars2}. * and returns its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCalendar2( /** * The calendar2 whose index is looked for */ oCalendar2: sap.gantt.simple.BaseCalendar ): int; /** * Checks for the provided `sap.gantt.simple.BaseCalendar` in the aggregation {@link #getCalendars3 calendars3}. * and returns its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCalendar3( /** * The calendar3 whose index is looked for */ oCalendar3: sap.gantt.simple.BaseCalendar ): int; /** * Checks for the provided `sap.gantt.simple.BaseCalendar` in the aggregation {@link #getCalendars4 calendars4}. * and returns its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCalendar4( /** * The calendar4 whose index is looked for */ oCalendar4: sap.gantt.simple.BaseCalendar ): int; /** * Checks for the provided `sap.gantt.simple.BaseCalendar` in the aggregation {@link #getCalendars5 calendars5}. * and returns its index if found or -1 otherwise. * * @since 1.91 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCalendar5( /** * The calendar5 whose index is looked for */ oCalendar5: sap.gantt.simple.BaseCalendar ): int; /** * Checks for the provided `sap.gantt.simple.BaseCalendar` in the aggregation {@link #getCalendars calendars}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCalendars( /** * The calendars whose index is looked for */ oCalendars: sap.gantt.simple.BaseCalendar ): int; /** * Checks for the provided `sap.gantt.overlays.GanttRowOverlay` in the aggregation {@link #getOverlays1 overlays1}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfOverlays1( /** * The overlays1 whose index is looked for */ oOverlays1: sap.gantt.overlays.GanttRowOverlay ): int; /** * Checks for the provided `sap.gantt.overlays.GanttRowOverlay` in the aggregation {@link #getOverlays2 overlays2}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfOverlays2( /** * The overlays2 whose index is looked for */ oOverlays2: sap.gantt.overlays.GanttRowOverlay ): int; /** * Checks for the provided `sap.gantt.overlays.GanttRowOverlay` in the aggregation {@link #getOverlays3 overlays3}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfOverlays3( /** * The overlays3 whose index is looked for */ oOverlays3: sap.gantt.overlays.GanttRowOverlay ): int; /** * Checks for the provided `sap.gantt.overlays.GanttRowOverlay` in the aggregation {@link #getOverlays4 overlays4}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfOverlays4( /** * The overlays4 whose index is looked for */ oOverlays4: sap.gantt.overlays.GanttRowOverlay ): int; /** * Checks for the provided `sap.gantt.overlays.GanttRowOverlay` in the aggregation {@link #getOverlays5 overlays5}. * and returns its index if found or -1 otherwise. * * @since 1.120 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfOverlays5( /** * The overlays5 whose index is looked for */ oOverlays5: sap.gantt.overlays.GanttRowOverlay ): int; /** * Checks for the provided `sap.gantt.simple.Relationship` in the aggregation {@link #getRelationships relationships}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfRelationship( /** * The relationship whose index is looked for */ oRelationship: sap.gantt.simple.Relationship ): int; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes1 shapes1}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape1( /** * The shape1 whose index is looked for */ oShape1: sap.gantt.simple.BaseShape ): int; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes2 shapes2}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape2( /** * The shape2 whose index is looked for */ oShape2: sap.gantt.simple.BaseShape ): int; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes3 shapes3}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape3( /** * The shape3 whose index is looked for */ oShape3: sap.gantt.simple.BaseShape ): int; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes4 shapes4}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape4( /** * The shape4 whose index is looked for */ oShape4: sap.gantt.simple.BaseShape ): int; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes5 shapes5}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape5( /** * The shape5 whose index is looked for */ oShape5: sap.gantt.simple.BaseShape ): int; /** * Inserts a calendar1 into the aggregation {@link #getCalendars1 calendars1}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertCalendar1( /** * The calendar1 to insert; if empty, nothing is inserted */ oCalendar1: sap.gantt.simple.BaseCalendar, /** * The `0`-based index the calendar1 should be inserted at; for a negative value of `iIndex`, the calendar1 * is inserted at position 0; for a value greater than the current size of the aggregation, the calendar1 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a calendar2 into the aggregation {@link #getCalendars2 calendars2}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertCalendar2( /** * The calendar2 to insert; if empty, nothing is inserted */ oCalendar2: sap.gantt.simple.BaseCalendar, /** * The `0`-based index the calendar2 should be inserted at; for a negative value of `iIndex`, the calendar2 * is inserted at position 0; for a value greater than the current size of the aggregation, the calendar2 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a calendar3 into the aggregation {@link #getCalendars3 calendars3}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertCalendar3( /** * The calendar3 to insert; if empty, nothing is inserted */ oCalendar3: sap.gantt.simple.BaseCalendar, /** * The `0`-based index the calendar3 should be inserted at; for a negative value of `iIndex`, the calendar3 * is inserted at position 0; for a value greater than the current size of the aggregation, the calendar3 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a calendar4 into the aggregation {@link #getCalendars4 calendars4}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertCalendar4( /** * The calendar4 to insert; if empty, nothing is inserted */ oCalendar4: sap.gantt.simple.BaseCalendar, /** * The `0`-based index the calendar4 should be inserted at; for a negative value of `iIndex`, the calendar4 * is inserted at position 0; for a value greater than the current size of the aggregation, the calendar4 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a calendar5 into the aggregation {@link #getCalendars5 calendars5}. * * @since 1.91 * * @returns Reference to `this` in order to allow method chaining */ insertCalendar5( /** * The calendar5 to insert; if empty, nothing is inserted */ oCalendar5: sap.gantt.simple.BaseCalendar, /** * The `0`-based index the calendar5 should be inserted at; for a negative value of `iIndex`, the calendar5 * is inserted at position 0; for a value greater than the current size of the aggregation, the calendar5 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a calendars into the aggregation {@link #getCalendars calendars}. * * * @returns Reference to `this` in order to allow method chaining */ insertCalendars( /** * The calendars to insert; if empty, nothing is inserted */ oCalendars: sap.gantt.simple.BaseCalendar, /** * The `0`-based index the calendars should be inserted at; for a negative value of `iIndex`, the calendars * is inserted at position 0; for a value greater than the current size of the aggregation, the calendars * is inserted at the last position */ iIndex: int ): this; /** * Inserts a overlays1 into the aggregation {@link #getOverlays1 overlays1}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertOverlays1( /** * The overlays1 to insert; if empty, nothing is inserted */ oOverlays1: sap.gantt.overlays.GanttRowOverlay, /** * The `0`-based index the overlays1 should be inserted at; for a negative value of `iIndex`, the overlays1 * is inserted at position 0; for a value greater than the current size of the aggregation, the overlays1 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a overlays2 into the aggregation {@link #getOverlays2 overlays2}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertOverlays2( /** * The overlays2 to insert; if empty, nothing is inserted */ oOverlays2: sap.gantt.overlays.GanttRowOverlay, /** * The `0`-based index the overlays2 should be inserted at; for a negative value of `iIndex`, the overlays2 * is inserted at position 0; for a value greater than the current size of the aggregation, the overlays2 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a overlays3 into the aggregation {@link #getOverlays3 overlays3}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertOverlays3( /** * The overlays3 to insert; if empty, nothing is inserted */ oOverlays3: sap.gantt.overlays.GanttRowOverlay, /** * The `0`-based index the overlays3 should be inserted at; for a negative value of `iIndex`, the overlays3 * is inserted at position 0; for a value greater than the current size of the aggregation, the overlays3 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a overlays4 into the aggregation {@link #getOverlays4 overlays4}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertOverlays4( /** * The overlays4 to insert; if empty, nothing is inserted */ oOverlays4: sap.gantt.overlays.GanttRowOverlay, /** * The `0`-based index the overlays4 should be inserted at; for a negative value of `iIndex`, the overlays4 * is inserted at position 0; for a value greater than the current size of the aggregation, the overlays4 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a overlays5 into the aggregation {@link #getOverlays5 overlays5}. * * @since 1.120 * * @returns Reference to `this` in order to allow method chaining */ insertOverlays5( /** * The overlays5 to insert; if empty, nothing is inserted */ oOverlays5: sap.gantt.overlays.GanttRowOverlay, /** * The `0`-based index the overlays5 should be inserted at; for a negative value of `iIndex`, the overlays5 * is inserted at position 0; for a value greater than the current size of the aggregation, the overlays5 * is inserted at the last position */ iIndex: int ): this; /** * Inserts a relationship into the aggregation {@link #getRelationships relationships}. * * * @returns Reference to `this` in order to allow method chaining */ insertRelationship( /** * The relationship to insert; if empty, nothing is inserted */ oRelationship: sap.gantt.simple.Relationship, /** * The `0`-based index the relationship should be inserted at; for a negative value of `iIndex`, the relationship * is inserted at position 0; for a value greater than the current size of the aggregation, the relationship * is inserted at the last position */ iIndex: int ): this; /** * Inserts a shape1 into the aggregation {@link #getShapes1 shapes1}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape1( /** * The shape1 to insert; if empty, nothing is inserted */ oShape1: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape1 should be inserted at; for a negative value of `iIndex`, the shape1 is * inserted at position 0; for a value greater than the current size of the aggregation, the shape1 is inserted * at the last position */ iIndex: int ): this; /** * Inserts a shape2 into the aggregation {@link #getShapes2 shapes2}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape2( /** * The shape2 to insert; if empty, nothing is inserted */ oShape2: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape2 should be inserted at; for a negative value of `iIndex`, the shape2 is * inserted at position 0; for a value greater than the current size of the aggregation, the shape2 is inserted * at the last position */ iIndex: int ): this; /** * Inserts a shape3 into the aggregation {@link #getShapes3 shapes3}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape3( /** * The shape3 to insert; if empty, nothing is inserted */ oShape3: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape3 should be inserted at; for a negative value of `iIndex`, the shape3 is * inserted at position 0; for a value greater than the current size of the aggregation, the shape3 is inserted * at the last position */ iIndex: int ): this; /** * Inserts a shape4 into the aggregation {@link #getShapes4 shapes4}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape4( /** * The shape4 to insert; if empty, nothing is inserted */ oShape4: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape4 should be inserted at; for a negative value of `iIndex`, the shape4 is * inserted at position 0; for a value greater than the current size of the aggregation, the shape4 is inserted * at the last position */ iIndex: int ): this; /** * Inserts a shape5 into the aggregation {@link #getShapes5 shapes5}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape5( /** * The shape5 to insert; if empty, nothing is inserted */ oShape5: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape5 should be inserted at; for a negative value of `iIndex`, the shape5 is * inserted at position 0; for a value greater than the current size of the aggregation, the shape5 is inserted * at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getCalendars calendars}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllCalendars(): sap.gantt.simple.BaseCalendar[]; /** * Removes all the controls from the aggregation {@link #getCalendars1 calendars1}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllCalendars1(): sap.gantt.simple.BaseCalendar[]; /** * Removes all the controls from the aggregation {@link #getCalendars2 calendars2}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllCalendars2(): sap.gantt.simple.BaseCalendar[]; /** * Removes all the controls from the aggregation {@link #getCalendars3 calendars3}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllCalendars3(): sap.gantt.simple.BaseCalendar[]; /** * Removes all the controls from the aggregation {@link #getCalendars4 calendars4}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllCalendars4(): sap.gantt.simple.BaseCalendar[]; /** * Removes all the controls from the aggregation {@link #getCalendars5 calendars5}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.91 * * @returns An array of the removed elements (might be empty) */ removeAllCalendars5(): sap.gantt.simple.BaseCalendar[]; /** * Removes all the controls from the aggregation {@link #getOverlays1 overlays1}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllOverlays1(): sap.gantt.overlays.GanttRowOverlay[]; /** * Removes all the controls from the aggregation {@link #getOverlays2 overlays2}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllOverlays2(): sap.gantt.overlays.GanttRowOverlay[]; /** * Removes all the controls from the aggregation {@link #getOverlays3 overlays3}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllOverlays3(): sap.gantt.overlays.GanttRowOverlay[]; /** * Removes all the controls from the aggregation {@link #getOverlays4 overlays4}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllOverlays4(): sap.gantt.overlays.GanttRowOverlay[]; /** * Removes all the controls from the aggregation {@link #getOverlays5 overlays5}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.120 * * @returns An array of the removed elements (might be empty) */ removeAllOverlays5(): sap.gantt.overlays.GanttRowOverlay[]; /** * Removes all the controls from the aggregation {@link #getRelationships relationships}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllRelationships(): sap.gantt.simple.Relationship[]; /** * Removes all the controls from the aggregation {@link #getShapes1 shapes1}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes1(): sap.gantt.simple.BaseShape[]; /** * Removes all the controls from the aggregation {@link #getShapes2 shapes2}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes2(): sap.gantt.simple.BaseShape[]; /** * Removes all the controls from the aggregation {@link #getShapes3 shapes3}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes3(): sap.gantt.simple.BaseShape[]; /** * Removes all the controls from the aggregation {@link #getShapes4 shapes4}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes4(): sap.gantt.simple.BaseShape[]; /** * Removes all the controls from the aggregation {@link #getShapes5 shapes5}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes5(): sap.gantt.simple.BaseShape[]; /** * Removes a calendar1 from the aggregation {@link #getCalendars1 calendars1}. * * @since 1.91 * * @returns The removed calendar1 or `null` */ removeCalendar1( /** * The calendar1 to remove or its index or id */ vCalendar1: int | string | sap.gantt.simple.BaseCalendar ): sap.gantt.simple.BaseCalendar | null; /** * Removes a calendar2 from the aggregation {@link #getCalendars2 calendars2}. * * @since 1.91 * * @returns The removed calendar2 or `null` */ removeCalendar2( /** * The calendar2 to remove or its index or id */ vCalendar2: int | string | sap.gantt.simple.BaseCalendar ): sap.gantt.simple.BaseCalendar | null; /** * Removes a calendar3 from the aggregation {@link #getCalendars3 calendars3}. * * @since 1.91 * * @returns The removed calendar3 or `null` */ removeCalendar3( /** * The calendar3 to remove or its index or id */ vCalendar3: int | string | sap.gantt.simple.BaseCalendar ): sap.gantt.simple.BaseCalendar | null; /** * Removes a calendar4 from the aggregation {@link #getCalendars4 calendars4}. * * @since 1.91 * * @returns The removed calendar4 or `null` */ removeCalendar4( /** * The calendar4 to remove or its index or id */ vCalendar4: int | string | sap.gantt.simple.BaseCalendar ): sap.gantt.simple.BaseCalendar | null; /** * Removes a calendar5 from the aggregation {@link #getCalendars5 calendars5}. * * @since 1.91 * * @returns The removed calendar5 or `null` */ removeCalendar5( /** * The calendar5 to remove or its index or id */ vCalendar5: int | string | sap.gantt.simple.BaseCalendar ): sap.gantt.simple.BaseCalendar | null; /** * Removes a calendars from the aggregation {@link #getCalendars calendars}. * * * @returns The removed calendars or `null` */ removeCalendars( /** * The calendars to remove or its index or id */ vCalendars: int | string | sap.gantt.simple.BaseCalendar ): sap.gantt.simple.BaseCalendar | null; /** * Removes a overlays1 from the aggregation {@link #getOverlays1 overlays1}. * * @since 1.120 * * @returns The removed overlays1 or `null` */ removeOverlays1( /** * The overlays1 to remove or its index or id */ vOverlays1: int | string | sap.gantt.overlays.GanttRowOverlay ): sap.gantt.overlays.GanttRowOverlay | null; /** * Removes a overlays2 from the aggregation {@link #getOverlays2 overlays2}. * * @since 1.120 * * @returns The removed overlays2 or `null` */ removeOverlays2( /** * The overlays2 to remove or its index or id */ vOverlays2: int | string | sap.gantt.overlays.GanttRowOverlay ): sap.gantt.overlays.GanttRowOverlay | null; /** * Removes a overlays3 from the aggregation {@link #getOverlays3 overlays3}. * * @since 1.120 * * @returns The removed overlays3 or `null` */ removeOverlays3( /** * The overlays3 to remove or its index or id */ vOverlays3: int | string | sap.gantt.overlays.GanttRowOverlay ): sap.gantt.overlays.GanttRowOverlay | null; /** * Removes a overlays4 from the aggregation {@link #getOverlays4 overlays4}. * * @since 1.120 * * @returns The removed overlays4 or `null` */ removeOverlays4( /** * The overlays4 to remove or its index or id */ vOverlays4: int | string | sap.gantt.overlays.GanttRowOverlay ): sap.gantt.overlays.GanttRowOverlay | null; /** * Removes a overlays5 from the aggregation {@link #getOverlays5 overlays5}. * * @since 1.120 * * @returns The removed overlays5 or `null` */ removeOverlays5( /** * The overlays5 to remove or its index or id */ vOverlays5: int | string | sap.gantt.overlays.GanttRowOverlay ): sap.gantt.overlays.GanttRowOverlay | null; /** * Removes a relationship from the aggregation {@link #getRelationships relationships}. * * * @returns The removed relationship or `null` */ removeRelationship( /** * The relationship to remove or its index or id */ vRelationship: int | string | sap.gantt.simple.Relationship ): sap.gantt.simple.Relationship | null; /** * Removes a shape1 from the aggregation {@link #getShapes1 shapes1}. * * * @returns The removed shape1 or `null` */ removeShape1( /** * The shape1 to remove or its index or id */ vShape1: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Removes a shape2 from the aggregation {@link #getShapes2 shapes2}. * * * @returns The removed shape2 or `null` */ removeShape2( /** * The shape2 to remove or its index or id */ vShape2: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Removes a shape3 from the aggregation {@link #getShapes3 shapes3}. * * * @returns The removed shape3 or `null` */ removeShape3( /** * The shape3 to remove or its index or id */ vShape3: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Removes a shape4 from the aggregation {@link #getShapes4 shapes4}. * * * @returns The removed shape4 or `null` */ removeShape4( /** * The shape4 to remove or its index or id */ vShape4: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Removes a shape5 from the aggregation {@link #getShapes5 shapes5}. * * * @returns The removed shape5 or `null` */ removeShape5( /** * The shape5 to remove or its index or id */ vShape5: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Sets a new value for property {@link #getRowId rowId}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setRowId( /** * New value for property `rowId` */ sRowId: string ): this; } /** * Enable users to define properties for shapes in one vertical line(column), each LegendColumnConfig affects * one column. */ class LegendColumnConfig extends sap.ui.core.Element { /** * Constructor for LegendColumnConfig. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendColumnConfigSettings ); /** * Constructor for LegendColumnConfig. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendColumnConfigSettings ); /** * Creates a new subclass of class sap.gantt.simple.LegendColumnConfig with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.LegendColumnConfig. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getFill fill}. * * Once this property is set, shapes in one vertical line have the same fill color or fill pattern. * * * @returns Value of property `fill` */ getFill(): string; /** * Gets current value of property {@link #getFillFactory fillFactory}. * * Factory function is used to determine the fill property for different shape classes defined in yDimension * config. Shape name of the shape class is passed as a parameter to the function. The return value should * be a color code. * * * @returns Value of property `fillFactory` */ getFillFactory(): Function; /** * Gets current value of property {@link #getText text}. * * * @returns Value of property `text` */ getText(): string; /** * Sets a new value for property {@link #getFill fill}. * * Once this property is set, shapes in one vertical line have the same fill color or fill pattern. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill: string ): this; /** * Sets a new value for property {@link #getFillFactory fillFactory}. * * Factory function is used to determine the fill property for different shape classes defined in yDimension * config. Shape name of the shape class is passed as a parameter to the function. The return value should * be a color code. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFillFactory( /** * New value for property `fillFactory` */ fnFillFactory: Function ): this; /** * Sets a new value for property {@link #getText text}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText: string ): this; } /** * The LegendContainer control uses the NavContainer control to handle hierarchical navigation between * legend sections. The LegendContainer control contains an initial navigation page. Both the initial navigation * page and legend sections are Page controls, We put the List Legend control inside the Page control internally. * If you only add one legend, the initial navigation page won't display. Whenever you open legend * container, the legend container will restore the page last time you quit with. */ class LegendContainer extends sap.ui.core.Control { /** * Creates and initializes a new legend container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendContainerSettings ); /** * Creates and initializes a new legend container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendContainerSettings ); /** * Creates a new subclass of class sap.gantt.simple.LegendContainer with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.LegendContainer. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some legend to the aggregation {@link #getLegends legends}. * * * @returns Reference to `this` in order to allow method chaining */ addLegend( /** * The legend to add; if empty, nothing is inserted */ oLegend: sap.ui.core.Control ): this; /** * Destroys all the legends in the aggregation {@link #getLegends legends}. * * * @returns Reference to `this` in order to allow method chaining */ destroyLegends(): this; /** * Gets current value of property {@link #getEnableFlatLegends enableFlatLegends}. * * shows all the list legends in flat structure instead of navigation list. restriction - will work only * with list legends. * * Default value is `false`. * * @since 1.92 * * @returns Value of property `enableFlatLegends` */ getEnableFlatLegends(): boolean; /** * Gets current value of property {@link #getHeight height}. * * Height of the legend navigation. When the height specified is smaller than a section content, a vertical * scroll bar appears. * * Default value is `"200px"`. * * * @returns Value of property `height` */ getHeight(): sap.ui.core.CSSSize; /** * Gets content of aggregation {@link #getLegends legends}. * * Legends inside the container, they could be instances of List Legend or Dimension Legend. */ getLegends(): sap.ui.core.Control[]; /** * Gets current value of property {@link #getWidth width}. * * Width of the legend navigation. When the width specified is smaller than a section content, a horizontal * scroll bar appears.width of the legend navigation. When the width specified is smaller than a section * content, a horizontal scroll bar appears. * * Default value is `"200px"`. * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getLegends legends}. and returns * its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfLegend( /** * The legend whose index is looked for */ oLegend: sap.ui.core.Control ): int; /** * Inserts a legend into the aggregation {@link #getLegends legends}. * * * @returns Reference to `this` in order to allow method chaining */ insertLegend( /** * The legend to insert; if empty, nothing is inserted */ oLegend: sap.ui.core.Control, /** * The `0`-based index the legend should be inserted at; for a negative value of `iIndex`, the legend is * inserted at position 0; for a value greater than the current size of the aggregation, the legend is inserted * at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getLegends legends}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllLegends(): sap.ui.core.Control[]; /** * Removes a legend from the aggregation {@link #getLegends legends}. * * * @returns The removed legend or `null` */ removeLegend( /** * The legend to remove or its index or id */ vLegend: int | string | sap.ui.core.Control ): sap.ui.core.Control | null; /** * Sets a new value for property {@link #getEnableFlatLegends enableFlatLegends}. * * shows all the list legends in flat structure instead of navigation list. restriction - will work only * with list legends. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.92 * * @returns Reference to `this` in order to allow method chaining */ setEnableFlatLegends( /** * New value for property `enableFlatLegends` */ bEnableFlatLegends?: boolean ): this; /** * Sets a new value for property {@link #getHeight height}. * * Height of the legend navigation. When the height specified is smaller than a section content, a vertical * scroll bar appears. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"200px"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the legend navigation. When the width specified is smaller than a section content, a horizontal * scroll bar appears.width of the legend navigation. When the width specified is smaller than a section * content, a horizontal scroll bar appears. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"200px"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.ui.core.CSSSize ): this; } /** * Shapes in one horizontal line(row) share the same shape class and shape name. Each LegendRowConfig affects * one row. */ class LegendRowConfig extends sap.ui.core.Element { /** * Constructor for LegendRowConfig. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendRowConfigSettings ); /** * Constructor for LegendRowConfig. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendRowConfigSettings ); /** * Creates a new subclass of class sap.gantt.simple.LegendRowConfig with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.LegendRowConfig. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getShapeClass shapeClass}. * * Specifies the shape class name of dimension legend row It's a full shape module name * * * @returns Value of property `shapeClass` */ getShapeClass(): string; /** * Gets current value of property {@link #getShapeName shapeName}. * * Specifies the name of the dimension legend row * * * @returns Value of property `shapeName` */ getShapeName(): string; /** * Gets current value of property {@link #getStroke stroke}. * * Stroke of the legend row * * * @returns Value of property `stroke` */ getStroke(): string; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * * @returns Value of property `strokeWidth` */ getStrokeWidth(): float; /** * Gets current value of property {@link #getText text}. * * The text content * * * @returns Value of property `text` */ getText(): string; /** * Sets a new value for property {@link #getShapeClass shapeClass}. * * Specifies the shape class name of dimension legend row It's a full shape module name * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShapeClass( /** * New value for property `shapeClass` */ sShapeClass: string ): this; /** * Sets a new value for property {@link #getShapeName shapeName}. * * Specifies the name of the dimension legend row * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setShapeName( /** * New value for property `shapeName` */ sShapeName: string ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Stroke of the legend row * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: string ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ fStrokeWidth: float ): this; /** * Sets a new value for property {@link #getText text}. * * The text content * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setText( /** * New value for property `text` */ sText: string ): this; } /** * Legend Shape Group class for accommodating multiple shapes in ListLegendItem. Only following shapes are * allowed: BaseRectangle, BaseDiamod, BaseChevron, BaseCursor, BaseLine, BasePath and BaseImage. * * @since 1.84 */ class LegendShapeGroup extends sap.gantt.simple.BaseShape { /** * Creates and initializes a new Legend Shape Group class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendShapeGroupSettings ); /** * Creates and initializes a new Legend Shape Group class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. This is generated automatically, if ID is not provided. */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$LegendShapeGroupSettings ); /** * Creates a new subclass of class sap.gantt.simple.LegendShapeGroup with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.LegendShapeGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some shape to the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ addShape( /** * The shape to add; if empty, nothing is inserted */ oShape: sap.gantt.simple.BaseShape ): this; /** * Destroys all the shapes in the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShapes(): this; /** * Gets current value of property {@link #getOrientation orientation}. * * The orientation on the legend * * Default value is `Vertical`. * * * @returns Value of property `orientation` */ getOrientation(): sap.gantt.simple.LegendShapeGroupOrientation; /** * Gets content of aggregation {@link #getShapes shapes}. * * To accommodate multiple shapes */ getShapes(): sap.gantt.simple.BaseShape[]; /** * Gets current value of property {@link #getTitle title}. * * The title for multiple shapes rendering * * * @returns Value of property `title` */ getTitle(): string; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getShapes shapes}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfShape( /** * The shape whose index is looked for */ oShape: sap.gantt.simple.BaseShape ): int; /** * Inserts a shape into the aggregation {@link #getShapes shapes}. * * * @returns Reference to `this` in order to allow method chaining */ insertShape( /** * The shape to insert; if empty, nothing is inserted */ oShape: sap.gantt.simple.BaseShape, /** * The `0`-based index the shape should be inserted at; for a negative value of `iIndex`, the shape is inserted * at position 0; for a value greater than the current size of the aggregation, the shape is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getShapes shapes}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllShapes(): sap.gantt.simple.BaseShape[]; /** * Removes a shape from the aggregation {@link #getShapes shapes}. * * * @returns The removed shape or `null` */ removeShape( /** * The shape to remove or its index or id */ vShape: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Sets a new value for property {@link #getOrientation orientation}. * * The orientation on the legend * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Vertical`. * * * @returns Reference to `this` in order to allow method chaining */ setOrientation( /** * New value for property `orientation` */ sOrientation?: sap.gantt.simple.LegendShapeGroupOrientation ): this; /** * Sets a new value for property {@link #getTitle title}. * * The title for multiple shapes rendering * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle: string ): this; } /** * The Legend is a popup window in the GanttChart control wich can be used to display shape/icon-text pairs. */ class ListLegend extends sap.ui.core.Control { /** * Constructor for a new List Legend. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$ListLegendSettings ); /** * Constructor for a new List Legend. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$ListLegendSettings ); /** * Creates a new subclass of class sap.gantt.simple.ListLegend with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.ListLegend. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some item to the aggregation {@link #getItems items}. * * * @returns Reference to `this` in order to allow method chaining */ addItem( /** * The item to add; if empty, nothing is inserted */ oItem: sap.gantt.simple.ListLegendItem ): this; /** * Destroys all the items in the aggregation {@link #getItems items}. * * * @returns Reference to `this` in order to allow method chaining */ destroyItems(): this; /** * Gets content of aggregation {@link #getItems items}. * * ListLegendItem object aggregation */ getItems(): sap.gantt.simple.ListLegendItem[]; /** * Gets current value of property {@link #getTitle title}. * * Title of Legend. The title is displayed on both the legend page and the legend navigation list. Null * if not specified * * * @returns Value of property `title` */ getTitle(): string; /** * Checks for the provided `sap.gantt.simple.ListLegendItem` in the aggregation {@link #getItems items}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfItem( /** * The item whose index is looked for */ oItem: sap.gantt.simple.ListLegendItem ): int; /** * Inserts a item into the aggregation {@link #getItems items}. * * * @returns Reference to `this` in order to allow method chaining */ insertItem( /** * The item to insert; if empty, nothing is inserted */ oItem: sap.gantt.simple.ListLegendItem, /** * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted * at position 0; for a value greater than the current size of the aggregation, the item is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getItems items}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllItems(): sap.gantt.simple.ListLegendItem[]; /** * Removes a item from the aggregation {@link #getItems items}. * * * @returns The removed item or `null` */ removeItem( /** * The item to remove or its index or id */ vItem: int | string | sap.gantt.simple.ListLegendItem ): sap.gantt.simple.ListLegendItem | null; /** * Sets a new value for property {@link #getTitle title}. * * Title of Legend. The title is displayed on both the legend page and the legend navigation list. Null * if not specified * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTitle( /** * New value for property `title` */ sTitle?: string ): this; } /** * Aggregation element for the List Legend. A List Legend Item consists of a marker and an associated text. * The marker can be any shapes you in shape aggregation. If you need to interact with the legend item, * set the interactive to true then the item will display a check box in front of the shape and text. */ class ListLegendItem extends sap.ui.core.Element { /** * Constructor for a new ListLegendItem. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$ListLegendItemSettings ); /** * Constructor for a new ListLegendItem. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.simple.$ListLegendItemSettings ); /** * Creates a new subclass of class sap.gantt.simple.ListLegendItem with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.ListLegendItem. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Attaches event handler `fnFunction` to the {@link #event:interactiveChange interactiveChange} event of * this `sap.gantt.simple.ListLegendItem`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ListLegendItem` itself. * * The event is raised when there is a click action on the checkbox before legend item. * * * @returns Reference to `this` in order to allow method chaining */ attachInteractiveChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: ListLegendItem$InteractiveChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ListLegendItem` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:interactiveChange interactiveChange} event of * this `sap.gantt.simple.ListLegendItem`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.simple.ListLegendItem` itself. * * The event is raised when there is a click action on the checkbox before legend item. * * * @returns Reference to `this` in order to allow method chaining */ attachInteractiveChange( /** * The function to be called when the event occurs */ fnFunction: (p1: ListLegendItem$InteractiveChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.simple.ListLegendItem` itself */ oListener?: object ): this; /** * Destroys the legendShapeGroup in the aggregation {@link #getLegendShapeGroup legendShapeGroup}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ destroyLegendShapeGroup(): this; /** * Destroys the shape in the aggregation {@link #getShape shape}. * * * @returns Reference to `this` in order to allow method chaining */ destroyShape(): this; /** * Detaches event handler `fnFunction` from the {@link #event:interactiveChange interactiveChange} event * of this `sap.gantt.simple.ListLegendItem`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachInteractiveChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: ListLegendItem$InteractiveChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:interactiveChange interactiveChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireInteractiveChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.simple.ListLegendItem$InteractiveChangeEventParameters ): this; /** * Gets current value of property {@link #getInteractive interactive}. * * Indicates whether the check box is visible or not. * * Default value is `false`. * * * @returns Value of property `interactive` */ getInteractive(): boolean; /** * Gets current value of property {@link #getLegendName legendName}. * * * @returns Value of property `legendName` */ getLegendName(): string; /** * Gets content of aggregation {@link #getLegendShapeGroup legendShapeGroup}. * * Defines a Legend Shape Group class for the List Legend Item. The shapes are normalized in the rendering * phase. * * @since 1.84 */ getLegendShapeGroup(): sap.gantt.simple.LegendShapeGroup; /** * Gets current value of property {@link #getSelected selected}. * * Indicates whether the check box is selected or not. * * Default value is `true`. * * * @returns Value of property `selected` */ getSelected(): boolean; /** * Gets content of aggregation {@link #getShape shape}. * * Define a shape class for the List Legend Item. The shape will be normalized in the rendering phase. */ getShape(): sap.gantt.simple.BaseShape; /** * Gets current value of property {@link #getVisible visible}. * * Indicates whether the list item is visible * * Default value is `true`. * * @since 1.92 * * @returns Value of property `visible` */ getVisible(): boolean; /** * Sets a new value for property {@link #getInteractive interactive}. * * Indicates whether the check box is visible or not. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setInteractive( /** * New value for property `interactive` */ bInteractive?: boolean ): this; /** * Sets a new value for property {@link #getLegendName legendName}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setLegendName( /** * New value for property `legendName` */ sLegendName: string ): this; /** * Sets the aggregated {@link #getLegendShapeGroup legendShapeGroup}. * * @since 1.84 * * @returns Reference to `this` in order to allow method chaining */ setLegendShapeGroup( /** * The legendShapeGroup to set */ oLegendShapeGroup: sap.gantt.simple.LegendShapeGroup ): this; /** * Sets a new value for property {@link #getSelected selected}. * * Indicates whether the check box is selected or not. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setSelected( /** * New value for property `selected` */ bSelected?: boolean ): this; /** * Sets the aggregated {@link #getShape shape}. * * * @returns Reference to `this` in order to allow method chaining */ setShape( /** * The shape to set */ oShape: sap.gantt.simple.BaseShape ): this; /** * Sets a new value for property {@link #getVisible visible}. * * Indicates whether the list item is visible * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.92 * * @returns Reference to `this` in order to allow method chaining */ setVisible( /** * New value for property `visible` */ bVisible?: boolean ): this; } /** * Multi Activity Group class uses SVG tag 'g'. It is a shape container. Any other shapes can be aggregated * under this group. This extends from the BaseGroup. * * @since 1.85 */ class MultiActivityGroup extends sap.gantt.simple.BaseGroup { /** * Creates and initializes a new MultiActivityGroup class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$MultiActivityGroupSettings ); /** * Creates and initializes a new MultiActivityGroup class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. This is generated automatically, if ID is not provided. */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$MultiActivityGroupSettings ); /** * Creates a new subclass of class sap.gantt.simple.MultiActivityGroup with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseGroup.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.MultiActivityGroup. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some indicator to the aggregation {@link #getIndicators indicators}. * * * @returns Reference to `this` in order to allow method chaining */ addIndicator( /** * The indicator to add; if empty, nothing is inserted */ oIndicator: sap.gantt.simple.BaseShape ): this; /** * Adds some subTask to the aggregation {@link #getSubTasks subTasks}. * * * @returns Reference to `this` in order to allow method chaining */ addSubTask( /** * The subTask to add; if empty, nothing is inserted */ oSubTask: sap.gantt.simple.BaseShape ): this; /** * Destroys all the indicators in the aggregation {@link #getIndicators indicators}. * * * @returns Reference to `this` in order to allow method chaining */ destroyIndicators(): this; /** * Destroys all the subTasks in the aggregation {@link #getSubTasks subTasks}. * * * @returns Reference to `this` in order to allow method chaining */ destroySubTasks(): this; /** * Destroys the task in the aggregation {@link #getTask task}. * * * @returns Reference to `this` in order to allow method chaining */ destroyTask(): this; /** * Gets content of aggregation {@link #getIndicators indicators}. * * Depicts the overlap of subtasks in a task */ getIndicators(): sap.gantt.simple.BaseShape[]; /** * Gets content of aggregation {@link #getSubTasks subTasks}. * * The break-up shapes of the task */ getSubTasks(): sap.gantt.simple.BaseShape[]; /** * Gets content of aggregation {@link #getTask task}. * * The primary shape of the task */ getTask(): sap.gantt.simple.BaseShape; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getIndicators indicators}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfIndicator( /** * The indicator whose index is looked for */ oIndicator: sap.gantt.simple.BaseShape ): int; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getSubTasks subTasks}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfSubTask( /** * The subTask whose index is looked for */ oSubTask: sap.gantt.simple.BaseShape ): int; /** * Inserts a indicator into the aggregation {@link #getIndicators indicators}. * * * @returns Reference to `this` in order to allow method chaining */ insertIndicator( /** * The indicator to insert; if empty, nothing is inserted */ oIndicator: sap.gantt.simple.BaseShape, /** * The `0`-based index the indicator should be inserted at; for a negative value of `iIndex`, the indicator * is inserted at position 0; for a value greater than the current size of the aggregation, the indicator * is inserted at the last position */ iIndex: int ): this; /** * Inserts a subTask into the aggregation {@link #getSubTasks subTasks}. * * * @returns Reference to `this` in order to allow method chaining */ insertSubTask( /** * The subTask to insert; if empty, nothing is inserted */ oSubTask: sap.gantt.simple.BaseShape, /** * The `0`-based index the subTask should be inserted at; for a negative value of `iIndex`, the subTask * is inserted at position 0; for a value greater than the current size of the aggregation, the subTask * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getIndicators indicators}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllIndicators(): sap.gantt.simple.BaseShape[]; /** * Removes all the controls from the aggregation {@link #getSubTasks subTasks}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllSubTasks(): sap.gantt.simple.BaseShape[]; /** * Removes a indicator from the aggregation {@link #getIndicators indicators}. * * * @returns The removed indicator or `null` */ removeIndicator( /** * The indicator to remove or its index or id */ vIndicator: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Removes a subTask from the aggregation {@link #getSubTasks subTasks}. * * * @returns The removed subTask or `null` */ removeSubTask( /** * The subTask to remove or its index or id */ vSubTask: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; /** * Sets the aggregated {@link #getTask task}. * * * @returns Reference to `this` in order to allow method chaining */ setTask( /** * The task to set */ oTask: sap.gantt.simple.BaseShape ): this; } /** * Enables users to define a shape aggregation name of their own. This extends from GanttRowSettings to * support multiple activities. * * @since 1.85 */ class MultiActivityRowSettings extends sap.gantt.simple.GanttRowSettings { /** * Creates and initializes a new class for multi-activity row settings. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. This is generated automatically, if ID is not provided. */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.MultiActivityRowSettings with name `sClassName` and * enriches it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.GanttRowSettings.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo< T, sap.gantt.simple.MultiActivityRowSettings >, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.MultiActivityRowSettings. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some task to the aggregation {@link #getTasks tasks}. * * * @returns Reference to `this` in order to allow method chaining */ addTask( /** * The task to add; if empty, nothing is inserted */ oTask: sap.gantt.simple.BaseShape ): this; /** * Destroys all the tasks in the aggregation {@link #getTasks tasks}. * * * @returns Reference to `this` in order to allow method chaining */ destroyTasks(): this; /** * Gets content of aggregation {@link #getTasks tasks}. * * The control which holds the shape groups. */ getTasks(): sap.gantt.simple.BaseShape[]; /** * Checks for the provided `sap.gantt.simple.BaseShape` in the aggregation {@link #getTasks tasks}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfTask( /** * The task whose index is looked for */ oTask: sap.gantt.simple.BaseShape ): int; /** * Inserts a task into the aggregation {@link #getTasks tasks}. * * * @returns Reference to `this` in order to allow method chaining */ insertTask( /** * The task to insert; if empty, nothing is inserted */ oTask: sap.gantt.simple.BaseShape, /** * The `0`-based index the task should be inserted at; for a negative value of `iIndex`, the task is inserted * at position 0; for a value greater than the current size of the aggregation, the task is inserted at * the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getTasks tasks}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllTasks(): sap.gantt.simple.BaseShape[]; /** * Removes a task from the aggregation {@link #getTasks tasks}. * * * @returns The removed task or `null` */ removeTask( /** * The task to remove or its index or id */ vTask: int | string | sap.gantt.simple.BaseShape ): sap.gantt.simple.BaseShape | null; } /** * PrintConfig is a class that holds the configuration for the print page. * * @since 1.127 */ class PrintConfig extends sap.ui.base.Object { /** * Creates and initializes a print configuration class. */ constructor( /** * The print configuration object can have keys as pageConfig, textConfig, marginConfig, durationConfig, * exportConfig and with values as defined in below structure. pageConfig - The page configuration * object with the following given keys. * - paperSize: Possible values are "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "Letter" | "Legal" | "Tabloid" * | "Custom". Select one of the provided values as the paper size of the print page. Default value is "A4". * * - unit: Possible values are "mm" | "cm" | "in". Select one of the provided values as the unit for * paper and margin measurements. Default value is "mm" for all paper size except "Letter", "Legal", "Tabloid" * where default value is "in". * - paperHeight: It must be a number, and it must be the unit specified within the page configuration. * It is considered only when paper size is "Custom". If paper size is not provided, then the default value * is height of the "A4" paper size. * - paperWidth: It must be a number, and it must be the unit specified within the page configuration. * It is considered only when the paper size is "Custom". If paper size is not provided, then "A4" is the * default width. * - portrait: It must be a boolean value as it is the orientation of the page. Default value is true. * * - showPageNumber: It must be a boolean value. It decides if the page number is to be displayed. Default * value is false. Not applicable in single page API. textConfig - The text configuration with * the following given keys. * - showHeaderText: It must be a boolean value. It is a flag to decide whether to show the header text * or not in the print page. Default value is false. * - showFooterText: It must be a boolean value. It is a flag to decide whether to show the footer text * or not in the print page. Default value is false. * - headerText: It must be a string value to display header text in the print page. Default value is * empty string. * - footerText: It must be a string value to display footer text in the print page. Default value is * empty string. marginConfig - The margin configuration object with the following given keys. * * - marginType: Possible values are "custom" | "none" | "default". Select one of the provided values * for the margin type of the print page. Default value is "default". * - marginLeft: It must be a number and it must be in the unit specified within the page configuration. * It is considered only when margin type is set as "custom". When the margin type is "default", the default * value is "5mm". If "none" is maintained, then the value is "0". * - marginBottom: It must be a number and it must be in the unit specified within the page configuration. * It is considered only when margin type is set as "custom". When the margin type is "default", the default * value is "5mm". If "none" is maintained, then the value is "0". * - marginRight: It must be a number and it must be in the unit specified within the page configuration. * It is considered only when margin type is set as "custom". When the margin type is "default", the default * value is "5mm". If "none" is maintained, then the value is "0". * - marginTop: It must be a number and it must be in the unit specified within the page configuration. * It is considered only when margin type is set as "custom". When the margin type is "default", the default * value is "5mm". If "none" is maintained, then the value is "0". * - marginLocked: It must be a boolean value. If set to true, it signifies all four margins get synced * on the same value. If the value is provided by the application, the margin top is considered for all * four margins. Default value is false and considered only when the margin type is "custom". * durationConfig - The duration configuration object with following given keys. * - duration: Possible values are "all" | "week" | "month" | "custom". Select the date duration of the * print page. Default value is "all". * - If the provided value is "all", then the total horizon is set as duration. Values provided in "startDate" * and "endDate" are ignored. * - If the provided value is "week", then the next week is set as duration. Values provided in "startDate" * and "endDate" are ignored. * - If the provided value is "month", then the next month is set as duration. Values provided in "startDate" * and "endDate" are ignored. * - If the provided value is "custom", then the value provided in "startDate" and "endDate" is set as * duration. * - startDate: This is a UI5 date object. It is the start date of a print page. It is considered only * when the "duration" is set as "custom". * - endDate: This is a UI5 date object. It is the end date of a print page. It is considered only when * the "duration" is set as "custom". exportConfig - The export configuration object with the * following given keys. * - exportAsJPEG: It must be a boolean value. It is a flag to decide whether to export the pdf as a * JPEG or not. Default value is true, which means that the exported PDF has content in a JPEG image format. * This is not applicable for single page API. * - exportRange: It must be a string value such as, '0,1". It is the range of the export. This is not * applicable for a single page API and when "exportAll" is set to true. * - exportAll: It must be a boolean value. It is a flag to decide whether to export all the pages or * not. Default value is true. This is not applicable for a single page API. * - compressionQuality: It must be a number between the range of 1 to 100. The quality of the compression * is applicable only when "exportAsJPEG" is set to true. Default value is 75. This is not applicable for * a single page API. * - scale: It must be a number between the range of 50 to 100. This is to scale the export up or down. * Default value is 100. This is not applicable for a single page API. * - multiplePage: It must be a boolean value. It is a flag to decide whether if the export is multiple * page. This is not applicable for a single page API. If the configuration is incorrect, errors * with the following codes are shown. * - TYPE_ERROR - If the type of the property is not as expected. * - RANGE_ERROR - If the value of the property is not in the expected range or not in the list specified. * * - REQUIRED_ERROR - If the required property is missing. */ printConfiguartionObject: object ); /** * Creates a new subclass of class sap.gantt.simple.PrintConfig with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.PrintConfig. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.base.Metadata; } /** * Enables the user to define print dialog footer buttons. Print dialog template offers an option to provide * custom buttons for the print dialog footer. * * @since 1.127 */ class PrintDialogTemplate extends sap.ui.base.ManagedObject { /** * Creates and initializes a new print dialog template class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$PrintDialogTemplateSettings ); /** * Creates and initializes a new print dialog template class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, it is generated automatically if no ID is provided. */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$PrintDialogTemplateSettings ); /** * Creates a new subclass of class sap.gantt.simple.PrintDialogTemplate with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.PrintDialogTemplate. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.base.ManagedObjectMetadata; /** * Adds some footerButton to the aggregation {@link #getFooterButtons footerButtons}. * * * @returns Reference to `this` in order to allow method chaining */ addFooterButton( /** * The footerButton to add; if empty, nothing is inserted */ oFooterButton: sap.m.Button ): this; /** * Destroys all the footerButtons in the aggregation {@link #getFooterButtons footerButtons}. * * * @returns Reference to `this` in order to allow method chaining */ destroyFooterButtons(): this; /** * Gets content of aggregation {@link #getFooterButtons footerButtons}. */ getFooterButtons(): sap.m.Button[]; /** * Checks for the provided `sap.m.Button` in the aggregation {@link #getFooterButtons footerButtons}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfFooterButton( /** * The footerButton whose index is looked for */ oFooterButton: sap.m.Button ): int; /** * Inserts a footerButton into the aggregation {@link #getFooterButtons footerButtons}. * * * @returns Reference to `this` in order to allow method chaining */ insertFooterButton( /** * The footerButton to insert; if empty, nothing is inserted */ oFooterButton: sap.m.Button, /** * The `0`-based index the footerButton should be inserted at; for a negative value of `iIndex`, the footerButton * is inserted at position 0; for a value greater than the current size of the aggregation, the footerButton * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getFooterButtons footerButtons}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllFooterButtons(): sap.m.Button[]; /** * Removes a footerButton from the aggregation {@link #getFooterButtons footerButtons}. * * * @returns The removed footerButton or `null` */ removeFooterButton( /** * The footerButton to remove or its index or id */ vFooterButton: int | string | sap.m.Button ): sap.m.Button | null; } /** * Enables users to visualize the relationship between visiable objects. */ class Relationship extends sap.gantt.simple.BasePath { /** * Creates and initializes a Relationship class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.simple.Relationship with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BasePath.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.Relationship. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEnableCurvedEdge enableCurvedEdge}. * * Flag to enable or disable rounded corners on relationship * * Default value is `false`. * * * @returns Value of property `enableCurvedEdge` */ getEnableCurvedEdge(): boolean; /** * Gets current value of property {@link #getEndShapeColor endShapeColor}. * * Defines the color of the shape at the end of a relationship * * Default value is `"sapChart_Data_InteractiveColor"`. * * * @returns Value of property `endShapeColor` */ getEndShapeColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getLShapeForTypeFS lShapeForTypeFS}. * * Flag to change shape from L-shaped lines to S-shaped lines for finish-to-start relationship type * * Default value is `true`. * * * @returns Value of property `lShapeForTypeFS` */ getLShapeForTypeFS(): boolean; /** * Gets current value of property {@link #getLShapeForTypeSF lShapeForTypeSF}. * * Flag to change shape from L-shaped lines to S-shaped lines for start-to-finish relationship type * * Default value is `true`. * * * @returns Value of property `lShapeForTypeSF` */ getLShapeForTypeSF(): boolean; /** * Gets current value of property {@link #getPredecessor predecessor}. * * predecessor of the `Relationship` * * This property specify where the relationship starts, `Relationship` lookup the shape instance based on * the property value * * * @returns Value of property `predecessor` */ getPredecessor(): string; /** * Gets current value of property {@link #getRelationshipOverDivider relationshipOverDivider}. * * Flag to have relationship pass over divider line * * Default value is `false`. * * @since 1.95 * * @returns Value of property `relationshipOverDivider` */ getRelationshipOverDivider(): boolean; /** * Gets current value of property {@link #getSelectedEndShapeColor selectedEndShapeColor}. * * Defines the color of the shape at the end of the selected relationship * * Default value is `"sapContent_Selected_ForegroundColor"`. * * * @returns Value of property `selectedEndShapeColor` */ getSelectedEndShapeColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getSelectedStartShapeColor selectedStartShapeColor}. * * Defines the color of the shape at the start of the selected relationship * * Default value is `"sapContent_Selected_ForegroundColor"`. * * * @returns Value of property `selectedStartShapeColor` */ getSelectedStartShapeColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getSelectedStroke selectedStroke}. * * Defines the stroke color when `Relationship` is selected * * Default value is `"sapContent_Selected_ForegroundColor"`. * * * @returns Value of property `selectedStroke` */ getSelectedStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getSelectedStrokeWidth selectedStrokeWidth}. * * Defines the stroke width when `Relationship` is selected * * Default value is `2`. * * * @returns Value of property `selectedStrokeWidth` */ getSelectedStrokeWidth(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getShapeTypeEnd shapeTypeEnd}. * * Defines the shape at the end of a relationship * * Default value is `Arrow`. * * * @returns Value of property `shapeTypeEnd` */ getShapeTypeEnd(): sap.gantt.simple.connectorType; /** * Gets current value of property {@link #getShapeTypeStart shapeTypeStart}. * * Defines the shape at the start of a relationship * * Default value is `None`. * * * @returns Value of property `shapeTypeStart` */ getShapeTypeStart(): sap.gantt.simple.connectorType; /** * Gets current value of property {@link #getStartShapeColor startShapeColor}. * * Defines the color of the shape at the start of a relationship * * Default value is `"sapChart_Data_InteractiveColor"`. * * * @returns Value of property `startShapeColor` */ getStartShapeColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getSuccessor successor}. * * successor of the `Relationship` * * This property specify where the relationship ends, `Relationship` lookup the shape instance by the property * value. * * * @returns Value of property `successor` */ getSuccessor(): string; /** * Gets current value of property {@link #getType type}. * * Defines the `Relationship` type. * * * @returns Value of property `type` */ getType(): sap.gantt.simple.RelationshipType; /** * Sets a new value for property {@link #getEnableCurvedEdge enableCurvedEdge}. * * Flag to enable or disable rounded corners on relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableCurvedEdge( /** * New value for property `enableCurvedEdge` */ bEnableCurvedEdge?: boolean ): this; /** * Sets a new value for property {@link #getEndShapeColor endShapeColor}. * * Defines the color of the shape at the end of a relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Data_InteractiveColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setEndShapeColor( /** * New value for property `endShapeColor` */ sEndShapeColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getLShapeForTypeFS lShapeForTypeFS}. * * Flag to change shape from L-shaped lines to S-shaped lines for finish-to-start relationship type * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setLShapeForTypeFS( /** * New value for property `lShapeForTypeFS` */ bLShapeForTypeFS?: boolean ): this; /** * Sets a new value for property {@link #getLShapeForTypeSF lShapeForTypeSF}. * * Flag to change shape from L-shaped lines to S-shaped lines for start-to-finish relationship type * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setLShapeForTypeSF( /** * New value for property `lShapeForTypeSF` */ bLShapeForTypeSF?: boolean ): this; /** * Sets a new value for property {@link #getPredecessor predecessor}. * * predecessor of the `Relationship` * * This property specify where the relationship starts, `Relationship` lookup the shape instance based on * the property value * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setPredecessor( /** * New value for property `predecessor` */ sPredecessor: string ): this; /** * Sets a new value for property {@link #getRelationshipOverDivider relationshipOverDivider}. * * Flag to have relationship pass over divider line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.95 * * @returns Reference to `this` in order to allow method chaining */ setRelationshipOverDivider( /** * New value for property `relationshipOverDivider` */ bRelationshipOverDivider?: boolean ): this; /** * Sets a new value for property {@link #getSelectedEndShapeColor selectedEndShapeColor}. * * Defines the color of the shape at the end of the selected relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_Selected_ForegroundColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedEndShapeColor( /** * New value for property `selectedEndShapeColor` */ sSelectedEndShapeColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getSelectedStartShapeColor selectedStartShapeColor}. * * Defines the color of the shape at the start of the selected relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_Selected_ForegroundColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedStartShapeColor( /** * New value for property `selectedStartShapeColor` */ sSelectedStartShapeColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getSelectedStroke selectedStroke}. * * Defines the stroke color when `Relationship` is selected * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_Selected_ForegroundColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedStroke( /** * New value for property `selectedStroke` */ sSelectedStroke?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getSelectedStrokeWidth selectedStrokeWidth}. * * Defines the stroke width when `Relationship` is selected * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `2`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectedStrokeWidth( /** * New value for property `selectedStrokeWidth` */ sSelectedStrokeWidth?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getShapeTypeEnd shapeTypeEnd}. * * Defines the shape at the end of a relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `Arrow`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeTypeEnd( /** * New value for property `shapeTypeEnd` */ sShapeTypeEnd?: sap.gantt.simple.connectorType ): this; /** * Sets a new value for property {@link #getShapeTypeStart shapeTypeStart}. * * Defines the shape at the start of a relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `None`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeTypeStart( /** * New value for property `shapeTypeStart` */ sShapeTypeStart?: sap.gantt.simple.connectorType ): this; /** * Sets a new value for property {@link #getStartShapeColor startShapeColor}. * * Defines the color of the shape at the start of a relationship * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Data_InteractiveColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setStartShapeColor( /** * New value for property `startShapeColor` */ sStartShapeColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getSuccessor successor}. * * successor of the `Relationship` * * This property specify where the relationship ends, `Relationship` lookup the shape instance by the property * value. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSuccessor( /** * New value for property `successor` */ sSuccessor: string ): this; /** * Sets a new value for property {@link #getType type}. * * Defines the `Relationship` type. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setType( /** * New value for property `type` */ sType: sap.gantt.simple.RelationshipType ): this; } /** * The ShapeScheme class will be defined as an aggregation on `sap.gantt.simple.GanttChartWithTable` It's * used to determine the overall row height, the expandable shapes row height */ class ShapeScheme extends sap.ui.core.Element { /** * Creates and initializes a new ShapeScheme class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$ShapeSchemeSettings ); /** * Creates and initializes a new ShapeScheme class * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$ShapeSchemeSettings ); /** * Creates a new subclass of class sap.gantt.simple.ShapeScheme with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.ShapeScheme. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getKey key}. * * key of the shape scheme * * * @returns Value of property `key` */ getKey(): string; /** * Gets current value of property {@link #getPrimary primary}. * * Whether the scheme apply on the shapes on the main row * * Default value is `false`. * * * @returns Value of property `primary` */ getPrimary(): boolean; /** * Gets current value of property {@link #getRowSpan rowSpan}. * * row span of the shape scheme. * * If the shape scheme is ***not*** a primary scheme, you need to define how many rows (rowSpan) the expanded * shape will take when rendering * * Default value is `1`. * * * @returns Value of property `rowSpan` */ getRowSpan(): int; /** * Sets a new value for property {@link #getKey key}. * * key of the shape scheme * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setKey( /** * New value for property `key` */ sKey?: string ): this; /** * Sets a new value for property {@link #getPrimary primary}. * * Whether the scheme apply on the shapes on the main row * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setPrimary( /** * New value for property `primary` */ bPrimary?: boolean ): this; /** * Sets a new value for property {@link #getRowSpan rowSpan}. * * row span of the shape scheme. * * If the shape scheme is ***not*** a primary scheme, you need to define how many rows (rowSpan) the expanded * shape will take when rendering * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setRowSpan( /** * New value for property `rowSpan` */ iRowSpan?: int ): this; } /** * class handles style properties for shapes. Different styles can be defined for different event states. * * * @since 1.130 */ class ShapeStyle extends sap.ui.core.Element { /** * Constructor for a new `ShapeStyle` * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$ShapeStyleSettings ); /** * Constructor for a new `ShapeStyle` * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$ShapeStyleSettings ); /** * Creates a new subclass of class sap.gantt.simple.ShapeStyle with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.ShapeStyle. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEventState eventState}. * * This property defines the event for which the style should be applied. This is a mandatory field. For * example, if the eventState is "dragDrop", the style is applied to ghost image of shape on drag. * * @since 1.130 * * @returns Value of property `eventState` */ getEventState(): sap.gantt.simple.shapeEventType; /** * Gets current value of property {@link #getFill fill}. * * For shapes and text, the fill property is a presentation attribute that defines the color (or any SVG * paint server like gradients or patterns) * * @since 1.130 * * @returns Value of property `fill` */ getFill(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getName name}. * * The name of the Shape style. This is a mandatory field. The name should be unique. * * @since 1.130 * * @returns Value of property `name` */ getName(): string; /** * Gets current value of property {@link #getStroke stroke}. * * The stroke property is a presentation property defining the color (or any SVG paint servers like gradients * or patterns) used to paint the outline of the shape. * * @since 1.130 * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getStrokeDasharray strokeDasharray}. * * The strokeDasharray property is a presentation property defining the pattern of dashes and gaps used * to paint the outline of the shape. * * @since 1.130 * * @returns Value of property `strokeDasharray` */ getStrokeDasharray(): string; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * Default value is `1`. * * @since 1.130 * * @returns Value of property `strokeWidth` */ getStrokeWidth(): float; /** * Gets current value of property {@link #getTextFill textFill}. * * Text color property. * * @since 1.130 * * @returns Value of property `textFill` */ getTextFill(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getVisible visible}. * * Visibility of the shape. * * Default value is `true`. * * @since 1.130 * * @returns Value of property `visible` */ getVisible(): boolean; /** * Sets a new value for property {@link #getEventState eventState}. * * This property defines the event for which the style should be applied. This is a mandatory field. For * example, if the eventState is "dragDrop", the style is applied to ghost image of shape on drag. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setEventState( /** * New value for property `eventState` */ sEventState: sap.gantt.simple.shapeEventType ): this; /** * Sets a new value for property {@link #getFill fill}. * * For shapes and text, the fill property is a presentation attribute that defines the color (or any SVG * paint server like gradients or patterns) * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setFill( /** * New value for property `fill` */ sFill: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getName name}. * * The name of the Shape style. This is a mandatory field. The name should be unique. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setName( /** * New value for property `name` */ sName: string ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * The stroke property is a presentation property defining the color (or any SVG paint servers like gradients * or patterns) used to paint the outline of the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * The strokeDasharray property is a presentation property defining the pattern of dashes and gaps used * to paint the outline of the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * The strokeWidth property is a presentation property defining the width of the stroke to be applied to * the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ fStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getTextFill textFill}. * * Text color property. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setTextFill( /** * New value for property `textFill` */ sTextFill: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getVisible visible}. * * Visibility of the shape. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.130 * * @returns Reference to `this` in order to allow method chaining */ setVisible( /** * New value for property `visible` */ bVisible?: boolean ): this; } /** * Stock Chart (SC) is a complex shape, you can use it to visualize stock utilization on different dimensions. * Each Stock dimension is represented by a line, you could define different colors for each dimension. * * * @since 1.95 */ class StockChart extends sap.gantt.simple.UtilizationChart { /** * Constructor for a new Stock Chart * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$StockChartSettings ); /** * Constructor for a new Stock Chart * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$StockChartSettings ); /** * Creates a new subclass of class sap.gantt.simple.StockChart with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.UtilizationChart.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.StockChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some stockChartDimension to the aggregation {@link #getStockChartDimensions stockChartDimensions}. * * * @returns Reference to `this` in order to allow method chaining */ addStockChartDimension( /** * The stockChartDimension to add; if empty, nothing is inserted */ oStockChartDimension: sap.gantt.simple.StockChartDimension ): this; /** * Destroys the customMiddleLine in the aggregation {@link #getCustomMiddleLine customMiddleLine}. * * @since 1.140 * * @returns Reference to `this` in order to allow method chaining */ destroyCustomMiddleLine(): this; /** * Destroys all the stockChartDimensions in the aggregation {@link #getStockChartDimensions stockChartDimensions}. * * * @returns Reference to `this` in order to allow method chaining */ destroyStockChartDimensions(): this; /** * Gets content of aggregation {@link #getCustomMiddleLine customMiddleLine}. * * Custom configuration for middle line to define stroke, stroke-width and stroke-dasharray. * * @since 1.140 */ getCustomMiddleLine(): sap.gantt.simple.BaseLine; /** * Gets current value of property {@link #getMaxValue maxValue}. * * Maximum value of the Chart. * * Default value is `100`. * * * @returns Value of property `maxValue` */ getMaxValue(): float; /** * Gets current value of property {@link #getMinValue minValue}. * * Minimum value of the Chart. * * Default value is `0`. * * * @returns Value of property `minValue` */ getMinValue(): float; /** * Gets current value of property {@link #getRelativeMiddleLinePoint relativeMiddleLinePoint}. * * value of middle line. * * Default value is `50`. * * @since 1.97 * * @returns Value of property `relativeMiddleLinePoint` */ getRelativeMiddleLinePoint(): float; /** * Gets current value of property {@link #getShowCompactView showCompactView}. * * Property to enable Compact View. * * Default value is `true`. * * @since 1.100.0 * * @returns Value of property `showCompactView` */ getShowCompactView(): boolean; /** * Gets current value of property {@link #getShowMiddleLine showMiddleLine}. * * Flag to show or hide the middle line in Stock Chart. By default the middle line is a gray dashed line * * Default value is `true`. * * * @returns Value of property `showMiddleLine` */ getShowMiddleLine(): boolean; /** * Gets content of aggregation {@link #getStockChartDimensions stockChartDimensions}. * * Dimensions of the Stock Chart */ getStockChartDimensions(): sap.gantt.simple.StockChartDimension[]; /** * Checks for the provided `sap.gantt.simple.StockChartDimension` in the aggregation {@link #getStockChartDimensions stockChartDimensions}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfStockChartDimension( /** * The stockChartDimension whose index is looked for */ oStockChartDimension: sap.gantt.simple.StockChartDimension ): int; /** * Inserts a stockChartDimension into the aggregation {@link #getStockChartDimensions stockChartDimensions}. * * * @returns Reference to `this` in order to allow method chaining */ insertStockChartDimension( /** * The stockChartDimension to insert; if empty, nothing is inserted */ oStockChartDimension: sap.gantt.simple.StockChartDimension, /** * The `0`-based index the stockChartDimension should be inserted at; for a negative value of `iIndex`, * the stockChartDimension is inserted at position 0; for a value greater than the current size of the aggregation, * the stockChartDimension is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getStockChartDimensions stockChartDimensions}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllStockChartDimensions(): sap.gantt.simple.StockChartDimension[]; /** * Removes a stockChartDimension from the aggregation {@link #getStockChartDimensions stockChartDimensions}. * * * @returns The removed stockChartDimension or `null` */ removeStockChartDimension( /** * The stockChartDimension to remove or its index or id */ vStockChartDimension: | int | string | sap.gantt.simple.StockChartDimension ): sap.gantt.simple.StockChartDimension | null; /** * Render a shape element with RenderManager * * @ui5-protected Do not call from applications (only from related classes in the framework) */ renderElement( /** * Render Manager */ oRm: object, /** * shape instance */ oElement: object ): void; /** * Sets the aggregated {@link #getCustomMiddleLine customMiddleLine}. * * @since 1.140 * * @returns Reference to `this` in order to allow method chaining */ setCustomMiddleLine( /** * The customMiddleLine to set */ oCustomMiddleLine: sap.gantt.simple.BaseLine ): this; /** * Sets a new value for property {@link #getMaxValue maxValue}. * * Maximum value of the Chart. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `100`. * * * @returns Reference to `this` in order to allow method chaining */ setMaxValue( /** * New value for property `maxValue` */ fMaxValue?: float ): this; /** * Sets a new value for property {@link #getMinValue minValue}. * * Minimum value of the Chart. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setMinValue( /** * New value for property `minValue` */ fMinValue?: float ): this; /** * Sets a new value for property {@link #getRelativeMiddleLinePoint relativeMiddleLinePoint}. * * value of middle line. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `50`. * * @since 1.97 * * @returns Reference to `this` in order to allow method chaining */ setRelativeMiddleLinePoint( /** * New value for property `relativeMiddleLinePoint` */ fRelativeMiddleLinePoint?: float ): this; /** * Sets a new value for property {@link #getShowCompactView showCompactView}. * * Property to enable Compact View. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.100.0 * * @returns Reference to `this` in order to allow method chaining */ setShowCompactView( /** * New value for property `showCompactView` */ bShowCompactView?: boolean ): this; /** * Sets a new value for property {@link #getShowMiddleLine showMiddleLine}. * * Flag to show or hide the middle line in Stock Chart. By default the middle line is a gray dashed line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowMiddleLine( /** * New value for property `showMiddleLine` */ bShowMiddleLine?: boolean ): this; } /** * Used for creating a utilization dimension for the {@link sap.gantt.simple.StockChart} It's derived from * the {@link sap.ui.core.Element} * * @since 1.95 */ class StockChartDimension extends sap.ui.core.Element { /** * Constructor for a new Stock Chart Dimension * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$StockChartDimensionSettings ); /** * Constructor for a new Stock Chart Dimension * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$StockChartDimensionSettings ); /** * Creates a new subclass of class sap.gantt.simple.StockChartDimension with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.StockChartDimension. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some stockChartPeriod to the aggregation {@link #getStockChartPeriods stockChartPeriods}. * * * @returns Reference to `this` in order to allow method chaining */ addStockChartPeriod( /** * The stockChartPeriod to add; if empty, nothing is inserted */ oStockChartPeriod: sap.gantt.simple.StockChartPeriod ): this; /** * Destroys all the stockChartPeriods in the aggregation {@link #getStockChartPeriods stockChartPeriods}. * * * @returns Reference to `this` in order to allow method chaining */ destroyStockChartPeriods(): this; /** * Gets current value of property {@link #getDimensionPathColor dimensionPathColor}. * * Sets the dimension path color * * Default value is `"sapContent_ForegroundBorderColor"`. * * * @returns Value of property `dimensionPathColor` */ getDimensionPathColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getDimensionStrokeDasharray dimensionStrokeDasharray}. * * strokeDashArray value of dimension line. * * @since 1.97 * * @returns Value of property `dimensionStrokeDasharray` */ getDimensionStrokeDasharray(): string; /** * Gets current value of property {@link #getDimensionStrokeWidth dimensionStrokeWidth}. * * stroke width of dimension line. * * Default value is `2`. * * @since 1.97 * * @returns Value of property `dimensionStrokeWidth` */ getDimensionStrokeWidth(): float; /** * Gets current value of property {@link #getIsThreshold isThreshold}. * * checks if the dimension is a threshold line. * * Default value is `false`. * * @since 1.97 * * @returns Value of property `isThreshold` */ getIsThreshold(): boolean; /** * Gets current value of property {@link #getName name}. * * The name of the Dimension * * * @returns Value of property `name` */ getName(): string; /** * Gets current value of property {@link #getRelativePoint relativePoint}. * * Sets the relative point to start the dimensions * * Default value is `0`. * * * @returns Value of property `relativePoint` */ getRelativePoint(): float; /** * Gets current value of property {@link #getRemainCapacityColor remainCapacityColor}. * * Sets the remaining capacity color * * Default value is `"sapChart_Sequence_Neutral_Plus1"`. * * * @returns Value of property `remainCapacityColor` */ getRemainCapacityColor(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getRemainCapacityColorNegative remainCapacityColorNegative}. * * Sets the remaining capacity color for negative values * * Default value is `"sapChart_Sequence_Bad_Plus1"`. * * * @returns Value of property `remainCapacityColorNegative` */ getRemainCapacityColorNegative(): sap.gantt.ValueSVGPaintServer; /** * Gets content of aggregation {@link #getStockChartPeriods stockChartPeriods}. * * Aggregation of periods are used to display the utilization line. * * The periods have to be in chronological order, you must ensure that it's sorted by `from`, otherwise * the SC can't ben display correctly. */ getStockChartPeriods(): sap.gantt.simple.StockChartPeriod[]; /** * Checks for the provided `sap.gantt.simple.StockChartPeriod` in the aggregation {@link #getStockChartPeriods stockChartPeriods}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfStockChartPeriod( /** * The stockChartPeriod whose index is looked for */ oStockChartPeriod: sap.gantt.simple.StockChartPeriod ): int; /** * Inserts a stockChartPeriod into the aggregation {@link #getStockChartPeriods stockChartPeriods}. * * * @returns Reference to `this` in order to allow method chaining */ insertStockChartPeriod( /** * The stockChartPeriod to insert; if empty, nothing is inserted */ oStockChartPeriod: sap.gantt.simple.StockChartPeriod, /** * The `0`-based index the stockChartPeriod should be inserted at; for a negative value of `iIndex`, the * stockChartPeriod is inserted at position 0; for a value greater than the current size of the aggregation, * the stockChartPeriod is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getStockChartPeriods stockChartPeriods}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllStockChartPeriods(): sap.gantt.simple.StockChartPeriod[]; /** * Removes a stockChartPeriod from the aggregation {@link #getStockChartPeriods stockChartPeriods}. * * * @returns The removed stockChartPeriod or `null` */ removeStockChartPeriod( /** * The stockChartPeriod to remove or its index or id */ vStockChartPeriod: int | string | sap.gantt.simple.StockChartPeriod ): sap.gantt.simple.StockChartPeriod | null; /** * Sets a new value for property {@link #getDimensionPathColor dimensionPathColor}. * * Sets the dimension path color * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_ForegroundBorderColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setDimensionPathColor( /** * New value for property `dimensionPathColor` */ sDimensionPathColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getDimensionStrokeDasharray dimensionStrokeDasharray}. * * strokeDashArray value of dimension line. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.97 * * @returns Reference to `this` in order to allow method chaining */ setDimensionStrokeDasharray( /** * New value for property `dimensionStrokeDasharray` */ sDimensionStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getDimensionStrokeWidth dimensionStrokeWidth}. * * stroke width of dimension line. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `2`. * * @since 1.97 * * @returns Reference to `this` in order to allow method chaining */ setDimensionStrokeWidth( /** * New value for property `dimensionStrokeWidth` */ fDimensionStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getIsThreshold isThreshold}. * * checks if the dimension is a threshold line. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * @since 1.97 * * @returns Reference to `this` in order to allow method chaining */ setIsThreshold( /** * New value for property `isThreshold` */ bIsThreshold?: boolean ): this; /** * Sets a new value for property {@link #getName name}. * * The name of the Dimension * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setName( /** * New value for property `name` */ sName: string ): this; /** * Sets a new value for property {@link #getRelativePoint relativePoint}. * * Sets the relative point to start the dimensions * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setRelativePoint( /** * New value for property `relativePoint` */ fRelativePoint?: float ): this; /** * Sets a new value for property {@link #getRemainCapacityColor remainCapacityColor}. * * Sets the remaining capacity color * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_Neutral_Plus1"`. * * * @returns Reference to `this` in order to allow method chaining */ setRemainCapacityColor( /** * New value for property `remainCapacityColor` */ sRemainCapacityColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getRemainCapacityColorNegative remainCapacityColorNegative}. * * Sets the remaining capacity color for negative values * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_Bad_Plus1"`. * * * @returns Reference to `this` in order to allow method chaining */ setRemainCapacityColorNegative( /** * New value for property `remainCapacityColorNegative` */ sRemainCapacityColorNegative?: sap.gantt.ValueSVGPaintServer ): this; } /** * StockChartPeriod is used by `sap.gantt.simple.StockChart` It represents a time period that a specific * stock usages If the tooltip aggregation is defined for a stock chart period, it is used to render the * tooltip. If explicitly set to " ", no tooltip is shown. If the tooltip aggregation is not provided, a * default tooltip is displayed in the format - dimension name:period value. * * StockChartPeriod is defined as an aggregation of `sap.gantt.simple.StockChartDimension` */ class StockChartPeriod extends sap.ui.core.Element { /** * Constructor for a new Stock Chart Period * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$StockChartPeriodSettings ); /** * Constructor for a new Stock Chart Period * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$StockChartPeriodSettings ); /** * Creates a new subclass of class sap.gantt.simple.StockChartPeriod with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.StockChartPeriod. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getFrom from}. * * from date time of period * * * @returns Value of property `from` */ getFrom(): object; /** * Gets current value of property {@link #getTo to}. * * to date time of period * * * @returns Value of property `to` */ getTo(): object; /** * Gets current value of property {@link #getValue value}. * * The value of the actual consumption capacity. * * Default value is `0`. * * * @returns Value of property `value` */ getValue(): float; /** * Sets a new value for property {@link #getFrom from}. * * from date time of period * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFrom( /** * New value for property `from` */ oFrom: object ): this; /** * Sets a new value for property {@link #getTo to}. * * to date time of period * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTo( /** * New value for property `to` */ oTo: object ): this; /** * Sets a new value for property {@link #getValue value}. * * The value of the actual consumption capacity. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setValue( /** * New value for property `value` */ fValue?: float ): this; } /** * Utilization Bar Chart (UBC) is a complex shape, you can use it to visualize a resource the capacity * and actual consumption of a resource. There is a `line` in UBC to visualize the actual capacity * consumption, you can change the `line` color by property `stroke` */ class UtilizationBarChart extends sap.gantt.simple.UtilizationChart { /** * Constructor for a new Utilization Bar * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationBarChartSettings ); /** * Constructor for a new Utilization Bar * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationBarChartSettings ); /** * Creates a new subclass of class sap.gantt.simple.UtilizationBarChart with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.UtilizationChart.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.UtilizationBarChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some period to the aggregation {@link #getPeriods periods}. * * * @returns Reference to `this` in order to allow method chaining */ addPeriod( /** * The period to add; if empty, nothing is inserted */ oPeriod: sap.gantt.simple.UtilizationPeriod ): this; /** * Destroys all the periods in the aggregation {@link #getPeriods periods}. * * * @returns Reference to `this` in order to allow method chaining */ destroyPeriods(): this; /** * Gets content of aggregation {@link #getPeriods periods}. * * Periods of UtilizationBarChart */ getPeriods(): sap.gantt.simple.UtilizationPeriod[]; /** * Checks for the provided `sap.gantt.simple.UtilizationPeriod` in the aggregation {@link #getPeriods periods}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfPeriod( /** * The period whose index is looked for */ oPeriod: sap.gantt.simple.UtilizationPeriod ): int; /** * Inserts a period into the aggregation {@link #getPeriods periods}. * * * @returns Reference to `this` in order to allow method chaining */ insertPeriod( /** * The period to insert; if empty, nothing is inserted */ oPeriod: sap.gantt.simple.UtilizationPeriod, /** * The `0`-based index the period should be inserted at; for a negative value of `iIndex`, the period is * inserted at position 0; for a value greater than the current size of the aggregation, the period is inserted * at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getPeriods periods}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllPeriods(): sap.gantt.simple.UtilizationPeriod[]; /** * Removes a period from the aggregation {@link #getPeriods periods}. * * * @returns The removed period or `null` */ removePeriod( /** * The period to remove or its index or id */ vPeriod: int | string | sap.gantt.simple.UtilizationPeriod ): sap.gantt.simple.UtilizationPeriod | null; /** * Render a shape element with RenderManager * * @ui5-protected Do not call from applications (only from related classes in the framework) */ renderElement( /** * Render Manager */ oRm: object, /** * shape instance */ oElement: object ): void; /** * Sets a new value for property {@link #getConsumptionColor consumptionColor}. * * The color fills in capacity consumption * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_ForegroundColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setConsumptionColor( /** * New value for property `consumptionColor` */ sConsumptionColor?: sap.gantt.ValueSVGPaintServer ): this; } /** * UtilizationChart is an abstract base class which inherits by UtilizationLineChart and UtilizationBarChart. * It defines the common properties and functions that reused by both shapes. */ abstract class UtilizationChart extends sap.gantt.simple.BaseShape { /** * Constructor for a new UtilizationChart, to be called by subclasses only. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationChartSettings ); /** * Constructor for a new UtilizationChart, to be called by subclasses only. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationChartSettings ); /** * Creates a new subclass of class sap.gantt.simple.UtilizationChart with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.BaseShape.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.UtilizationChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getHeight height}. * * Defines the `UtilizationLineChart or UtilizationBarChart` height. * * Default value is `"inherit"`. * * * @returns Value of property `height` */ getHeight(): sap.gantt.SVGLength; /** * Gets current value of property {@link #getOverConsumptionMargin overConsumptionMargin}. * * Defines the margin height of UtilizationChart * * Default value is `25.0`. * * * @returns Value of property `overConsumptionMargin` */ getOverConsumptionMargin(): float; /** * Calculate the actual width of the shape. The width is calculated based on the time range provided by * property `time` and `endTime` bindings. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns the width of the shape */ getWidth(): float; /** * Convert the bound time to svg x coordination * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns the x coordination */ getX(): float; /** * Sets a new value for property {@link #getHeight height}. * * Defines the `UtilizationLineChart or UtilizationBarChart` height. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"inherit"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.gantt.SVGLength ): this; /** * Sets a new value for property {@link #getOverConsumptionColor overConsumptionColor}. * * Defines the over comsumption color, or fill pattern. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapChart_Sequence_Bad_Plus1"`. * * * @returns Reference to `this` in order to allow method chaining */ setOverConsumptionColor( /** * New value for property `overConsumptionColor` */ sOverConsumptionColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getOverConsumptionMargin overConsumptionMargin}. * * Defines the margin height of UtilizationChart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `25.0`. * * * @returns Reference to `this` in order to allow method chaining */ setOverConsumptionMargin( /** * New value for property `overConsumptionMargin` */ fOverConsumptionMargin?: float ): this; /** * Sets a new value for property {@link #getRemainCapacityColor remainCapacityColor}. * * Defines the remain capacity color. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_ForegroundColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setRemainCapacityColor( /** * New value for property `remainCapacityColor` */ sRemainCapacityColor?: sap.gantt.ValueSVGPaintServer ): this; } /** * Used for creating a utilization dimension for the {@link sap.gantt.simple.UtilizationLineChart} It's * derived from the {@link sap.ui.core.Element} */ class UtilizationDimension extends sap.ui.core.Element { /** * Constructor for a new Utilization Dimension * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationDimensionSettings ); /** * Constructor for a new Utilization Dimension * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationDimensionSettings ); /** * Creates a new subclass of class sap.gantt.simple.UtilizationDimension with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.UtilizationDimension. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some period to the aggregation {@link #getPeriods periods}. * * * @returns Reference to `this` in order to allow method chaining */ addPeriod( /** * The period to add; if empty, nothing is inserted */ oPeriod: sap.gantt.simple.UtilizationPeriod ): this; /** * Destroys all the periods in the aggregation {@link #getPeriods periods}. * * * @returns Reference to `this` in order to allow method chaining */ destroyPeriods(): this; /** * Gets current value of property {@link #getName name}. * * The name of the utilization dimension, e.g. Total Weight * * * @returns Value of property `name` */ getName(): string; /** * Gets content of aggregation {@link #getPeriods periods}. * * Aggregation of periods are used to display the utilization line. * * The periods have to be in chronological order, you must ensure that it's sorted by `from`, otherwise * the ULC can't ben display correctly. */ getPeriods(): sap.gantt.simple.UtilizationPeriod[]; /** * Checks for the provided `sap.gantt.simple.UtilizationPeriod` in the aggregation {@link #getPeriods periods}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfPeriod( /** * The period whose index is looked for */ oPeriod: sap.gantt.simple.UtilizationPeriod ): int; /** * Inserts a period into the aggregation {@link #getPeriods periods}. * * * @returns Reference to `this` in order to allow method chaining */ insertPeriod( /** * The period to insert; if empty, nothing is inserted */ oPeriod: sap.gantt.simple.UtilizationPeriod, /** * The `0`-based index the period should be inserted at; for a negative value of `iIndex`, the period is * inserted at position 0; for a value greater than the current size of the aggregation, the period is inserted * at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getPeriods periods}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllPeriods(): sap.gantt.simple.UtilizationPeriod[]; /** * Removes a period from the aggregation {@link #getPeriods periods}. * * * @returns The removed period or `null` */ removePeriod( /** * The period to remove or its index or id */ vPeriod: int | string | sap.gantt.simple.UtilizationPeriod ): sap.gantt.simple.UtilizationPeriod | null; /** * Sets a new value for property {@link #getDimensionColor dimensionColor}. * * Sets the dimension color * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"sapContent_ForegroundBorderColor"`. * * * @returns Reference to `this` in order to allow method chaining */ setDimensionColor( /** * New value for property `dimensionColor` */ sDimensionColor?: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getName name}. * * The name of the utilization dimension, e.g. Total Weight * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setName( /** * New value for property `name` */ sName: string ): this; } /** * Utilization Line Chart (ULC) is a complex shape, you can use it to visualize resource utilization * on different dimensions. Each Utilization dimension is represented by a line, you could define different * colors for each dimension. * * You can define the ULC background by property `fill`, the default background color is light gray */ class UtilizationLineChart extends sap.gantt.simple.UtilizationChart { /** * Constructor for a new Utilization Line * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationLineChartSettings ); /** * Constructor for a new Utilization Line * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationLineChartSettings ); /** * Creates a new subclass of class sap.gantt.simple.UtilizationLineChart with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.UtilizationChart.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.UtilizationLineChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some dimension to the aggregation {@link #getDimensions dimensions}. * * * @returns Reference to `this` in order to allow method chaining */ addDimension( /** * The dimension to add; if empty, nothing is inserted */ oDimension: sap.gantt.simple.UtilizationDimension ): this; /** * Destroys all the dimensions in the aggregation {@link #getDimensions dimensions}. * * * @returns Reference to `this` in order to allow method chaining */ destroyDimensions(): this; /** * Gets content of aggregation {@link #getDimensions dimensions}. * * Dimensions of the Utilization Line Chart */ getDimensions(): sap.gantt.simple.UtilizationDimension[]; /** * ID of the element which is the current target of the association {@link #getOverConsumptionPattern overConsumptionPattern}, * or `null`. */ getOverConsumptionPattern(): sap.ui.core.ID | null; /** * Gets current value of property {@link #getShowMiddleLine showMiddleLine}. * * Flag to show or hide the middle line in Utilization Line Chart. The value of the `overConsumptionMargin` * will affect the middle line position. By default the middle line is a gray dashed line * * Default value is `true`. * * * @returns Value of property `showMiddleLine` */ getShowMiddleLine(): boolean; /** * Checks for the provided `sap.gantt.simple.UtilizationDimension` in the aggregation {@link #getDimensions dimensions}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDimension( /** * The dimension whose index is looked for */ oDimension: sap.gantt.simple.UtilizationDimension ): int; /** * Inserts a dimension into the aggregation {@link #getDimensions dimensions}. * * * @returns Reference to `this` in order to allow method chaining */ insertDimension( /** * The dimension to insert; if empty, nothing is inserted */ oDimension: sap.gantt.simple.UtilizationDimension, /** * The `0`-based index the dimension should be inserted at; for a negative value of `iIndex`, the dimension * is inserted at position 0; for a value greater than the current size of the aggregation, the dimension * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getDimensions dimensions}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllDimensions(): sap.gantt.simple.UtilizationDimension[]; /** * Removes a dimension from the aggregation {@link #getDimensions dimensions}. * * * @returns The removed dimension or `null` */ removeDimension( /** * The dimension to remove or its index or id */ vDimension: int | string | sap.gantt.simple.UtilizationDimension ): sap.gantt.simple.UtilizationDimension | null; /** * Render a shape element with RenderManager * * @ui5-protected Do not call from applications (only from related classes in the framework) */ renderElement( /** * Render Manager */ oRm: object, /** * shape instance */ oElement: object ): void; /** * Sets the associated {@link #getOverConsumptionPattern overConsumptionPattern}. * * * @returns Reference to `this` in order to allow method chaining */ setOverConsumptionPattern( /** * ID of an element which becomes the new target of this overConsumptionPattern association; alternatively, * an element instance may be given */ oOverConsumptionPattern: sap.ui.core.ID | sap.gantt.def.DefBase ): this; /** * Sets a new value for property {@link #getShowMiddleLine showMiddleLine}. * * Flag to show or hide the middle line in Utilization Line Chart. The value of the `overConsumptionMargin` * will affect the middle line position. By default the middle line is a gray dashed line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setShowMiddleLine( /** * New value for property `showMiddleLine` */ bShowMiddleLine?: boolean ): this; } /** * UtilizationPeriod is used by `sap.gantt.simple.UtilizationLineChart` and `sap.gantt.simple.UtilizationBarChart` * It represents a time period that a specific resource utilization usages * * UtilizationPeriod is either defined as a direct aggregation of UtilizationBarChart, or an aggregation * of `sap.gantt.simple.UtilizationDimension` */ class UtilizationPeriod extends sap.ui.core.Element { /** * Constructor for a new `UtilizationPeriod` * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationPeriodSettings ); /** * Constructor for a new `UtilizationPeriod` * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.simple.$UtilizationPeriodSettings ); /** * Creates a new subclass of class sap.gantt.simple.UtilizationPeriod with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.simple.UtilizationPeriod. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getDemand demand}. * * The required/demand capacity, it's only used for used for UtilizationBarChart * * Default value is `0`. * * * @returns Value of property `demand` */ getDemand(): float; /** * Gets current value of property {@link #getFrom from}. * * from date time of period * * * @returns Value of property `from` */ getFrom(): object; /** * Gets current value of property {@link #getSupply supply}. * * The resource supply capacity, it's only used for UtilizationBarChart * * Default value is `0`. * * * @returns Value of property `supply` */ getSupply(): float; /** * Gets current value of property {@link #getTo to}. * * to date time of period * * * @returns Value of property `to` */ getTo(): object; /** * Gets current value of property {@link #getValue value}. * * The value of the actual consumption capacity. It's only relevant for UtilizationLineChart * * Default value is `0`. * * * @returns Value of property `value` */ getValue(): float; /** * Sets a new value for property {@link #getDemand demand}. * * The required/demand capacity, it's only used for used for UtilizationBarChart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setDemand( /** * New value for property `demand` */ fDemand?: float ): this; /** * Sets a new value for property {@link #getFrom from}. * * from date time of period * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setFrom( /** * New value for property `from` */ oFrom: object ): this; /** * Sets a new value for property {@link #getSupply supply}. * * The resource supply capacity, it's only used for UtilizationBarChart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setSupply( /** * New value for property `supply` */ fSupply?: float ): this; /** * Sets a new value for property {@link #getTo to}. * * to date time of period * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTo( /** * New value for property `to` */ oTo: object ): this; /** * Sets a new value for property {@link #getValue value}. * * The value of the actual consumption capacity. It's only relevant for UtilizationLineChart * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `0`. * * * @returns Reference to `this` in order to allow method chaining */ setValue( /** * New value for property `value` */ fValue?: float ): this; } /** * Type connector shapes for relationship * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.connectorType'. * * @since 1.86 */ enum connectorType { Arrow = "Arrow", Circle = "Circle", Diamond = "Diamond", /** * primarily used for overlapping of connector shapes. */ HorizontalRectangle = "HorizontalRectangle", None = "None", Square = "Square", VerticalRectangle = "VerticalRectangle", } /** * Toolbar placeholders for a Gantt chart container. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.ContainerToolbarPlaceholderType'. */ enum ContainerToolbarPlaceholderType { /** * /** A bird eye toolbar button. */ BirdEyeButton = "BirdEyeButton", /** * A display type toolbar button. */ DisplayTypeButton = "DisplayTypeButton", /** * A legend toolbar button. */ LegendButton = "LegendButton", /** * Settings toolbar button. */ SettingButton = "SettingButton", /** * A toolbar spacer that can be used between buttons. */ Spacer = "Spacer", /** * A time zoom control. */ TimeZoomControl = "TimeZoomControl", /** * A Variant Management button. */ VariantManagement = "VariantManagement", } /** * Defines the relationship between the operator and the property names using the findAll method * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.findByOperator'. * * @since 1.100 */ enum findByOperator { AND = "AND", OR = "OR", } /** * Gantt chart display types. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.GanttChartWithTableDisplayType'. */ enum GanttChartWithTableDisplayType { /** * The {@link sap.gantt.simple.GanttChartWithTable} control displays both a table and a chart. */ Both = "Both", /** * The {@link sap.gantt.simple.GanttChartWithTable} control displays only a chart. */ Chart = "Chart", /** * The {@link sap.gantt.simple.GanttChartWithTable} control displays only a table. */ Table = "Table", } /** * Configuration options for horizontal alignment of title of the shape representing a Task. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.horizontalTextAlignment'. * * @since 1.81 */ enum horizontalTextAlignment { /** * Shape title moves dynamically with horizontal scroll and zoom. * * @since 1.96 */ Dynamic = "Dynamic", /** * Shape title is aligned at the end of the x-axis. */ End = "End", /** * Shape title is aligned at the center of the x-axis. */ Middle = "Middle", /** * Shape title is aligned at the start of the x-axis. */ Start = "Start", } /** * Predefined orientations for the {@link sap.gantt.simple.LegendShapeGroup} control. * * @since 1.84 */ enum LegendShapeGroupOrientation { /** * Horizontal orientation */ Horizontal = "Horizontal", /** * Overlap orientation */ Overlap = "Overlap", /** * Vertical orientation */ Vertical = "Vertical", } /** * Predefined marker types for the {@link sap.gantt.simple.AdhocLine} control. * * @since 1.84 */ enum MarkerType { /** * Diamond Marker Type */ Diamond = "Diamond", /** * No Marker present */ None = "None", } /** * Relationship type of predecessor. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.RelationshipPredecessorType'. * * @since 1.147.0 */ enum RelationshipPredecessorType { /** * Predecessor type is Finish. */ Finish = "Finish", /** * Predecessor type is Start. */ Start = "Start", } /** * Size of shapes in the relationship * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.relationshipShapeSize'. * * @since 1.96 */ enum relationshipShapeSize { Large = "Large", Medium = "Medium", Small = "Small", } /** * Type of relationship shape. `sap.gantt.simple.RelationshipType` shall be used to define property type * on class `sap.gantt.simple.Relationship` * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.RelationshipType'. * * @since 1.60.0 */ enum RelationshipType { /** * Finish to finish type. */ FinishToFinish = "FinishToFinish", /** * Finish to start type. */ FinishToStart = "FinishToStart", /** * Start to finish type. */ StartToFinish = "StartToFinish", /** * Start to start type. */ StartToStart = "StartToStart", } /** * Defines eventType for Shape style configuration. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.shapeEventType'. * * @since 1.130 */ enum shapeEventType { /** * Event type for drag and drop of shape. */ DragDrop = "DragDrop", } /** * Configuration options for vertical alignment of title of the shape representing a Task. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.verticalTextAlignment'. * * @since 1.81 */ enum verticalTextAlignment { /** * Shape title is aligned at the bottom of the shape. */ Bottom = "Bottom", /** * Shape title is aligned at the center of the shape. */ Center = "Center", /** * Shape title is aligned at the top of the shape. */ Top = "Top", } /** * This specifies the sub reason detailing why the visible horizon is changing * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.VisibleHorizonUpdateSubType'. * * @since 1.100 */ enum VisibleHorizonUpdateSubType { /** * Default value of VisibleHorizonUpdateSubType when VisibleHorizonUpdateType is other than ZoomLevelChanged. */ NotApplicable = "NotApplicable", /** * The Visible horizon is updated when zoomed in. */ ZoomIn = "ZoomIn", /** * The Visible horizon is updated when zoomed out. */ ZoomOut = "ZoomOut", } /** * This type specifies the reason why visible horizon is changing. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.VisibleHorizonUpdateType'. * * @since 1.68 */ enum VisibleHorizonUpdateType { /** * The visible horizon is updated when a user scrolls using the Gantt chart horizontal scroll bar. */ HorizontalScroll = "HorizontalScroll", /** * The visible horizon is updated when Gantt chart gets rendered (which is triggered by an `onAfterRenderer` * event) and needs to set visible horizon based on the chart configuration. */ InitialRender = "InitialRender", /** * The update is triggered by the user scrolling horizontally with a mouse wheel (Ctrl + Shift + mouse wheel). */ MouseWheelZoom = "MouseWheelZoom", /** * The update is triggered by the {@link sap.gantt.simple.GanttChartContainer}. This update is used to keep * all Gantt charts in one container in sync. When the user performs an action that changes the visible * horizon, an event with the action type is fired on the original Gantt chart and `SyncVisibleHorizon` * gets fired on all other Gantt charts in the container. */ SyncVisibleHorizon = "SyncVisibleHorizon", /** * An update happens when the user selects a time period using the Z key + mouse. */ TimePeriodZooming = "TimePeriodZooming", /** * The visible horizon is updated when the total horizon of a Gantt chart changes or is set. Changes in * total horizon may affect the visible horizon as well. */ TotalHorizonUpdated = "TotalHorizonUpdated", /** * The visible horizon is updated when the zoom level is changed, either by the user or the application. */ ZoomLevelChanged = "ZoomLevelChanged", } /** * Configaration option for yAxis Column. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.yAxisColumnContent'. * * @since 1.102 */ enum yAxisColumnContent { /** * yAis column has only threshold with width of 52px. */ OnlyThreshold = "OnlyThreshold", /** * yAxis column has threshold and label with width of 124px. */ ThresholdwithLabel = "ThresholdwithLabel", /** * yAxis column has threshold, label and UOM with Width of 192px. */ ThresholdwithLabelandUOM = "ThresholdwithLabelandUOM", /** * yAxis column has threshould and UOM with width of 128px. */ ThresholdwithUOM = "ThresholdwithUOM", } /** * Event object of the AdhocDiamond#mouseEnter event. */ type AdhocDiamond$MouseEnterEvent = sap.ui.base.Event< AdhocDiamond$MouseEnterEventParameters, AdhocDiamond >; /** * Event object of the AdhocDiamond#mouseLeave event. */ type AdhocDiamond$MouseLeaveEvent = sap.ui.base.Event< AdhocDiamond$MouseLeaveEventParameters, AdhocDiamond >; /** * Event object of the AdhocDiamond#press event. */ type AdhocDiamond$PressEvent = sap.ui.base.Event< AdhocDiamond$PressEventParameters, AdhocDiamond >; /** * Event object of the AdhocLine#adhoclineDrop event. */ type AdhocLine$AdhoclineDropEvent = sap.ui.base.Event< AdhocLine$AdhoclineDropEventParameters, AdhocLine >; /** * Event object of the AdhocLine#markerMouseEnter event. */ type AdhocLine$MarkerMouseEnterEvent = sap.ui.base.Event< AdhocLine$MarkerMouseEnterEventParameters, AdhocLine >; /** * Event object of the AdhocLine#markerMouseLeave event. */ type AdhocLine$MarkerMouseLeaveEvent = sap.ui.base.Event< AdhocLine$MarkerMouseLeaveEventParameters, AdhocLine >; /** * Event object of the AdhocLine#markerPress event. */ type AdhocLine$MarkerPressEvent = sap.ui.base.Event< AdhocLine$MarkerPressEventParameters, AdhocLine >; /** * Event object of the BaseDeltaRectangle#mouseEnter event. */ type BaseDeltaRectangle$MouseEnterEvent = sap.ui.base.Event< BaseDeltaRectangle$MouseEnterEventParameters, BaseDeltaRectangle >; /** * Event object of the BaseDeltaRectangle#mouseLeave event. */ type BaseDeltaRectangle$MouseLeaveEvent = sap.ui.base.Event< BaseDeltaRectangle$MouseLeaveEventParameters, BaseDeltaRectangle >; /** * Event object of the BaseDeltaRectangle#press event. */ type BaseDeltaRectangle$PressEvent = sap.ui.base.Event< BaseDeltaRectangle$PressEventParameters, BaseDeltaRectangle >; /** * Event object of the BaseTriangle#mouseEnter event. */ type BaseTriangle$MouseEnterEvent = sap.ui.base.Event< BaseTriangle$MouseEnterEventParameters, BaseTriangle >; /** * Event object of the BaseTriangle#mouseLeave event. */ type BaseTriangle$MouseLeaveEvent = sap.ui.base.Event< BaseTriangle$MouseLeaveEventParameters, BaseTriangle >; /** * Event object of the BaseTriangle#press event. */ type BaseTriangle$PressEvent = sap.ui.base.Event< BaseTriangle$PressEventParameters, BaseTriangle >; /** * Event object of the ContainerToolbar#birdEyeButtonPress event. */ type ContainerToolbar$BirdEyeButtonPressEvent = sap.ui.base.Event< ContainerToolbar$BirdEyeButtonPressEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#closeFindButtonPress event. */ type ContainerToolbar$CloseFindButtonPressEvent = sap.ui.base.Event< ContainerToolbar$CloseFindButtonPressEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#closeSidePanelButtonPress event. */ type ContainerToolbar$CloseSidePanelButtonPressEvent = sap.ui.base.Event< ContainerToolbar$CloseSidePanelButtonPressEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#displayTypeChange event. */ type ContainerToolbar$DisplayTypeChangeEvent = sap.ui.base.Event< ContainerToolbar$DisplayTypeChangeEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#findButtonPress event. */ type ContainerToolbar$FindButtonPressEvent = sap.ui.base.Event< ContainerToolbar$FindButtonPressEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#findPopupButtonPress event. */ type ContainerToolbar$FindPopupButtonPressEvent = sap.ui.base.Event< ContainerToolbar$FindPopupButtonPressEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#ganttSidePanel event. */ type ContainerToolbar$GanttSidePanelEvent = sap.ui.base.Event< ContainerToolbar$GanttSidePanelEventParameters, ContainerToolbar >; /** * Event object of the ContainerToolbar#zoomStopChange event. */ type ContainerToolbar$ZoomStopChangeEvent = sap.ui.base.Event< ContainerToolbar$ZoomStopChangeEventParameters, ContainerToolbar >; /** * Event object of the DeltaLine#deltalineDrop event. */ type DeltaLine$DeltalineDropEvent = sap.ui.base.Event< DeltaLine$DeltalineDropEventParameters, DeltaLine >; /** * Event object of the DeltaLine#deltalineResize event. */ type DeltaLine$DeltalineResizeEvent = sap.ui.base.Event< DeltaLine$DeltalineResizeEventParameters, DeltaLine >; /** * Event object of the DeltaLine#mouseEnter event. */ type DeltaLine$MouseEnterEvent = sap.ui.base.Event< DeltaLine$MouseEnterEventParameters, DeltaLine >; /** * Event object of the DeltaLine#mouseLeave event. */ type DeltaLine$MouseLeaveEvent = sap.ui.base.Event< DeltaLine$MouseLeaveEventParameters, DeltaLine >; /** * Event object of the DeltaLine#press event. */ type DeltaLine$PressEvent = sap.ui.base.Event< DeltaLine$PressEventParameters, DeltaLine >; /** * Event object of the GanttChartContainer#customGanttSearchResult event. */ type GanttChartContainer$CustomGanttSearchResultEvent = sap.ui.base.Event< GanttChartContainer$CustomGanttSearchResultEventParameters, GanttChartContainer >; /** * Event object of the GanttChartContainer#customSettingChange event. */ type GanttChartContainer$CustomSettingChangeEvent = sap.ui.base.Event< GanttChartContainer$CustomSettingChangeEventParameters, GanttChartContainer >; /** * Event object of the GanttChartContainer#ganttSearchSidePanelList event. */ type GanttChartContainer$GanttSearchSidePanelListEvent = sap.ui.base.Event< GanttChartContainer$GanttSearchSidePanelListEventParameters, GanttChartContainer >; /** * Event object of the GanttChartContainer#searchSelectionChanged event. */ type GanttChartContainer$SearchSelectionChangedEvent = sap.ui.base.Event< GanttChartContainer$SearchSelectionChangedEventParameters, GanttChartContainer >; /** * Event object of the GanttChartContainer#variantApplied event. */ type GanttChartContainer$VariantAppliedEvent = sap.ui.base.Event< GanttChartContainer$VariantAppliedEventParameters, GanttChartContainer >; /** * Event object of the GanttChartWithTable#dragStart event. */ type GanttChartWithTable$DragStartEvent = sap.ui.base.Event< GanttChartWithTable$DragStartEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#futureShapeConnect event. */ type GanttChartWithTable$FutureShapeConnectEvent = sap.ui.base.Event< GanttChartWithTable$FutureShapeConnectEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#renderingComplete event. */ type GanttChartWithTable$RenderingCompleteEvent = sap.ui.base.Event< GanttChartWithTable$RenderingCompleteEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeConnect event. */ type GanttChartWithTable$ShapeConnectEvent = sap.ui.base.Event< GanttChartWithTable$ShapeConnectEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeConnectorList event. */ type GanttChartWithTable$ShapeConnectorListEvent = sap.ui.base.Event< GanttChartWithTable$ShapeConnectorListEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeContextMenu event. */ type GanttChartWithTable$ShapeContextMenuEvent = sap.ui.base.Event< GanttChartWithTable$ShapeContextMenuEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeDoubleClick event. */ type GanttChartWithTable$ShapeDoubleClickEvent = sap.ui.base.Event< GanttChartWithTable$ShapeDoubleClickEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeDrop event. */ type GanttChartWithTable$ShapeDropEvent = sap.ui.base.Event< GanttChartWithTable$ShapeDropEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeHighlightChange event. */ type GanttChartWithTable$ShapeHighlightChangeEvent = sap.ui.base.Event< GanttChartWithTable$ShapeHighlightChangeEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeMouseEnter event. */ type GanttChartWithTable$ShapeMouseEnterEvent = sap.ui.base.Event< GanttChartWithTable$ShapeMouseEnterEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeMouseLeave event. */ type GanttChartWithTable$ShapeMouseLeaveEvent = sap.ui.base.Event< GanttChartWithTable$ShapeMouseLeaveEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapePress event. */ type GanttChartWithTable$ShapePressEvent = sap.ui.base.Event< GanttChartWithTable$ShapePressEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeResize event. */ type GanttChartWithTable$ShapeResizeEvent = sap.ui.base.Event< GanttChartWithTable$ShapeResizeEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#shapeSelectionChange event. */ type GanttChartWithTable$ShapeSelectionChangeEvent = sap.ui.base.Event< GanttChartWithTable$ShapeSelectionChangeEventParameters, GanttChartWithTable >; /** * Event object of the GanttChartWithTable#visibleHorizonUpdate event. */ type GanttChartWithTable$VisibleHorizonUpdateEvent = sap.ui.base.Event< GanttChartWithTable$VisibleHorizonUpdateEventParameters, GanttChartWithTable >; /** * Event object of the ListLegendItem#interactiveChange event. */ type ListLegendItem$InteractiveChangeEvent = sap.ui.base.Event< ListLegendItem$InteractiveChangeEventParameters, ListLegendItem >; } namespace skipTime { /** * Describes the settings that can be provided to the DayInterval constructor. */ interface $DayIntervalSettings extends sap.ui.core.$ElementSettings { /** * Non-working day, supported values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", * "Sunday" * * @since 1.126 */ day?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Time intervals to be skipped for the day. * * @since 1.126 */ skipIntervals?: | sap.gantt.skipTime.SkipInterval[] | sap.gantt.skipTime.SkipInterval | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Describes the settings that can be provided to the SkipInterval constructor. */ interface $SkipIntervalSettings extends sap.ui.core.$ElementSettings { /** * Start time with in a day from which time is to be skipped. Format: HHMMSS. * * @since 1.126 */ startTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * End time with in a day till which time is to be skipped. Format: HHMMSS. * * @since 1.126 */ endTime?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the SkipPattern constructor. */ interface $SkipPatternSettings extends sap.ui.core.$ElementSettings {} /** * Describes the settings that can be provided to the WeekPattern constructor. */ interface $WeekPatternSettings extends sap.gantt.skipTime.$SkipPatternSettings { /** * If this property is set to true, week pattern is applied to the gantt chart. * * @since 1.126 */ enabled?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Day-wise non working time. These intervals are going to be skipped for the specified day. * * @since 1.126 */ dailyIntervals?: | sap.gantt.skipTime.DayInterval[] | sap.gantt.skipTime.DayInterval | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Weekly non working time. This time is going to be skipped for all the days unless dailyIntervals are * defined for that day. * * @since 1.126 */ weeklyIntervals?: | sap.gantt.skipTime.SkipInterval[] | sap.gantt.skipTime.SkipInterval | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Enables the user to define skip time pattern within a day. * * @since 1.126 */ class DayInterval extends sap.ui.core.Element { /** * Creates and initializes a new class for day interval. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. The ID is generated automatically if it is not provided. */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.skipTime.DayInterval with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.skipTime.DayInterval. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some skipInterval to the aggregation {@link #getSkipIntervals skipIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ addSkipInterval( /** * The skipInterval to add; if empty, nothing is inserted */ oSkipInterval: sap.gantt.skipTime.SkipInterval ): this; /** * Destroys all the skipIntervals in the aggregation {@link #getSkipIntervals skipIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ destroySkipIntervals(): this; /** * Gets current value of property {@link #getDay day}. * * Non-working day, supported values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", * "Sunday" * * @since 1.126 * * @returns Value of property `day` */ getDay(): string; /** * Gets content of aggregation {@link #getSkipIntervals skipIntervals}. * * Time intervals to be skipped for the day. * * @since 1.126 */ getSkipIntervals(): sap.gantt.skipTime.SkipInterval[]; /** * Checks for the provided `sap.gantt.skipTime.SkipInterval` in the aggregation {@link #getSkipIntervals skipIntervals}. * and returns its index if found or -1 otherwise. * * @since 1.126 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfSkipInterval( /** * The skipInterval whose index is looked for */ oSkipInterval: sap.gantt.skipTime.SkipInterval ): int; /** * Inserts a skipInterval into the aggregation {@link #getSkipIntervals skipIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ insertSkipInterval( /** * The skipInterval to insert; if empty, nothing is inserted */ oSkipInterval: sap.gantt.skipTime.SkipInterval, /** * The `0`-based index the skipInterval should be inserted at; for a negative value of `iIndex`, the skipInterval * is inserted at position 0; for a value greater than the current size of the aggregation, the skipInterval * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getSkipIntervals skipIntervals}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.126 * * @returns An array of the removed elements (might be empty) */ removeAllSkipIntervals(): sap.gantt.skipTime.SkipInterval[]; /** * Removes a skipInterval from the aggregation {@link #getSkipIntervals skipIntervals}. * * @since 1.126 * * @returns The removed skipInterval or `null` */ removeSkipInterval( /** * The skipInterval to remove or its index or id */ vSkipInterval: int | string | sap.gantt.skipTime.SkipInterval ): sap.gantt.skipTime.SkipInterval | null; /** * Sets a new value for property {@link #getDay day}. * * Non-working day, supported values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", * "Sunday" * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ setDay( /** * New value for property `day` */ sDay: string ): this; } /** * @since 1.126 */ class DiscontinuousProvider { /** * Creates and initializes a new class for DiscontinuousProvider. Enables the user to define custom discontinuous * provider. */ constructor(); /** * If the given date falls within a discontinuity (i.e. an excluded domain range), it must be shifted backwards * to the discontinuity boundary. Otherwise, it should be returned unchanged. * * * @returns Returns the clamped down date object. */ clampDown( /** * Date object to be clamped down. */ oDate: object ): object; /** * If the given date falls within a discontinuity (i.e. an excluded domain range), it must be moved forward * to the discontinuity boundary. Otherwise, it should be returned unchanged. * * * @returns Returns the clamped up date object. */ clampUp( /** * Date object to be clamped up. */ oDate: object ): object; /** * Returns the number of milliseconds between the start and the end dates after removing the discontinuities * in between. * * * @returns Returns the number of milliseconds between the start and the end dates after removing the discontinuities * in between. */ distance( /** * Start date object. */ start: object, /** * End date object. */ end: object ): number; /** * When given a date and an offset in milliseconds, the date must be advanced by the offset value, skipping * any discontinuities, to return the final value. * * * @returns Returns date object representing the original date advanced by the given offset. */ offset( /** * Date object. */ oDate: object, /** * Milliseconds to be added to the date. */ offset: number ): object; /** * Returns whether the discontinuous provider is to be used or not. This method can be overriden to define * custom conditions. * * * @returns Returns whether the discontinuous provider is to be used or not. */ useDiscontinuousScale(): boolean; } /** * Enables the user to define skip time interval. * * @since 1.126 */ class SkipInterval extends sap.ui.core.Element { /** * Creates and initializes a new class for skip interval. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. The ID is generated automatically if it is not provided. */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.skipTime.SkipInterval with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.skipTime.SkipInterval. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getEndTime endTime}. * * End time with in a day till which time is to be skipped. Format: HHMMSS. * * Default value is `"235959"`. * * @since 1.126 * * @returns Value of property `endTime` */ getEndTime(): string; /** * Gets current value of property {@link #getStartTime startTime}. * * Start time with in a day from which time is to be skipped. Format: HHMMSS. * * Default value is `"000000"`. * * @since 1.126 * * @returns Value of property `startTime` */ getStartTime(): string; /** * Sets a new value for property {@link #getEndTime endTime}. * * End time with in a day till which time is to be skipped. Format: HHMMSS. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"235959"`. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ setEndTime( /** * New value for property `endTime` */ sEndTime?: string ): this; /** * Sets a new value for property {@link #getStartTime startTime}. * * Start time with in a day from which time is to be skipped. Format: HHMMSS. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"000000"`. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ setStartTime( /** * New value for property `startTime` */ sStartTime?: string ): this; } /** * Enables the user to define skip time pattern. * * @since 1.126 */ class SkipPattern extends sap.ui.core.Element { /** * Creates and initializes a new class for skip time pattern. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. * * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element } * can be used. */ constructor( /** * ID of the new control. The ID is generated automatically if it is not provided. */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.skipTime.SkipPattern with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.skipTime.SkipPattern. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Returns the discontinuity provider of the skip pattern. Default value is null * * * @returns Discontinuity provider of the skip pattern */ getDiscontinuityProvider(): sap.gantt.skipTime.DiscontinuousProvider; /** * Updates the discontinuity provider for the gantt chart timeline. */ updateDiscontinuousProvider( /** * Discontinuous provider to be set */ oDiscontinuousProvider: sap.gantt.skipTime.DiscontinuousProvider, /** * Flag to suppress re-rendering of the control. */ bSuppressInvalidate: Boolean ): void; } /** * Enables the user to define weekly skip pattern. Non working hours are to be removed for timeLineOptions * with innerInterval unit as sap.gantt.config.TimeUnit.day, sap.gantt.config.TimeUnit.hour * and sap.gantt.config.TimeUnit.minute * * @since 1.126 */ class WeekPattern extends sap.gantt.skipTime.SkipPattern { /** * Creates and initializes a new class for weekly time pattern. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control. The ID is generated automatically if it is not provided. */ sId?: string, /** * Initial settings for the new control */ mSetting?: object ); /** * Creates a new subclass of class sap.gantt.skipTime.WeekPattern with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.skipTime.SkipPattern.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.skipTime.WeekPattern. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some dailyInterval to the aggregation {@link #getDailyIntervals dailyIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ addDailyInterval( /** * The dailyInterval to add; if empty, nothing is inserted */ oDailyInterval: sap.gantt.skipTime.DayInterval ): this; /** * Adds some weeklyInterval to the aggregation {@link #getWeeklyIntervals weeklyIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ addWeeklyInterval( /** * The weeklyInterval to add; if empty, nothing is inserted */ oWeeklyInterval: sap.gantt.skipTime.SkipInterval ): this; /** * Destroys all the dailyIntervals in the aggregation {@link #getDailyIntervals dailyIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ destroyDailyIntervals(): this; /** * Destroys all the weeklyIntervals in the aggregation {@link #getWeeklyIntervals weeklyIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ destroyWeeklyIntervals(): this; /** * Gets content of aggregation {@link #getDailyIntervals dailyIntervals}. * * Day-wise non working time. These intervals are going to be skipped for the specified day. * * @since 1.126 */ getDailyIntervals(): sap.gantt.skipTime.DayInterval[]; /** * Utility method to calculate the discontinuity provider for the week pattern * * * @returns returns the discontinuity provider of the week pattern */ getDiscontinuityProvider(): sap.gantt.skipTime.DiscontinuousProvider; /** * Gets current value of property {@link #getEnabled enabled}. * * If this property is set to true, week pattern is applied to the gantt chart. * * Default value is `true`. * * @since 1.126 * * @returns Value of property `enabled` */ getEnabled(): boolean; /** * Gets content of aggregation {@link #getWeeklyIntervals weeklyIntervals}. * * Weekly non working time. This time is going to be skipped for all the days unless dailyIntervals are * defined for that day. * * @since 1.126 */ getWeeklyIntervals(): sap.gantt.skipTime.SkipInterval[]; /** * Checks for the provided `sap.gantt.skipTime.DayInterval` in the aggregation {@link #getDailyIntervals dailyIntervals}. * and returns its index if found or -1 otherwise. * * @since 1.126 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfDailyInterval( /** * The dailyInterval whose index is looked for */ oDailyInterval: sap.gantt.skipTime.DayInterval ): int; /** * Checks for the provided `sap.gantt.skipTime.SkipInterval` in the aggregation {@link #getWeeklyIntervals weeklyIntervals}. * and returns its index if found or -1 otherwise. * * @since 1.126 * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfWeeklyInterval( /** * The weeklyInterval whose index is looked for */ oWeeklyInterval: sap.gantt.skipTime.SkipInterval ): int; /** * Inserts a dailyInterval into the aggregation {@link #getDailyIntervals dailyIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ insertDailyInterval( /** * The dailyInterval to insert; if empty, nothing is inserted */ oDailyInterval: sap.gantt.skipTime.DayInterval, /** * The `0`-based index the dailyInterval should be inserted at; for a negative value of `iIndex`, the dailyInterval * is inserted at position 0; for a value greater than the current size of the aggregation, the dailyInterval * is inserted at the last position */ iIndex: int ): this; /** * Inserts a weeklyInterval into the aggregation {@link #getWeeklyIntervals weeklyIntervals}. * * @since 1.126 * * @returns Reference to `this` in order to allow method chaining */ insertWeeklyInterval( /** * The weeklyInterval to insert; if empty, nothing is inserted */ oWeeklyInterval: sap.gantt.skipTime.SkipInterval, /** * The `0`-based index the weeklyInterval should be inserted at; for a negative value of `iIndex`, the weeklyInterval * is inserted at position 0; for a value greater than the current size of the aggregation, the weeklyInterval * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getDailyIntervals dailyIntervals}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.126 * * @returns An array of the removed elements (might be empty) */ removeAllDailyIntervals(): sap.gantt.skipTime.DayInterval[]; /** * Removes all the controls from the aggregation {@link #getWeeklyIntervals weeklyIntervals}. * * Additionally, it unregisters them from the hosting UIArea. * * @since 1.126 * * @returns An array of the removed elements (might be empty) */ removeAllWeeklyIntervals(): sap.gantt.skipTime.SkipInterval[]; /** * Removes a dailyInterval from the aggregation {@link #getDailyIntervals dailyIntervals}. * * @since 1.126 * * @returns The removed dailyInterval or `null` */ removeDailyInterval( /** * The dailyInterval to remove or its index or id */ vDailyInterval: int | string | sap.gantt.skipTime.DayInterval ): sap.gantt.skipTime.DayInterval | null; /** * Removes a weeklyInterval from the aggregation {@link #getWeeklyIntervals weeklyIntervals}. * * @since 1.126 * * @returns The removed weeklyInterval or `null` */ removeWeeklyInterval( /** * The weeklyInterval to remove or its index or id */ vWeeklyInterval: int | string | sap.gantt.skipTime.SkipInterval ): sap.gantt.skipTime.SkipInterval | null; /** * Method to enable or disable the week pattern */ setEnabled( /** * flag to enable or disable the week pattern */ bEnable: boolean ): void; } } /** * Describes the settings that can be provided to the AdhocLine constructor. * * @deprecated As of version 1.84. {@link sap.gantt.simple.AdhocLine} should be used instead. */ interface $AdhocLineSettings extends sap.ui.core.$ElementSettings { /** * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and the URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. */ stroke?: | sap.gantt.ValueSVGPaintServer | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Standard SVG 'stroke-width' attribute. */ strokeWidth?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Standard SVG 'stroke-dasharray' attribute. */ strokeDasharray?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Standard SVG 'stroke-opacity' attribute. */ strokeOpacity?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Time stamp of the adhoc line */ timeStamp?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Description of the time stamp */ description?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; } /** * Describes the settings that can be provided to the GanttChart constructor. * * @deprecated As of version 1.64. {@link sap.gantt.simple.GanttChartWithTable} should be used instead. */ interface $GanttChartSettings extends sap.gantt.$GanttChartBaseSettings {} /** * Describes the settings that can be provided to the GanttChartBase constructor. * * @deprecated As of version 1.64. the concept has been discarded. */ interface $GanttChartBaseSettings extends sap.ui.core.$ControlSettings { /** * Width of the control. */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the control. */ height?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to show and hide the cursor line that follows the cursor. */ enableCursorLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to show and hide the present time indicator */ enableNowLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to show and hide vertical lines representing intervals along the time axis */ enableVerticalLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to show and hide adhoc lines representing milestones and events along the time axis */ enableAdhocLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to show or hide the start time and end time of a shape when you drag it along the time line */ enableShapeTimeDisplay?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Zoom level in float. * * This property allows application developers to control the zoom level. When GanttChart is embedded in * `sap.gantt.GanttChartContainer`, you do not have to manage this property. * * @deprecated As of version 1.44. please use sap.gantt.axistime.AxisTimeStrategy to change the zoom rate */ timeZoomRate?: | float | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Current mode of the Gantt chart. * * If no value is provided, GanttChart uses a default mode key. */ mode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Selection mode for GanttChart * * This property controls whether multiToggle or multi-selection mode is enabled for the tree table and * for shapes. It may also affect the visual appearance, such as whether check boxes are available for selection. * From version 1.40 to upper versions, multi is replaced by multiToggle selection mode in tree table * * @deprecated As of version 1.50.7. Please use `tableProperties`(e.g. `setTableproperties({selectionMode: * "None"})`) to control table selection mode, and `shapeSelectionMode`(e.g. `setShapeSelectionMode("None")`) * to control shape selection mode. */ selectionMode?: | sap.gantt.SelectionMode | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Selection mode for shape * * This property controls 4 shape selection modes(MultiWithKeyboard, Multiple, Single, None). You can use * `setShapeSelectionMode("None")` to set shape selection mode. */ shapeSelectionMode?: | sap.gantt.SelectionMode | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * This property control the size of the selection panel. The value will be overwritten by property `selectionPanelSize` * in `sap.gantt.config.ContainerLayout` if you are using GanttChartContainer * * In the current library, `sap.gantt.GanttChart` does not have a selection panel. `sap.gantt.GanttChartWithTable` * has a selection panel implemented by `sap.ui.table.TreeTable`. */ selectionPanelSize?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Current hierarchy key referencing from configuration property `hierarchies`. * * If `source select group` is enabled in the Gantt chart toolbar, the current hierarchy name referenced * from `hierarchies` by this property is shown. For applications that do not require this function, this * property can be ignored and a default value is used. */ hierarchyKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * row height of Gantt Chart. If this property is set, then it will change the Table row height on the left */ baseRowHeight?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * SVG reusable element definitions. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. We recommend that * you set the type of this argument to `sap.gantt.def.SvgDefs`. Otherwise some properties you set may not * function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ svgDefs?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of the time axis. * * @deprecated As of version 1.44. replaced by aggregation 'axisTimeStrategy'. Planning horizon, initial * horizon, and zoom level can be configured with this property. If not provided, a default configuration * is provided. We recommend that you set the type of this argument to `sap.gantt.config.TimeAxis`. Otherwise * some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ timeAxis?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of available modes. * * List of available modes. To apply modes to toolbar and shapes, further configuration is needed. If not * provided, a default configuration is provided. We recommend that you set the type of this argument to * `sap.gantt.config.Mode[]`. Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ modes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of toolbar schemes. * * List of available toolbar schemes. If not provided, a default configuration is provided. We recommend * that you set the type of this argument to `sap.gantt.config.ToolbarScheme[]`. Otherwise some properties * you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ toolbarSchemes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of hierarchies. * * List of available hierarchies. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.Hierarchy[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ hierarchies?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of object types. * * List of available object types. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.ObjectType[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ objectTypes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of chart schemes. * * List of available chart schemes. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.ChartScheme[]`. Otherwise some properties you * set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ chartSchemes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of locale settings. * * Most locale settings can be configured in sap.ui.configuration objects. Only the time zone and day-light-saving * time option are provided by locale settings. We recommend that you set the type of this argument to `sap.gantt.config.Locale`. * Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ locale?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of shape data names and the attribute in raw data that serves as 'id'. * * This property value should be an array, either an array of string, each string represents one available * shape data name, or an array of object, each object specifies the shape data name and data attribute * that will serves as 'id'. This configuration must be provided if SVG graphics are needed. * * Example: ` new sap.gantt.GanttChartWithTable({ shapeDataNames: ["task", "order"], shapes: [ new sap.gantt.shape.Shape({ * key: "calendar", shapeDataName: "task" shapeClassName: "sap.gantt.shape.Rectangle", // ... }) ] // ... * }); ` * * or in XMLView ` * ` */ shapeDataNames?: | sap.gantt.GenericArray | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of shape data against shape classes. * * List of available shapes. The shapes configured in this list are initialized inside `sap.gantt.GanttChartBase`. * Note that for JSON data binding, this configuration supports deep structured data structures. For ODATA * binding, only one level is supported. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. * Otherwise some properties you set may not function properly. */ shapes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Specifies on which layer adhoc lines reside. By default, adhoc lines are on top of all other shapes and * patterns. */ adhocLineLayer?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Exposed properties from TreeTable */ tableProperties?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Defines how to adjust the relative position between a draggable shape and the mouse pointer. */ ghostAlignment?: string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Flag whether to show the `nowLine` in UTC or in local time. * * @since 1.68 */ nowLineInUTC?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Rows of `sap.gantt.GanttChartBase` * * This aggregation is delegated to `sap.gantt.table.TreeTable`. Rows are provide a base for shapes with * a category of `"InRowShape"`. The configuration in property `shapes` determines how the shapes are drawn. */ rows?: | sap.ui.core.Control[] | sap.ui.core.Control | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Relationships of shapes carried by rows. * * Similar to rows, this aggregation does not request templates either. Relationships are a special shape * with a category of `"crossRowShape"`. How relationships are drawn is also specified in configuration * property `shapes`. */ relationships?: | sap.ui.core.Control[] | sap.ui.core.Control | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Paint servers consumed by special shape `sap.gantt.shape.cal.Calendar`. * * This aggregation is designed to improve performance of calendar shapes. Rows usually share a similar * definition with calendar shapes. It is possible to define a Calendar paint server to draw only one rectangle * for each row. Notes for classes extended from `sap.gantt.def.cal.CalendarDef`: Different from property * `paintServerDefs`, paint servers defined here must implement method `getDefNode()` instead of method * `getDefString()`. */ calendarDef?: sap.gantt.def.cal.CalendarDefs; /** * This aggregation controls the zoom strategies and zoom rate in Gantt Chart. */ axisTimeStrategy?: sap.gantt.axistime.AxisTimeStrategyBase; /** * The aggregation is used to store configuration of adhoc lines, adhoc lines represent milestones and events * in axis time. */ adhocLines?: | sap.gantt.AdhocLine[] | sap.gantt.AdhocLine | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Event fired when the hierarchy key has changed in the Gantt chart toolbar. */ ganttChartSwitchRequested?: ( oEvent: GanttChartBase$GanttChartSwitchRequestedEvent ) => void; /** * Splitter (if exists) resized. * * If a splitter exists and synchronization is needed with other Gantt charts in the container, use this * event. You can listen for this event and obtain `zoomInfo`. */ splitterResize?: (oEvent: GanttChartBase$SplitterResizeEvent) => void; /** * Horizontal (time axis) scroll. * * If the horizontal scroll bar exists and synchronization is needed with other Gantt charts in the container, * use this event. * * @deprecated As of version 1.44. the concept has been discarded. */ horizontalScroll?: (oEvent: GanttChartBase$HorizontalScrollEvent) => void; /** * Vertical (row axis) scroll. * * If the vertical scroll bar exists and synchronization is needed with other Gantt charts in the container, * use this event. * * @deprecated As of version 1.44. the concept has been discarded. */ verticalScroll?: (oEvent: GanttChartBase$VerticalScrollEvent) => void; /** * Event is fired when a mouse-hover occurs in the graphic part. */ chartMouseOver?: (oEvent: GanttChartBase$ChartMouseOverEvent) => void; /** * Event fired when the chart is clicked */ chartClick?: (oEvent: GanttChartBase$ChartClickEvent) => void; /** * Event fired when the chart is double-clicked */ chartDoubleClick?: (oEvent: GanttChartBase$ChartDoubleClickEvent) => void; /** * Event fired when the chart is right-clicked */ chartRightClick?: (oEvent: GanttChartBase$ChartRightClickEvent) => void; chartDragEnter?: (oEvent: GanttChartBase$ChartDragEnterEvent) => void; chartDragLeave?: (oEvent: GanttChartBase$ChartDragLeaveEvent) => void; /** * Event fired when the selection status of rows changes. */ rowSelectionChange?: ( oEvent: GanttChartBase$RowSelectionChangeEvent ) => void; /** * Event fired when the selection status of relationships changes. */ relationshipSelectionChange?: ( oEvent: GanttChartBase$RelationshipSelectionChangeEvent ) => void; /** * Event fired when the selection status of shapes changes. */ shapeSelectionChange?: ( oEvent: GanttChartBase$ShapeSelectionChangeEvent ) => void; /** * Event fired when a drag-and-drop occurs on one or more selected shapes. */ shapeDragEnd?: (oEvent: GanttChartBase$ShapeDragEndEvent) => void; /** * Event fired when toggle node of the tree table. */ treeTableToggleEvent?: ( oEvent: GanttChartBase$TreeTableToggleEventEvent ) => void; /** * Event fired when a resizing occurs on a resized shape. */ shapeResizeEnd?: (oEvent: GanttChartBase$ShapeResizeEndEvent) => void; /** * Event fired when the following conditions are met: The 'enableHover' property of Shape is set to true. * You hover the mouse on a shape and keep the mouse stationary for 500 millisecond or longer. */ shapeMouseEnter?: (oEvent: GanttChartBase$ShapeMouseEnterEvent) => void; /** * Event fired when the following conditions are met: The 'enableHover' property of Shape is set to true. * You move the mouse out of a shape and keep the mouse stationary for 500 millisecond or longer. */ shapeMouseLeave?: (oEvent: GanttChartBase$ShapeMouseLeaveEvent) => void; } /** * Describes the settings that can be provided to the GanttChartContainer constructor. * * @deprecated As of version 1.64. {@link sap.gantt.simple.GanttChartContainer} should be used instead. */ interface $GanttChartContainerSettings extends sap.ui.core.$ControlSettings { /** * Width of the control */ width?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Height of the control */ height?: | sap.ui.core.CSSSize | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to enable and disable scroll synchronization by time on instances of aggregation `ganttCharts`. */ enableTimeScrollSync?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to enable and disable the cursor line that follows the cursor. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableCursorLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to enable and disable the present time indicator. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableNowLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to enable and disable vertical lines representing intervals along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableVerticalLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Switch to enable and disable adhoc lines representing milestones and events along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. */ enableAdhocLine?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Definitions of paint servers used for advanced shape features around SVG fill, stroke, and filter attributes. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. It is easier to * assign a common paint server definition in this class instead of in separate instances of `sap.gantt.GanttChartBase`. * Then the definition is rendered only once. We recommend that you set the type of this argument to `sap.gantt.def.SvgDefs`. * Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ svgDefs?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * List of available modes. To apply modes to the toolbar and shapes, further configuration is needed. (specifically, * in property `toolbarSchemes`, and properties `toolbarSchemes` and `shapes` in the `GanttChartBase` class)If * not provided, a default configuration is provided. We recommend that you set the type of this argument * to `sap.gantt.config.Mode[]`. Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ modes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * List of available toolbar schemes. If not provided, a default configuration is provided. We recommend * that you set the type of this argument to `sap.gantt.config.ToolbarScheme[]`. Otherwise some properties * you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ toolbarSchemes?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * List of available hierarchies. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.Hierarchy[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ hierarchies?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Configuration of container layouts. * * This configuration affects the data source selection ComboBox in the Container Toolbar. When the selection * changes, the `ganttChartChangeRequested` event that is triggered includes the corresponding layout key. * We recommend that you set the type of this argument to `sap.gantt.config.ContainerLayout[]`. Otherwise * some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. */ containerLayouts?: | object[] | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Current container layout key. * * This is a key configured in configuration property `containerLayouts`. */ containerLayoutKey?: | string | sap.ui.base.ManagedObject.PropertyBindingInfo; /** * Define the amount of units to change the time zoom slider. * * See {@link sap.m.Slider#setStep} * * @deprecated As of version 1.44. please set the property 'stepCountOfSlider' in sap.gantt.config.TimeZoomGroup. */ sliderStep?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Define the maximum number of Gantt charts to be displayed on the same screen. When this number is reached, * the "Add Gantt Chart" button is grayed out. */ maxNumOfGanttCharts?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Legend shown when the legend button is clicked. * * This aggregation is used only when the Legend button is configured to be shown in the container toolbar. */ legendContainer?: sap.gantt.legend.LegendContainer; /** * Controls to be placed in the container toolbar. * * This aggregation is used only when the custom toolbar item group is configured to be shown in the * container toolbar. Different from the built-in buttons that are configured to be shown or hidden, these * controls are free controls created by the application, but are only placed in the container toolbar by * `sap.gantt.GanttChartContainer`. * * If the source selection group is enabled and you want your application to use a container layout pre-configured * for a specific source, you can implement your custom toolbar items in the event handler of event `ganttChartChangeRequested`. */ customToolbarItems?: | sap.ui.core.Control[] | sap.ui.core.Control | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Gantt chart instances. * * If the source selection group is enabled and you want your application to use a container layout pre-configured * for a specific source, you can implement your custom toolbar items in the event handler of event `ganttChartChangeRequested`. * Provide a Gantt chart in compliance with the container layout setting. GanttChartContainer is designed * to support Gantt chart layouts that include multiple views. */ ganttCharts?: | sap.gantt.GanttChartBase[] | sap.gantt.GanttChartBase | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Event fired when any change occurs in the toolbar that requests the application to change aggregation * `ganttCharts`. * * Possible triggers are: * - The source selection group changes in the container toolbar. * - The layout group button is clicked in the container toolbar. * - The source selection group changes in the Gantt chart toolbar. */ ganttChartChangeRequested?: ( oEvent: GanttChartContainer$GanttChartChangeRequestedEvent ) => void; /** * Event fired when the custom settings are changed. * * The Custom settings are application-injected settings that can be configured in the Settings dialog box. * This event allows the application to handle these settings. Only check boxes are supported. */ customSettingChange?: ( oEvent: GanttChartContainer$CustomSettingChangeEvent ) => void; /** * Event fired when toggle node of the tree table. */ treeTableToggleEvent?: ( oEvent: GanttChartContainer$TreeTableToggleEventEvent ) => void; } /** * Describes the settings that can be provided to the GanttChartWithTable constructor. * * @deprecated As of version 1.64. {@link sap.gantt.simple.GanttChartWithTable} should be used instead. */ interface $GanttChartWithTableSettings extends sap.gantt.$GanttChartBaseSettings { /** * A customized cell callback function. * * This property is used in combination with configuration property `hierarchies`. If aggregation `columns` * is provided, property `hierarchies` and `cellCallback` is ignored. Otherwise property `hierarchies` must * provide column configurations that cellCallback can consume. And if cellCallback is not provided, a default * cellCallback adds `sap.m.Label` to fill cells. */ cellCallback?: | object | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Property propagated from `sap.ui.table.Table`. * * @deprecated We don't recommend use this property */ fixedColumnCount?: | int | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; /** * Controls to be place in Gantt chart toolbar. * * This aggregation is only used when custom toolbar item group is configured to be shown in Gantt chart * toolbar. Different from the build-in buttons which are configured to be shown or hidden, these are free * controls created by application, only they are placed in container toolbar by `sap.gantt.GanttChartWithTable`. * * A common recommendation is, if the source select group is enabled and application wants to pre-configure * container layouts, the chance to change custom toolbar items is in event handler to event `ganttChartSwitchRequested`. */ customToolbarItems?: | sap.ui.core.Control[] | sap.ui.core.Control | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; /** * Aggregation delegated to `sap.ui.table.Table`. * * If this aggregation is provided, call back property `cellCallBack` and column configuration in property * `hierarchies` will be ignored. */ columns?: | sap.ui.table.Column[] | sap.ui.table.Column | sap.ui.base.ManagedObject.AggregationBindingInfo | `{${string}}`; } /** * Parameters of the GanttChartBase#chartClick event. */ interface GanttChartBase$ChartClickEventParameters { /** * Row object information of the current mouse point. */ objectInfo?: object; /** * Leading row object information. null when it is the main row at current mouse point; main row information * if it is one of multiple expanded rows. */ leadingRowInfo?: object; /** * Timestamp of the current mouse point. */ timestamp?: string; /** * ID of SVG. */ svgId?: string; /** * [x, y] Coordinate of the current mouse point in the SVG coordinate system. */ svgCoordinate?: int[]; /** * Effective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode. */ effectingMode?: string; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#chartDoubleClick event. */ interface GanttChartBase$ChartDoubleClickEventParameters { /** * Row object information of the current mouse point. */ objectInfo?: object; /** * Leading row object information. null when it is the main row at current mouse point; main row information * if it is one of multiple expanded rows. */ leadingRowInfo?: object; /** * Timestamp of the current mouse point. */ timestamp?: string; /** * ID of SVG. */ svgId?: string; /** * [x, y] Coordinate of the current mouse point in the SVG coordinate system. */ svgCoordinate?: int[]; /** * Effective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode. */ effectingMode?: string; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#chartDragEnter event. */ interface GanttChartBase$ChartDragEnterEventParameters { originEvent?: object; } /** * Parameters of the GanttChartBase#chartDragLeave event. */ interface GanttChartBase$ChartDragLeaveEventParameters { originEvent?: object; draggingSource?: object; } /** * Parameters of the GanttChartBase#chartMouseOver event. */ interface GanttChartBase$ChartMouseOverEventParameters { /** * Row object information of the current mouse point. */ objectInfo?: object; /** * Leading row object information. null when it is the main row at current mouse point; main row information * if it is one of multiple expanded rows. */ leadingRowInfo?: object; /** * Timestamp of the current mouse point. */ timestamp?: string; /** * ID of SVG. */ svgId?: string; /** * [x, y] Coordinate of the current mouse point in the SVG coordinate system. */ svgCoordinate?: int[]; /** * Effective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode. */ effectingMode?: string; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#chartRightClick event. */ interface GanttChartBase$ChartRightClickEventParameters { /** * Row object information of the current mouse point. */ objectInfo?: object; /** * Leading row object information. null when it is the main row at current mouse point; main row information * if it is one of multiple expanded rows. */ leadingRowInfo?: object; /** * Timestamp of the current mouse point. */ timestamp?: string; /** * ID of SVG. */ svgId?: string; /** * [x, y] Coordinate of the current mouse point in the SVG coordinate system. */ svgCoordinate?: int[]; /** * Effective mode. It can be the current Gantt Chart mode or a mode derived from the chart scheme mode. */ effectingMode?: string; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#ganttChartSwitchRequested event. */ interface GanttChartBase$GanttChartSwitchRequestedEventParameters { /** * Target hierarchy key. */ hierarchyKey?: string; } /** * Parameters of the GanttChartBase#horizontalScroll event. * * @deprecated As of version 1.44. the concept has been discarded. */ interface GanttChartBase$HorizontalScrollEventParameters { /** * Scroll steps. */ scrollSteps?: int; /** * The start time of Gantt Chart visible area when the event fired */ startTime?: string; /** * The end time of Gantt Chart visible area when the event fired */ endTime?: string; } /** * Parameters of the GanttChartBase#relationshipSelectionChange event. */ interface GanttChartBase$RelationshipSelectionChangeEventParameters { /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#rowSelectionChange event. */ interface GanttChartBase$RowSelectionChangeEventParameters { /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#shapeDragEnd event. */ interface GanttChartBase$ShapeDragEndEventParameters { /** * Original JQuery event object. */ originEvent?: object; /** * List of source shape data. */ sourceShapeData?: object[]; /** * Source SVG ID. */ sourceSvgId?: string; /** * Information about the drop position and target row. It contains the following properties: * - shapeTimestamp startTime and endTime of a dropped shape. This property is added to support the newly * introduced drag-and-drop behaviors. For more information, see `sap.gantt.dragdrop.GhostAlignment`. * - cursorTimestamp Cursor timestamp when a shape is dropped. This property is added to support the newly * introduced drag-and-drop behaviors. For more information, see `sap.gantt.dragdrop.GhostAlignment`. * - mode Mode of the current view. * - objectInfo Data of the row where you dropped the shape. Note: The original property 'mouseTimestamp', * which contains the startTime/endTime of a dropped shape has been deprecated. */ targetData?: object; /** * Target SVG ID. */ targetSvgId?: string; } /** * Parameters of the GanttChartBase#shapeMouseEnter event. */ interface GanttChartBase$ShapeMouseEnterEventParameters { /** * The data of the shape which fires this event. */ shapeData?: object; /** * The mouse position relative to the left edge of the document. */ pageX?: int; /** * The mouse position relative to the top edge of the document. */ pageY?: int; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#shapeMouseLeave event. */ interface GanttChartBase$ShapeMouseLeaveEventParameters { /** * The data of the shape which fires this event. */ shapeData?: object; /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#shapeResizeEnd event. */ interface GanttChartBase$ShapeResizeEndEventParameters { /** * UID of the resized shape. */ shapeUid?: string; /** * Row object of the resizing shape. */ rowObject?: object; /** * Original shape time array, including the start time and end time. */ oldTime?: string[]; /** * New shape time array, including the start time and end time. */ newTime?: string[]; } /** * Parameters of the GanttChartBase#shapeSelectionChange event. */ interface GanttChartBase$ShapeSelectionChangeEventParameters { /** * Original JQuery event object. */ originEvent?: object; } /** * Parameters of the GanttChartBase#splitterResize event. */ interface GanttChartBase$SplitterResizeEventParameters { /** * ID of the source control. */ id?: string; /** * Old size in the form of [height, width]. */ oldSizes?: int[]; /** * New size in the form of [height, width]. */ newSizes?: int[]; /** * Zoom information. * * This object contains all related information for the listener to get the current zoom level of the time * axis. Usually `zoomInfo` contains the following information: * - `"base"` - Base for zooming calculation. * `"sGranularity"`: "4day", - Zoom level that is used to calculate the zoom base; it is taken from timeAxis.granularity. * * - `"fScale"`: 3840000 - Base scale determined by zoomStrategy level and now(). * - `"determinedByConfig"` - Zoom level calculated by configuration `timeAxis`. * `"fRate"`: 1, - Zoom rate determined by configuration timeAxis.granularity. * - `"fMaxRate"`: 384, - Maximum zoom rate determined by configuration timeAxis.finestGranularity. * - `"fMinRate"`: 0.02197802197802198 - Minimum zoom rate determined by configuration timeAxis.coarsestGranularity. * * - `"determinedByChartWidth"` - Zoom level calculated by the SVG width. * `"fMinRate"`: 0.0279009617614573, - Minimum zoom rate determined by the chart width and configuration * timeAxis.planHorizon. * - `"fSuitableRate"`: 0.5078804440909039 - Suitable zoom rate determined by the chart width and configuration * timeAxis.initHorizon. * - `iChartWidth`: 417 - Chart width in pixel. */ zoomInfo?: object; } /** * Parameters of the GanttChartBase#treeTableToggleEvent event. */ interface GanttChartBase$TreeTableToggleEventEventParameters { /** * The index of the expanded/collapsed row. */ rowIndex?: int; /** * The binding context of the selected row. */ rowContext?: object; /** * flag whether the node has been expanded or collapsed. */ expanded?: boolean; } /** * Parameters of the GanttChartBase#verticalScroll event. * * @deprecated As of version 1.44. the concept has been discarded. */ interface GanttChartBase$VerticalScrollEventParameters { /** * Scroll steps. */ scrollSteps?: int; } /** * Parameters of the GanttChartContainer#customSettingChange event. */ interface GanttChartContainer$CustomSettingChangeEventParameters { /** * ID of the custom setting */ id?: string; /** * The value of the custom setting */ value?: boolean; } /** * Parameters of the GanttChartContainer#ganttChartChangeRequested event. */ interface GanttChartContainer$GanttChartChangeRequestedEventParameters { /** * Action that caused the change. * * Possible action values are: * - `'switchGanttChart'`: The source selection group of one Gantt chart toolbar is changed. * - `'addGanttChart'`: The Add Gantt chart dropdown menu is selected. * - `'lessGanttChart'`: The Less Gantt chart dropdown menu is selected. * - `'switchContainerLayout'`: The source selection group of the Container toolbar is changed. */ action?: string; /** * Provided for actions `'switchGanttChart'` and `'lessGanttChart'`. */ ganttChartIndex?: int; /** * Provided for actions `'switchGanttChart'`, `'addGanttChart'` and `'lessGanttChart'`. */ hierarchyKey?: string; /** * Provided for action `'switchGanttChart'`. */ oldHierarchyKey?: string; /** * Provided for action `'switchContainerLayout'`. */ containerLayoutKey?: string; } /** * Parameters of the GanttChartContainer#treeTableToggleEvent event. */ interface GanttChartContainer$TreeTableToggleEventEventParameters { /** * The index of the expanded/collapsed row. */ rowIndex?: int; /** * The binding context of the selected row. */ rowContext?: object; /** * flag whether the node has been expanded or collapsed. */ expanded?: boolean; } /** * The AdhocLine class contains properties to draw an additional vertical line at specific time points in * the chart area. You can use this line to mark milestones, such as the start of a project start, and special * events, such as holidays. * * @deprecated As of version 1.84. {@link sap.gantt.simple.AdhocLine} should be used instead. */ class AdhocLine extends sap.ui.core.Element { /** * Creates and initializes a new AdhocLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.$AdhocLineSettings ); /** * Creates and initializes a new AdhocLine class. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID of the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.$AdhocLineSettings ); /** * Creates a new subclass of class sap.gantt.AdhocLine with name `sClassName` and enriches it with the information * contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.AdhocLine. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Gets current value of property {@link #getDescription description}. * * Description of the time stamp * * * @returns Value of property `description` */ getDescription(): string; /** * Gets current value of property {@link #getStroke stroke}. * * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and the URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * * @returns Value of property `stroke` */ getStroke(): sap.gantt.ValueSVGPaintServer; /** * Gets current value of property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * * @returns Value of property `strokeDasharray` */ getStrokeDasharray(): string; /** * Gets current value of property {@link #getStrokeOpacity strokeOpacity}. * * Standard SVG 'stroke-opacity' attribute. * * Default value is `1`. * * * @returns Value of property `strokeOpacity` */ getStrokeOpacity(): float; /** * Gets current value of property {@link #getStrokeWidth strokeWidth}. * * Standard SVG 'stroke-width' attribute. * * Default value is `1`. * * * @returns Value of property `strokeWidth` */ getStrokeWidth(): float; /** * Gets current value of property {@link #getTimeStamp timeStamp}. * * Time stamp of the adhoc line * * * @returns Value of property `timeStamp` */ getTimeStamp(): string; /** * Sets a new value for property {@link #getDescription description}. * * Description of the time stamp * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setDescription( /** * New value for property `description` */ sDescription: string ): this; /** * Sets a new value for property {@link #getStroke stroke}. * * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and the URL reference * to the paint server. Paint server definitions usually come from paint servers rendered by {@link sap.gantt.GanttChartContainer}, * {@link sap.gantt.GanttChartWithTable} or {@link sap.gantt.GanttChart}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStroke( /** * New value for property `stroke` */ sStroke: sap.gantt.ValueSVGPaintServer ): this; /** * Sets a new value for property {@link #getStrokeDasharray strokeDasharray}. * * Standard SVG 'stroke-dasharray' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeDasharray( /** * New value for property `strokeDasharray` */ sStrokeDasharray: string ): this; /** * Sets a new value for property {@link #getStrokeOpacity strokeOpacity}. * * Standard SVG 'stroke-opacity' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeOpacity( /** * New value for property `strokeOpacity` */ fStrokeOpacity?: float ): this; /** * Sets a new value for property {@link #getStrokeWidth strokeWidth}. * * Standard SVG 'stroke-width' attribute. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * * @returns Reference to `this` in order to allow method chaining */ setStrokeWidth( /** * New value for property `strokeWidth` */ fStrokeWidth?: float ): this; /** * Sets a new value for property {@link #getTimeStamp timeStamp}. * * Time stamp of the adhoc line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setTimeStamp( /** * New value for property `timeStamp` */ sTimeStamp: string ): this; } /** * Gantt Chart control. * * The Gantt chart has a horizontal axis at the top that represents time and a vertical axis that represents * rows. * * @deprecated As of version 1.64. {@link sap.gantt.simple.GanttChartWithTable} should be used instead. */ class GanttChart extends sap.gantt.GanttChartBase { /** * Creates and initializes a new Gantt Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.$GanttChartSettings ); /** * Creates and initializes a new Gantt Chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no id is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.$GanttChartSettings ); /** * Creates a new subclass of class sap.gantt.GanttChart with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.GanttChartBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.GanttChart. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * GanttChart will do birdEye on the specified row. The row index starts from 0 and indicates the position * in all rows, instead of visible rows */ doBirdEyeOnRow(): void; /** * Set AxixTimeStrategy aggregation. * * * @returns GanttChart instance for chaining */ setAxisTimeStrategy( /** * an instance of AxisTime Zoom Strategy */ oAxisTimeStrategy: object ): this; /** * Sets the first visible row in the Gantt Chart Control. * See: * sap.ui.table.Table.setFirstVisibleRow * * @deprecated As of version 1.50.7. We recommend use setTableProperties function instead * * @returns A reference to the GanttChart control, which can be used for chaining */ setFirstVisibleRow( /** * The row index to be set as the first visible row */ iRowIndex: int ): sap.gantt.GanttChart; } /** * Base class for all Gantt charts. * * This base class defines: * - Basic properties and aggregations. * - Metadata required integrate with GanttChartContainer. sap.gantt provides two basic implementations * of `GanttChartBase`: * - `sap.gantt.GanttChart` - A chart area that contains rows along the vertical axis and a time scale * along the horizontal axis. * - `sap.gantt.GanttChartWithTable` - A tree table and a chart area separated by a splitter with rows * synchronized. * * A number of `get` and `select` functions in this class use the row ID, row UI ID (UID), shape ID, * or shape UID as the input to identify the objects to select or retrieve. * * A row UID comprises the following parts: * - Row ID: Identifier of a specific row. In most cases, this ID is specified in your data model, for * example: 0001. The system generates a random ID for a row if you do not specify the row ID. * - Row path: Represents the ID hierarchy in a tree structure. For example, if a tree has a three-level * hierarchy, the row path follows this pattern: Level_1_row_id|level_2_row_id|level_3_row_id * - Scheme: Chart scheme which is configured in shape configuration. The scheme controls what kind of * shapes are shown in a row. Row UID pattern: PATH:row_id|SCHEME:chart_scheme_key[index] * * A shape UID comprises the following parts: * - Row UID: UID of the row where the shape is located. * - Shape data name: Key of the shape in the data model. For example: DATA:activity_greedy * - Shape ID: Identifier of a specific shape. In most cases, this ID is specified in your data model. * The system generates a random ID for a shape if you do not specify the shape ID. Row UID pattern: * PATH:row_id|SCHEME:chart_scheme_key[index]|DATA:shape_data_name[shape_id] * * Note that you do not need to specify the UID for a shape or row. Gantt Chart automatically forms the * UIDs for shapes or rows. * * @deprecated As of version 1.64. the concept has been discarded. */ abstract class GanttChartBase extends sap.ui.core.Control { /** * Creates and initializes a new Gantt chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.$GanttChartBaseSettings ); /** * Creates and initializes a new Gantt chart. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no id is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.$GanttChartBaseSettings ); /** * Creates a new subclass of class sap.gantt.GanttChartBase with name `sClassName` and enriches it with * the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.GanttChartBase. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some adhocLine to the aggregation {@link #getAdhocLines adhocLines}. * * * @returns Reference to `this` in order to allow method chaining */ addAdhocLine( /** * The adhocLine to add; if empty, nothing is inserted */ oAdhocLine: sap.gantt.AdhocLine ): this; /** * Adds some relationship to the aggregation {@link #getRelationships relationships}. * * * @returns Reference to `this` in order to allow method chaining */ addRelationship( /** * The relationship to add; if empty, nothing is inserted */ oRelationship: sap.ui.core.Control ): this; /** * Adds some row to the aggregation {@link #getRows rows}. * * * @returns Reference to `this` in order to allow method chaining */ addRow( /** * The row to add; if empty, nothing is inserted */ oRow: sap.ui.core.Control ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartClick chartClick} event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the chart is clicked * * * @returns Reference to `this` in order to allow method chaining */ attachChartClick( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartClick chartClick} event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the chart is clicked * * * @returns Reference to `this` in order to allow method chaining */ attachChartClick( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartDoubleClick chartDoubleClick} event of * this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the chart is double-clicked * * * @returns Reference to `this` in order to allow method chaining */ attachChartDoubleClick( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDoubleClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartDoubleClick chartDoubleClick} event of * this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the chart is double-clicked * * * @returns Reference to `this` in order to allow method chaining */ attachChartDoubleClick( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDoubleClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartDragEnter chartDragEnter} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachChartDragEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDragEnterEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartDragEnter chartDragEnter} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachChartDragEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDragEnterEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartDragLeave chartDragLeave} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachChartDragLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDragLeaveEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartDragLeave chartDragLeave} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * * @returns Reference to `this` in order to allow method chaining */ attachChartDragLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDragLeaveEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartMouseOver chartMouseOver} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event is fired when a mouse-hover occurs in the graphic part. * * * @returns Reference to `this` in order to allow method chaining */ attachChartMouseOver( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartMouseOverEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartMouseOver chartMouseOver} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event is fired when a mouse-hover occurs in the graphic part. * * * @returns Reference to `this` in order to allow method chaining */ attachChartMouseOver( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartMouseOverEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartRightClick chartRightClick} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the chart is right-clicked * * * @returns Reference to `this` in order to allow method chaining */ attachChartRightClick( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartRightClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:chartRightClick chartRightClick} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the chart is right-clicked * * * @returns Reference to `this` in order to allow method chaining */ attachChartRightClick( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ChartRightClickEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttChartSwitchRequested ganttChartSwitchRequested } * event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the hierarchy key has changed in the Gantt chart toolbar. * * * @returns Reference to `this` in order to allow method chaining */ attachGanttChartSwitchRequested( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$GanttChartSwitchRequestedEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttChartSwitchRequested ganttChartSwitchRequested } * event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the hierarchy key has changed in the Gantt chart toolbar. * * * @returns Reference to `this` in order to allow method chaining */ attachGanttChartSwitchRequested( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$GanttChartSwitchRequestedEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:horizontalScroll horizontalScroll} event of * this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Horizontal (time axis) scroll. * * If the horizontal scroll bar exists and synchronization is needed with other Gantt charts in the container, * use this event. * * @deprecated As of version 1.44. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ attachHorizontalScroll( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$HorizontalScrollEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:horizontalScroll horizontalScroll} event of * this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Horizontal (time axis) scroll. * * If the horizontal scroll bar exists and synchronization is needed with other Gantt charts in the container, * use this event. * * @deprecated As of version 1.44. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ attachHorizontalScroll( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$HorizontalScrollEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:relationshipSelectionChange relationshipSelectionChange } * event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the selection status of relationships changes. * * * @returns Reference to `this` in order to allow method chaining */ attachRelationshipSelectionChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartBase$RelationshipSelectionChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:relationshipSelectionChange relationshipSelectionChange } * event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the selection status of relationships changes. * * * @returns Reference to `this` in order to allow method chaining */ attachRelationshipSelectionChange( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartBase$RelationshipSelectionChangeEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:rowSelectionChange rowSelectionChange} event * of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the selection status of rows changes. * * * @returns Reference to `this` in order to allow method chaining */ attachRowSelectionChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$RowSelectionChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:rowSelectionChange rowSelectionChange} event * of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the selection status of rows changes. * * * @returns Reference to `this` in order to allow method chaining */ attachRowSelectionChange( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$RowSelectionChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeDragEnd shapeDragEnd} event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when a drag-and-drop occurs on one or more selected shapes. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeDragEnd( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeDragEndEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeDragEnd shapeDragEnd} event of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when a drag-and-drop occurs on one or more selected shapes. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeDragEnd( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeDragEndEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseEnter shapeMouseEnter} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the following conditions are met: The 'enableHover' property of Shape is set to true. * You hover the mouse on a shape and keep the mouse stationary for 500 millisecond or longer. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseEnter( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeMouseEnterEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseEnter shapeMouseEnter} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the following conditions are met: The 'enableHover' property of Shape is set to true. * You hover the mouse on a shape and keep the mouse stationary for 500 millisecond or longer. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseEnter( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeMouseEnterEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseLeave shapeMouseLeave} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the following conditions are met: The 'enableHover' property of Shape is set to true. * You move the mouse out of a shape and keep the mouse stationary for 500 millisecond or longer. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseLeave( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeMouseLeaveEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeMouseLeave shapeMouseLeave} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the following conditions are met: The 'enableHover' property of Shape is set to true. * You move the mouse out of a shape and keep the mouse stationary for 500 millisecond or longer. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeMouseLeave( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeMouseLeaveEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeResizeEnd shapeResizeEnd} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when a resizing occurs on a resized shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeResizeEnd( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeResizeEndEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeResizeEnd shapeResizeEnd} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when a resizing occurs on a resized shape. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeResizeEnd( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeResizeEndEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeSelectionChange shapeSelectionChange} event * of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the selection status of shapes changes. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeSelectionChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeSelectionChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:shapeSelectionChange shapeSelectionChange} event * of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when the selection status of shapes changes. * * * @returns Reference to `this` in order to allow method chaining */ attachShapeSelectionChange( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeSelectionChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:splitterResize splitterResize} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Splitter (if exists) resized. * * If a splitter exists and synchronization is needed with other Gantt charts in the container, use this * event. You can listen for this event and obtain `zoomInfo`. * * * @returns Reference to `this` in order to allow method chaining */ attachSplitterResize( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$SplitterResizeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:splitterResize splitterResize} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Splitter (if exists) resized. * * If a splitter exists and synchronization is needed with other Gantt charts in the container, use this * event. You can listen for this event and obtain `zoomInfo`. * * * @returns Reference to `this` in order to allow method chaining */ attachSplitterResize( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$SplitterResizeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:treeTableToggleEvent treeTableToggleEvent} event * of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when toggle node of the tree table. * * * @returns Reference to `this` in order to allow method chaining */ attachTreeTableToggleEvent( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$TreeTableToggleEventEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:treeTableToggleEvent treeTableToggleEvent} event * of this `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Event fired when toggle node of the tree table. * * * @returns Reference to `this` in order to allow method chaining */ attachTreeTableToggleEvent( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$TreeTableToggleEventEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:verticalScroll verticalScroll} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Vertical (row axis) scroll. * * If the vertical scroll bar exists and synchronization is needed with other Gantt charts in the container, * use this event. * * @deprecated As of version 1.44. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ attachVerticalScroll( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$VerticalScrollEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:verticalScroll verticalScroll} event of this * `sap.gantt.GanttChartBase`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartBase` itself. * * Vertical (row axis) scroll. * * If the vertical scroll bar exists and synchronization is needed with other Gantt charts in the container, * use this event. * * @deprecated As of version 1.44. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ attachVerticalScroll( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartBase$VerticalScrollEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartBase` itself */ oListener?: object ): this; /** * Binds aggregation {@link #getAdhocLines adhocLines} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindAdhocLines( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getAxisTimeStrategy axisTimeStrategy} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindAxisTimeStrategy( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getCalendarDef calendarDef} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindCalendarDef( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getRelationships relationships} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindRelationships( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getRows rows} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindRows( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Deselects a group of relationships specified by the aId array. * * * @returns Gantt Chart instance */ deselectRelationships( /** * List of IDs of the relationships to deselect */ aId?: any[] ): this; /** * Deselects a group of rows specified by the aId array. * * * @returns Gantt Chart instance */ deselectRows( /** * List of the rows that you want to deselect */ aId?: any[] ): this; /** * Deselects a group of shapes specified by the aId array. * * * @returns Gantt Chart instance */ deselectShapes( /** * List of IDs of the shapes to deselect */ aId?: any[] ): this; /** * Destroys all the adhocLines in the aggregation {@link #getAdhocLines adhocLines}. * * * @returns Reference to `this` in order to allow method chaining */ destroyAdhocLines(): this; /** * Destroys the axisTimeStrategy in the aggregation {@link #getAxisTimeStrategy axisTimeStrategy}. * * * @returns Reference to `this` in order to allow method chaining */ destroyAxisTimeStrategy(): this; /** * Destroys the calendarDef in the aggregation {@link #getCalendarDef calendarDef}. * * * @returns Reference to `this` in order to allow method chaining */ destroyCalendarDef(): this; /** * Destroys all the relationships in the aggregation {@link #getRelationships relationships}. * * * @returns Reference to `this` in order to allow method chaining */ destroyRelationships(): this; /** * Destroys all the rows in the aggregation {@link #getRows rows}. * * * @returns Reference to `this` in order to allow method chaining */ destroyRows(): this; /** * Detaches event handler `fnFunction` from the {@link #event:chartClick chartClick} event of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachChartClick( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ChartClickEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:chartDoubleClick chartDoubleClick} event of * this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachChartDoubleClick( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDoubleClickEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:chartDragEnter chartDragEnter} event of this * `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachChartDragEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDragEnterEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:chartDragLeave chartDragLeave} event of this * `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachChartDragLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ChartDragLeaveEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:chartMouseOver chartMouseOver} event of this * `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachChartMouseOver( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ChartMouseOverEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:chartRightClick chartRightClick} event of * this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachChartRightClick( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ChartRightClickEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:ganttChartSwitchRequested ganttChartSwitchRequested } * event of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachGanttChartSwitchRequested( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$GanttChartSwitchRequestedEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:horizontalScroll horizontalScroll} event of * this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * @deprecated As of version 1.44. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ detachHorizontalScroll( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$HorizontalScrollEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:relationshipSelectionChange relationshipSelectionChange } * event of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachRelationshipSelectionChange( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartBase$RelationshipSelectionChangeEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:rowSelectionChange rowSelectionChange} event * of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachRowSelectionChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$RowSelectionChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeDragEnd shapeDragEnd} event of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeDragEnd( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeDragEndEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeMouseEnter shapeMouseEnter} event of * this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeMouseEnter( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeMouseEnterEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeMouseLeave shapeMouseLeave} event of * this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeMouseLeave( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeMouseLeaveEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeResizeEnd shapeResizeEnd} event of this * `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeResizeEnd( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeResizeEndEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:shapeSelectionChange shapeSelectionChange } * event of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachShapeSelectionChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$ShapeSelectionChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:splitterResize splitterResize} event of this * `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachSplitterResize( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$SplitterResizeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:treeTableToggleEvent treeTableToggleEvent } * event of this `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachTreeTableToggleEvent( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$TreeTableToggleEventEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:verticalScroll verticalScroll} event of this * `sap.gantt.GanttChartBase`. * * The passed function and listener object must match the ones used for event registration. * * @deprecated As of version 1.44. the concept has been discarded. * * @returns Reference to `this` in order to allow method chaining */ detachVerticalScroll( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartBase$VerticalScrollEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Expands the Gantt chart to the given level. * See: * sap.ui.table.TreeTable.expandToLevel * * * @returns Reference to the GanttChart control, which can be used for chaining */ expandToLevel( /** * Level to be expanded to */ iLevel: int ): this; /** * Fires event {@link #event:chartClick chartClick} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireChartClick( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ChartClickEventParameters ): this; /** * Fires event {@link #event:chartDoubleClick chartDoubleClick} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireChartDoubleClick( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ChartDoubleClickEventParameters ): this; /** * Fires event {@link #event:chartDragEnter chartDragEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireChartDragEnter( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ChartDragEnterEventParameters ): this; /** * Fires event {@link #event:chartDragLeave chartDragLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireChartDragLeave( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ChartDragLeaveEventParameters ): this; /** * Fires event {@link #event:chartMouseOver chartMouseOver} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireChartMouseOver( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ChartMouseOverEventParameters ): this; /** * Fires event {@link #event:chartRightClick chartRightClick} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireChartRightClick( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ChartRightClickEventParameters ): this; /** * Fires event {@link #event:ganttChartSwitchRequested ganttChartSwitchRequested} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireGanttChartSwitchRequested( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$GanttChartSwitchRequestedEventParameters ): this; /** * Fires event {@link #event:horizontalScroll horizontalScroll} to attached listeners. * * @deprecated As of version 1.44. the concept has been discarded. * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireHorizontalScroll( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$HorizontalScrollEventParameters ): this; /** * Fires event {@link #event:relationshipSelectionChange relationshipSelectionChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireRelationshipSelectionChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$RelationshipSelectionChangeEventParameters ): this; /** * Fires event {@link #event:rowSelectionChange rowSelectionChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireRowSelectionChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$RowSelectionChangeEventParameters ): this; /** * Fires event {@link #event:shapeDragEnd shapeDragEnd} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeDragEnd( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ShapeDragEndEventParameters ): this; /** * Fires event {@link #event:shapeMouseEnter shapeMouseEnter} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeMouseEnter( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ShapeMouseEnterEventParameters ): this; /** * Fires event {@link #event:shapeMouseLeave shapeMouseLeave} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeMouseLeave( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ShapeMouseLeaveEventParameters ): this; /** * Fires event {@link #event:shapeResizeEnd shapeResizeEnd} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeResizeEnd( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ShapeResizeEndEventParameters ): this; /** * Fires event {@link #event:shapeSelectionChange shapeSelectionChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireShapeSelectionChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$ShapeSelectionChangeEventParameters ): this; /** * Fires event {@link #event:splitterResize splitterResize} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireSplitterResize( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$SplitterResizeEventParameters ): this; /** * Fires event {@link #event:treeTableToggleEvent treeTableToggleEvent} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireTreeTableToggleEvent( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$TreeTableToggleEventEventParameters ): this; /** * Fires event {@link #event:verticalScroll verticalScroll} to attached listeners. * * @deprecated As of version 1.44. the concept has been discarded. * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireVerticalScroll( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartBase$VerticalScrollEventParameters ): this; /** * Gets current value of property {@link #getAdhocLineLayer adhocLineLayer}. * * Specifies on which layer adhoc lines reside. By default, adhoc lines are on top of all other shapes and * patterns. * * Default value is `library.AdhocLineLayer.Top`. * * * @returns Value of property `adhocLineLayer` */ getAdhocLineLayer(): string; /** * Gets content of aggregation {@link #getAdhocLines adhocLines}. * * The aggregation is used to store configuration of adhoc lines, adhoc lines represent milestones and events * in axis time. */ getAdhocLines(): sap.gantt.AdhocLine[]; /** * Gets the selected rows, shapes, and relationships. * * * @returns The returned object contains row data for all selected rows, shape data for all selected shapes, * and relationship data for all selected relationships. */ getAllSelections(): object; /** * Provides the Ordinal Axis that is used to draw the SVG graphic. * * This method is intended to allow access to the ordinal axis. Do not change the ordinal axis. All subclasses * must provide implementations. * * * @returns Returns the axis ordinal instance. */ getAxisOrdinal(): sap.gantt.misc.AxisOrdinal; /** * Provides the Time Axis that is used to draw the SVG graphic. * * This method is intended to allow access to the time axis. Do not change the time axis. All subclasses * must provide implementations. * * * @returns Returns the axis time instance. */ getAxisTime(): sap.gantt.misc.AxisTime; /** * Gets content of aggregation {@link #getAxisTimeStrategy axisTimeStrategy}. * * This aggregation controls the zoom strategies and zoom rate in Gantt Chart. */ getAxisTimeStrategy(): sap.gantt.axistime.AxisTimeStrategyBase; /** * Gets current value of property {@link #getBaseRowHeight baseRowHeight}. * * row height of Gantt Chart. If this property is set, then it will change the Table row height on the left * * * @returns Value of property `baseRowHeight` */ getBaseRowHeight(): int; /** * Gets content of aggregation {@link #getCalendarDef calendarDef}. * * Paint servers consumed by special shape `sap.gantt.shape.cal.Calendar`. * * This aggregation is designed to improve performance of calendar shapes. Rows usually share a similar * definition with calendar shapes. It is possible to define a Calendar paint server to draw only one rectangle * for each row. Notes for classes extended from `sap.gantt.def.cal.CalendarDef`: Different from property * `paintServerDefs`, paint servers defined here must implement method `getDefNode()` instead of method * `getDefString()`. */ getCalendarDef(): sap.gantt.def.cal.CalendarDefs; /** * Gets current value of property {@link #getChartSchemes chartSchemes}. * * Configuration of chart schemes. * * List of available chart schemes. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.ChartScheme[]`. Otherwise some properties you * set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_CHART_SCHEMES`. * * * @returns Value of property `chartSchemes` */ getChartSchemes(): object[]; /** * Gets current value of property {@link #getEnableAdhocLine enableAdhocLine}. * * Switch to show and hide adhoc lines representing milestones and events along the time axis * * Default value is `true`. * * * @returns Value of property `enableAdhocLine` */ getEnableAdhocLine(): boolean; /** * Gets current value of property {@link #getEnableCursorLine enableCursorLine}. * * Switch to show and hide the cursor line that follows the cursor. * * Default value is `true`. * * * @returns Value of property `enableCursorLine` */ getEnableCursorLine(): boolean; /** * Gets current value of property {@link #getEnableNowLine enableNowLine}. * * Switch to show and hide the present time indicator * * Default value is `true`. * * * @returns Value of property `enableNowLine` */ getEnableNowLine(): boolean; /** * Gets current value of property {@link #getEnableShapeTimeDisplay enableShapeTimeDisplay}. * * Switch to show or hide the start time and end time of a shape when you drag it along the time line * * Default value is `false`. * * * @returns Value of property `enableShapeTimeDisplay` */ getEnableShapeTimeDisplay(): boolean; /** * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}. * * Switch to show and hide vertical lines representing intervals along the time axis * * Default value is `true`. * * * @returns Value of property `enableVerticalLine` */ getEnableVerticalLine(): boolean; /** * Gets current value of property {@link #getGhostAlignment ghostAlignment}. * * Defines how to adjust the relative position between a draggable shape and the mouse pointer. * * Default value is `library.dragdrop.GhostAlignment.None`. * * * @returns Value of property `ghostAlignment` */ getGhostAlignment(): string; /** * Gets current value of property {@link #getHeight height}. * * Height of the control. * * Default value is `"100%"`. * * * @returns Value of property `height` */ getHeight(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getHierarchies hierarchies}. * * Configuration of hierarchies. * * List of available hierarchies. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.Hierarchy[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_HIERARCHYS`. * * * @returns Value of property `hierarchies` */ getHierarchies(): object[]; /** * Gets current value of property {@link #getHierarchyKey hierarchyKey}. * * Current hierarchy key referencing from configuration property `hierarchies`. * * If `source select group` is enabled in the Gantt chart toolbar, the current hierarchy name referenced * from `hierarchies` by this property is shown. For applications that do not require this function, this * property can be ignored and a default value is used. * * Default value is `library.config.DEFAULT_HIERARCHY_KEY`. * * * @returns Value of property `hierarchyKey` */ getHierarchyKey(): string; /** * Gets current value of property {@link #getLocale locale}. * * Configuration of locale settings. * * Most locale settings can be configured in sap.ui.configuration objects. Only the time zone and day-light-saving * time option are provided by locale settings. We recommend that you set the type of this argument to `sap.gantt.config.Locale`. * Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_LOCALE`. * * * @returns Value of property `locale` */ getLocale(): object; /** * Gets current value of property {@link #getMode mode}. * * Current mode of the Gantt chart. * * If no value is provided, GanttChart uses a default mode key. * * Default value is `library.config.DEFAULT_MODE_KEY`. * * * @returns Value of property `mode` */ getMode(): string; /** * Gets current value of property {@link #getModes modes}. * * Configuration of available modes. * * List of available modes. To apply modes to toolbar and shapes, further configuration is needed. If not * provided, a default configuration is provided. We recommend that you set the type of this argument to * `sap.gantt.config.Mode[]`. Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_MODES`. * * * @returns Value of property `modes` */ getModes(): object[]; /** * Gets current value of property {@link #getNowLineInUTC nowLineInUTC}. * * Flag whether to show the `nowLine` in UTC or in local time. * * Default value is `true`. * * @since 1.68 * * @returns Value of property `nowLineInUTC` */ getNowLineInUTC(): boolean; /** * Gets current value of property {@link #getObjectTypes objectTypes}. * * Configuration of object types. * * List of available object types. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.ObjectType[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_OBJECT_TYPES`. * * * @returns Value of property `objectTypes` */ getObjectTypes(): object[]; /** * Gets content of aggregation {@link #getRelationships relationships}. * * Relationships of shapes carried by rows. * * Similar to rows, this aggregation does not request templates either. Relationships are a special shape * with a category of `"crossRowShape"`. How relationships are drawn is also specified in configuration * property `shapes`. */ getRelationships(): sap.ui.core.Control[]; /** * Gets a row object by the corresponding shape UID. * * * @returns Row object */ getRowByShapeUid( /** * Shape UID */ sShapeUid?: string ): object; /** * Gets content of aggregation {@link #getRows rows}. * * Rows of `sap.gantt.GanttChartBase` * * This aggregation is delegated to `sap.gantt.table.TreeTable`. Rows are provide a base for shapes with * a category of `"InRowShape"`. The configuration in property `shapes` determines how the shapes are drawn. */ getRows(): sap.ui.core.Control[]; /** * Gets all the selected relationships. * * * @returns selected relationships */ getSelectedRelationships(): any[]; /** * Gets the selected rows. * * * @returns Row data of the selected rows */ getSelectedRows(): any[]; /** * Gets the shape data of the selected shapes. * * * @returns Selected shapes. The returned structure is shown as below. { "shapeDataName1": [oShapeData1, * oShapeData2, ...] "shapeDataName2": [oShapeData3, oShapeData3, ...] ... } */ getSelectedShapes(): any[]; /** * Gets current value of property {@link #getSelectionMode selectionMode}. * * Selection mode for GanttChart * * This property controls whether multiToggle or multi-selection mode is enabled for the tree table and * for shapes. It may also affect the visual appearance, such as whether check boxes are available for selection. * From version 1.40 to upper versions, multi is replaced by multiToggle selection mode in tree table * * Default value is `MultiWithKeyboard`. * * @deprecated As of version 1.50.7. Please use `tableProperties`(e.g. `setTableproperties({selectionMode: * "None"})`) to control table selection mode, and `shapeSelectionMode`(e.g. `setShapeSelectionMode("None")`) * to control shape selection mode. * * @returns Value of property `selectionMode` */ getSelectionMode(): sap.gantt.SelectionMode; /** * Gets current value of property {@link #getSelectionPanelSize selectionPanelSize}. * * This property control the size of the selection panel. The value will be overwritten by property `selectionPanelSize` * in `sap.gantt.config.ContainerLayout` if you are using GanttChartContainer * * In the current library, `sap.gantt.GanttChart` does not have a selection panel. `sap.gantt.GanttChartWithTable` * has a selection panel implemented by `sap.ui.table.TreeTable`. * * Default value is `"30%"`. * * * @returns Value of property `selectionPanelSize` */ getSelectionPanelSize(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getShapeDataNames shapeDataNames}. * * Configuration of shape data names and the attribute in raw data that serves as 'id'. * * This property value should be an array, either an array of string, each string represents one available * shape data name, or an array of object, each object specifies the shape data name and data attribute * that will serves as 'id'. This configuration must be provided if SVG graphics are needed. * * Example: ` new sap.gantt.GanttChartWithTable({ shapeDataNames: ["task", "order"], shapes: [ new sap.gantt.shape.Shape({ * key: "calendar", shapeDataName: "task" shapeClassName: "sap.gantt.shape.Rectangle", // ... }) ] // ... * }); ` * * or in XMLView ` * ` * * Default value is `[]`. * * * @returns Value of property `shapeDataNames` */ getShapeDataNames(): sap.gantt.GenericArray; /** * Gets current value of property {@link #getShapes shapes}. * * Configuration of shape data against shape classes. * * List of available shapes. The shapes configured in this list are initialized inside `sap.gantt.GanttChartBase`. * Note that for JSON data binding, this configuration supports deep structured data structures. For ODATA * binding, only one level is supported. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. * Otherwise some properties you set may not function properly. * * Default value is `[]`. * * * @returns Value of property `shapes` */ getShapes(): object[]; /** * Gets current value of property {@link #getShapeSelectionMode shapeSelectionMode}. * * Selection mode for shape * * This property controls 4 shape selection modes(MultiWithKeyboard, Multiple, Single, None). You can use * `setShapeSelectionMode("None")` to set shape selection mode. * * Default value is `MultiWithKeyboard`. * * * @returns Value of property `shapeSelectionMode` */ getShapeSelectionMode(): sap.gantt.SelectionMode; /** * Gets current value of property {@link #getSvgDefs svgDefs}. * * SVG reusable element definitions. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. We recommend that * you set the type of this argument to `sap.gantt.def.SvgDefs`. Otherwise some properties you set may not * function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * * @returns Value of property `svgDefs` */ getSvgDefs(): object; /** * Get exposed TreeTable properties * * * @returns The all exposed TreeTable properties */ getTableProperties(): Object; /** * Gets current value of property {@link #getTimeAxis timeAxis}. * * Configuration of the time axis. * * Default value is `library.config.DEFAULT_TIME_AXIS`. * * @deprecated As of version 1.44. replaced by aggregation 'axisTimeStrategy'. Planning horizon, initial * horizon, and zoom level can be configured with this property. If not provided, a default configuration * is provided. We recommend that you set the type of this argument to `sap.gantt.config.TimeAxis`. Otherwise * some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * @returns Value of property `timeAxis` */ getTimeAxis(): object; /** * Gets current value of property {@link #getTimeZoomRate timeZoomRate}. * * Zoom level in float. * * This property allows application developers to control the zoom level. When GanttChart is embedded in * `sap.gantt.GanttChartContainer`, you do not have to manage this property. * * Default value is `1`. * * @deprecated As of version 1.44. please use sap.gantt.axistime.AxisTimeStrategy to change the zoom rate * * @returns Value of property `timeZoomRate` */ getTimeZoomRate(): float; /** * Gets current value of property {@link #getToolbarSchemes toolbarSchemes}. * * Configuration of toolbar schemes. * * List of available toolbar schemes. If not provided, a default configuration is provided. We recommend * that you set the type of this argument to `sap.gantt.config.ToolbarScheme[]`. Otherwise some properties * you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEMES`. * * * @returns Value of property `toolbarSchemes` */ getToolbarSchemes(): object[]; /** * Gets current value of property {@link #getWidth width}. * * Width of the control. * * Default value is `"100%"`. * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Default event handler for the internal event expandChartChange from global TOOLBAR. * * @ui5-protected Do not call from applications (only from related classes in the framework) */ handleExpandChartChange( /** * expand or collapse the selected row */ bExpanded: boolean, /** * bound chart scheme */ aChartSchemes: any[], /** * user selected row indices */ aSelectedIndices: any[] ): void; /** * Checks for the provided `sap.gantt.AdhocLine` in the aggregation {@link #getAdhocLines adhocLines}. and * returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfAdhocLine( /** * The adhocLine whose index is looked for */ oAdhocLine: sap.gantt.AdhocLine ): int; /** * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getRelationships relationships}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfRelationship( /** * The relationship whose index is looked for */ oRelationship: sap.ui.core.Control ): int; /** * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getRows rows}. and returns its * index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfRow( /** * The row whose index is looked for */ oRow: sap.ui.core.Control ): int; /** * Initializes the GanttChart instance after creation. * * @ui5-protected Do not call from applications (only from related classes in the framework) */ init(): void; /** * Inserts a adhocLine into the aggregation {@link #getAdhocLines adhocLines}. * * * @returns Reference to `this` in order to allow method chaining */ insertAdhocLine( /** * The adhocLine to insert; if empty, nothing is inserted */ oAdhocLine: sap.gantt.AdhocLine, /** * The `0`-based index the adhocLine should be inserted at; for a negative value of `iIndex`, the adhocLine * is inserted at position 0; for a value greater than the current size of the aggregation, the adhocLine * is inserted at the last position */ iIndex: int ): this; /** * Inserts a relationship into the aggregation {@link #getRelationships relationships}. * * * @returns Reference to `this` in order to allow method chaining */ insertRelationship( /** * The relationship to insert; if empty, nothing is inserted */ oRelationship: sap.ui.core.Control, /** * The `0`-based index the relationship should be inserted at; for a negative value of `iIndex`, the relationship * is inserted at position 0; for a value greater than the current size of the aggregation, the relationship * is inserted at the last position */ iIndex: int ): this; /** * Inserts a row into the aggregation {@link #getRows rows}. * * * @returns Reference to `this` in order to allow method chaining */ insertRow( /** * The row to insert; if empty, nothing is inserted */ oRow: sap.ui.core.Control, /** * The `0`-based index the row should be inserted at; for a negative value of `iIndex`, the row is inserted * at position 0; for a value greater than the current size of the aggregation, the row is inserted at the * last position */ iIndex: int ): this; /** * Jumps to a given time. * * This method sets the position of the visible area to a certain timestamp. It can be used to implement * the function of Jump To First, Jump To Last, and Jump To Current. * * A Redraw of SVG is triggered. */ jumpToPosition( /** * A date object or a 14-digit timestamp string in this format: YYYYMMDDHHMMSS. An array can also be passed * where the two values determine the start time and end time of the visible horizon. */ vDate: Date | string | any[] ): void; /** * Notifies that the data source has changed. * * @ui5-protected Do not call from applications (only from related classes in the framework) */ notifySourceChange(): void; /** * Removes a adhocLine from the aggregation {@link #getAdhocLines adhocLines}. * * * @returns The removed adhocLine or `null` */ removeAdhocLine( /** * The adhocLine to remove or its index or id */ vAdhocLine: int | string | sap.gantt.AdhocLine ): sap.gantt.AdhocLine | null; /** * Removes all the controls from the aggregation {@link #getAdhocLines adhocLines}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllAdhocLines(): sap.gantt.AdhocLine[]; /** * Removes all the controls from the aggregation {@link #getRelationships relationships}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllRelationships(): sap.ui.core.Control[]; /** * Removes all the controls from the aggregation {@link #getRows rows}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllRows(): sap.ui.core.Control[]; /** * Removes a relationship from the aggregation {@link #getRelationships relationships}. * * * @returns The removed relationship or `null` */ removeRelationship( /** * The relationship to remove or its index or id */ vRelationship: int | string | sap.ui.core.Control ): sap.ui.core.Control | null; /** * Removes a row from the aggregation {@link #getRows rows}. * * * @returns The removed row or `null` */ removeRow( /** * The row to remove or its index or id */ vRow: int | string | sap.ui.core.Control ): sap.ui.core.Control | null; /** * Selects shape data or row data by UI ID (UID). * * UID is generated by Gantt Chart to identify the appearance of shape data and row data. You can retrieve * UIDs by certain events. The current implementation only supports shape selection by UID. */ selectByUid( /** * Array of the UIDs of the UI elements to be selected */ aUid: any[] ): void; /** * Selects a group of relationships specified by the aId array. Alternatively, this function deselects all * selected relationships if aId is a null list and bExclusive is true. * * * @returns Gantt Chart instance */ selectRelationships( /** * List of IDs of the relationships to select */ aId?: any[], /** * Whether or not to deselect all selected shapes when aId is null */ bExclusive?: boolean ): this; /** * Selects a group of rows specified by the aId array. * * * @returns Gantt Chart instance */ selectRows( /** * List of IDs of the rows to select */ aId?: any[], /** * Whether or not to deselect all selected rows when aId is null */ bExclusive?: boolean ): this; /** * Selects rows and all shapes contained in those rows specified by an array of row IDs. Alternatively, * this function deselects all selected rows and shapes in those rows if the row ID array is null and bExclusive * is true. * * * @returns Gantt Chart instance */ selectRowsAndShapes( /** * List of IDs of the rows to select */ aRowId?: any[], /** * Whether or not to deselect all selected rows and shapes when aRowId is null */ bExclusive?: boolean ): this; /** * Selects a group of shapes specified by the aId array. Alternatively, this function deselects all selected * shapes when aId is a null list and bExclusive is true. * * * @returns Gantt Chart instance */ selectShapes( /** * List of the IDs of the shapes to select */ aId?: any[], /** * Whether or not to deselect all selected shapes when aId is null */ bExclusive?: boolean ): this; /** * Sets a new value for property {@link #getAdhocLineLayer adhocLineLayer}. * * Specifies on which layer adhoc lines reside. By default, adhoc lines are on top of all other shapes and * patterns. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.AdhocLineLayer.Top`. * * * @returns Reference to `this` in order to allow method chaining */ setAdhocLineLayer( /** * New value for property `adhocLineLayer` */ sAdhocLineLayer?: string ): this; /** * Sets the aggregated {@link #getAxisTimeStrategy axisTimeStrategy}. * * * @returns Reference to `this` in order to allow method chaining */ setAxisTimeStrategy( /** * The axisTimeStrategy to set */ oAxisTimeStrategy: sap.gantt.axistime.AxisTimeStrategyBase ): this; /** * Sets a new value for property {@link #getBaseRowHeight baseRowHeight}. * * row height of Gantt Chart. If this property is set, then it will change the Table row height on the left * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setBaseRowHeight( /** * New value for property `baseRowHeight` */ iBaseRowHeight?: int ): this; /** * Sets the aggregated {@link #getCalendarDef calendarDef}. * * * @returns Reference to `this` in order to allow method chaining */ setCalendarDef( /** * The calendarDef to set */ oCalendarDef: sap.gantt.def.cal.CalendarDefs ): this; /** * Sets a new value for property {@link #getChartSchemes chartSchemes}. * * Configuration of chart schemes. * * List of available chart schemes. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.ChartScheme[]`. Otherwise some properties you * set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_CHART_SCHEMES`. * * * @returns Reference to `this` in order to allow method chaining */ setChartSchemes( /** * New value for property `chartSchemes` */ sChartSchemes?: object[] ): this; /** * Sets a new value for property {@link #getEnableAdhocLine enableAdhocLine}. * * Switch to show and hide adhoc lines representing milestones and events along the time axis * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableAdhocLine( /** * New value for property `enableAdhocLine` */ bEnableAdhocLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableCursorLine enableCursorLine}. * * Switch to show and hide the cursor line that follows the cursor. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableCursorLine( /** * New value for property `enableCursorLine` */ bEnableCursorLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableNowLine enableNowLine}. * * Switch to show and hide the present time indicator * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableNowLine( /** * New value for property `enableNowLine` */ bEnableNowLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableShapeTimeDisplay enableShapeTimeDisplay}. * * Switch to show or hide the start time and end time of a shape when you drag it along the time line * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `false`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableShapeTimeDisplay( /** * New value for property `enableShapeTimeDisplay` */ bEnableShapeTimeDisplay?: boolean ): this; /** * Sets a new value for property {@link #getEnableVerticalLine enableVerticalLine}. * * Switch to show and hide vertical lines representing intervals along the time axis * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableVerticalLine( /** * New value for property `enableVerticalLine` */ bEnableVerticalLine?: boolean ): this; /** * Sets a new value for property {@link #getGhostAlignment ghostAlignment}. * * Defines how to adjust the relative position between a draggable shape and the mouse pointer. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.dragdrop.GhostAlignment.None`. * * * @returns Reference to `this` in order to allow method chaining */ setGhostAlignment( /** * New value for property `ghostAlignment` */ sGhostAlignment?: string ): this; /** * Sets a new value for property {@link #getHeight height}. * * Height of the control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100%"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getHierarchies hierarchies}. * * Configuration of hierarchies. * * List of available hierarchies. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.Hierarchy[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_HIERARCHYS`. * * * @returns Reference to `this` in order to allow method chaining */ setHierarchies( /** * New value for property `hierarchies` */ sHierarchies?: object[] ): this; /** * Sets a new value for property {@link #getHierarchyKey hierarchyKey}. * * Current hierarchy key referencing from configuration property `hierarchies`. * * If `source select group` is enabled in the Gantt chart toolbar, the current hierarchy name referenced * from `hierarchies` by this property is shown. For applications that do not require this function, this * property can be ignored and a default value is used. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_HIERARCHY_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setHierarchyKey( /** * New value for property `hierarchyKey` */ sHierarchyKey?: string ): this; /** * Sets a new value for property {@link #getLocale locale}. * * Configuration of locale settings. * * Most locale settings can be configured in sap.ui.configuration objects. Only the time zone and day-light-saving * time option are provided by locale settings. We recommend that you set the type of this argument to `sap.gantt.config.Locale`. * Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_LOCALE`. * * * @returns Reference to `this` in order to allow method chaining */ setLocale( /** * New value for property `locale` */ oLocale?: object ): this; /** * Sets a new value for property {@link #getMode mode}. * * Current mode of the Gantt chart. * * If no value is provided, GanttChart uses a default mode key. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_MODE_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setMode( /** * New value for property `mode` */ sMode?: string ): this; /** * Sets a new value for property {@link #getModes modes}. * * Configuration of available modes. * * List of available modes. To apply modes to toolbar and shapes, further configuration is needed. If not * provided, a default configuration is provided. We recommend that you set the type of this argument to * `sap.gantt.config.Mode[]`. Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_MODES`. * * * @returns Reference to `this` in order to allow method chaining */ setModes( /** * New value for property `modes` */ sModes?: object[] ): this; /** * Sets a new value for property {@link #getNowLineInUTC nowLineInUTC}. * * Flag whether to show the `nowLine` in UTC or in local time. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * @since 1.68 * * @returns Reference to `this` in order to allow method chaining */ setNowLineInUTC( /** * New value for property `nowLineInUTC` */ bNowLineInUTC?: boolean ): this; /** * Sets a new value for property {@link #getObjectTypes objectTypes}. * * Configuration of object types. * * List of available object types. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.ObjectType[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_OBJECT_TYPES`. * * * @returns Reference to `this` in order to allow method chaining */ setObjectTypes( /** * New value for property `objectTypes` */ sObjectTypes?: object[] ): this; /** * Sets a new value for property {@link #getSelectionMode selectionMode}. * * Selection mode for GanttChart * * This property controls whether multiToggle or multi-selection mode is enabled for the tree table and * for shapes. It may also affect the visual appearance, such as whether check boxes are available for selection. * From version 1.40 to upper versions, multi is replaced by multiToggle selection mode in tree table * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `MultiWithKeyboard`. * * @deprecated As of version 1.50.7. Please use `tableProperties`(e.g. `setTableproperties({selectionMode: * "None"})`) to control table selection mode, and `shapeSelectionMode`(e.g. `setShapeSelectionMode("None")`) * to control shape selection mode. * * @returns Reference to `this` in order to allow method chaining */ setSelectionMode( /** * New value for property `selectionMode` */ sSelectionMode?: sap.gantt.SelectionMode ): this; /** * Sets a new value for property {@link #getSelectionPanelSize selectionPanelSize}. * * This property control the size of the selection panel. The value will be overwritten by property `selectionPanelSize` * in `sap.gantt.config.ContainerLayout` if you are using GanttChartContainer * * In the current library, `sap.gantt.GanttChart` does not have a selection panel. `sap.gantt.GanttChartWithTable` * has a selection panel implemented by `sap.ui.table.TreeTable`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"30%"`. * * * @returns Reference to `this` in order to allow method chaining */ setSelectionPanelSize( /** * New value for property `selectionPanelSize` */ sSelectionPanelSize?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getShapeDataNames shapeDataNames}. * * Configuration of shape data names and the attribute in raw data that serves as 'id'. * * This property value should be an array, either an array of string, each string represents one available * shape data name, or an array of object, each object specifies the shape data name and data attribute * that will serves as 'id'. This configuration must be provided if SVG graphics are needed. * * Example: ` new sap.gantt.GanttChartWithTable({ shapeDataNames: ["task", "order"], shapes: [ new sap.gantt.shape.Shape({ * key: "calendar", shapeDataName: "task" shapeClassName: "sap.gantt.shape.Rectangle", // ... }) ] // ... * }); ` * * or in XMLView ` * ` * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeDataNames( /** * New value for property `shapeDataNames` */ sShapeDataNames?: sap.gantt.GenericArray ): this; /** * Sets a new value for property {@link #getShapes shapes}. * * Configuration of shape data against shape classes. * * List of available shapes. The shapes configured in this list are initialized inside `sap.gantt.GanttChartBase`. * Note that for JSON data binding, this configuration supports deep structured data structures. For ODATA * binding, only one level is supported. We recommend that you set the type of this argument to `sap.gantt.config.Shape[]`. * Otherwise some properties you set may not function properly. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `[]`. * * * @returns Reference to `this` in order to allow method chaining */ setShapes( /** * New value for property `shapes` */ sShapes?: object[] ): this; /** * Sets a new value for property {@link #getShapeSelectionMode shapeSelectionMode}. * * Selection mode for shape * * This property controls 4 shape selection modes(MultiWithKeyboard, Multiple, Single, None). You can use * `setShapeSelectionMode("None")` to set shape selection mode. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `MultiWithKeyboard`. * * * @returns Reference to `this` in order to allow method chaining */ setShapeSelectionMode( /** * New value for property `shapeSelectionMode` */ sShapeSelectionMode?: sap.gantt.SelectionMode ): this; /** * Sets a new value for property {@link #getSvgDefs svgDefs}. * * SVG reusable element definitions. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. We recommend that * you set the type of this argument to `sap.gantt.def.SvgDefs`. Otherwise some properties you set may not * function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSvgDefs( /** * New value for property `svgDefs` */ oSvgDefs?: object ): this; /** * Set exposed TreeTable properties * * * @returns Reference to this in order to allow method chaining */ setTableProperties( /** * The object include some properties from TreeTable */ oProperties: Object ): sap.gantt.GanttChart | sap.gantt.GanttChartWithTable; /** * Sets a new value for property {@link #getTimeAxis timeAxis}. * * Configuration of the time axis. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_TIME_AXIS`. * * @deprecated As of version 1.44. replaced by aggregation 'axisTimeStrategy'. Planning horizon, initial * horizon, and zoom level can be configured with this property. If not provided, a default configuration * is provided. We recommend that you set the type of this argument to `sap.gantt.config.TimeAxis`. Otherwise * some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * @returns Reference to `this` in order to allow method chaining */ setTimeAxis( /** * New value for property `timeAxis` */ oTimeAxis?: object ): this; /** * Sets a new value for property {@link #getTimeZoomRate timeZoomRate}. * * Zoom level in float. * * This property allows application developers to control the zoom level. When GanttChart is embedded in * `sap.gantt.GanttChartContainer`, you do not have to manage this property. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `1`. * * @deprecated As of version 1.44. please use sap.gantt.axistime.AxisTimeStrategy to change the zoom rate * * @returns Reference to `this` in order to allow method chaining */ setTimeZoomRate( /** * New value for property `timeZoomRate` */ fTimeZoomRate?: float ): this; /** * Sets a new value for property {@link #getToolbarSchemes toolbarSchemes}. * * Configuration of toolbar schemes. * * List of available toolbar schemes. If not provided, a default configuration is provided. We recommend * that you set the type of this argument to `sap.gantt.config.ToolbarScheme[]`. Otherwise some properties * you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEMES`. * * * @returns Reference to `this` in order to allow method chaining */ setToolbarSchemes( /** * New value for property `toolbarSchemes` */ sToolbarSchemes?: object[] ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the control. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100%"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.ui.core.CSSSize ): this; /** * Unbinds aggregation {@link #getAdhocLines adhocLines} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindAdhocLines(): this; /** * Unbinds aggregation {@link #getAxisTimeStrategy axisTimeStrategy} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindAxisTimeStrategy(): this; /** * Unbinds aggregation {@link #getCalendarDef calendarDef} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindCalendarDef(): this; /** * Unbinds aggregation {@link #getRelationships relationships} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindRelationships(): this; /** * Unbinds aggregation {@link #getRows rows} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindRows(): this; } /** * A container that holds one or more `GanttChartBase` instances. * * This class has several built-in several controls to support `GanttChartBase` instances: * - A toolbar above all Gantt Charts. Many built-in controls can be enabled or disabled using configuration * property `toolbarScheme`. Built-in functions include: * ComboBox for container selection * - Buttons for Add View, Delete View, and Switch Splitter Orientation * - Expand/Collapse groups for expandable charts * - A zooming slider * - A legend button * - A Settings button If nothing is added to the toolbar, the toolbar is hidden automatically. * For more information about the functions and configuration, see the API documentation of `sap.gantt.config.ToolbarScheme.` * * - A Splitter containing aggregation `ganttCharts` * * @deprecated As of version 1.64. {@link sap.gantt.simple.GanttChartContainer} should be used instead. */ class GanttChartContainer extends sap.ui.core.Control { /** * Creates and initializes a new Gantt chart container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * Initial settings for the new control */ mSettings?: sap.gantt.$GanttChartContainerSettings ); /** * Creates and initializes a new Gantt chart container. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * ID for the new control, generated automatically if no ID is given */ sId?: string, /** * Initial settings for the new control */ mSettings?: sap.gantt.$GanttChartContainerSettings ); /** * Creates a new subclass of class sap.gantt.GanttChartContainer with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.GanttChartContainer. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some customToolbarItem to the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns Reference to `this` in order to allow method chaining */ addCustomToolbarItem( /** * The customToolbarItem to add; if empty, nothing is inserted */ oCustomToolbarItem: sap.ui.core.Control ): this; /** * Adds some ganttChart to the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns Reference to `this` in order to allow method chaining */ addGanttChart( /** * The ganttChart to add; if empty, nothing is inserted */ oGanttChart: sap.gantt.GanttChartBase ): this; /** * Attaches event handler `fnFunction` to the {@link #event:customSettingChange customSettingChange} event * of this `sap.gantt.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartContainer` itself. * * Event fired when the custom settings are changed. * * The Custom settings are application-injected settings that can be configured in the Settings dialog box. * This event allows the application to handle these settings. Only check boxes are supported. * * * @returns Reference to `this` in order to allow method chaining */ attachCustomSettingChange( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartContainer$CustomSettingChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartContainer` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:customSettingChange customSettingChange} event * of this `sap.gantt.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartContainer` itself. * * Event fired when the custom settings are changed. * * The Custom settings are application-injected settings that can be configured in the Settings dialog box. * This event allows the application to handle these settings. Only check boxes are supported. * * * @returns Reference to `this` in order to allow method chaining */ attachCustomSettingChange( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartContainer$CustomSettingChangeEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartContainer` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttChartChangeRequested ganttChartChangeRequested } * event of this `sap.gantt.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartContainer` itself. * * Event fired when any change occurs in the toolbar that requests the application to change aggregation * `ganttCharts`. * * Possible triggers are: * - The source selection group changes in the container toolbar. * - The layout group button is clicked in the container toolbar. * - The source selection group changes in the Gantt chart toolbar. * * * @returns Reference to `this` in order to allow method chaining */ attachGanttChartChangeRequested( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$GanttChartChangeRequestedEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartContainer` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:ganttChartChangeRequested ganttChartChangeRequested } * event of this `sap.gantt.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartContainer` itself. * * Event fired when any change occurs in the toolbar that requests the application to change aggregation * `ganttCharts`. * * Possible triggers are: * - The source selection group changes in the container toolbar. * - The layout group button is clicked in the container toolbar. * - The source selection group changes in the Gantt chart toolbar. * * * @returns Reference to `this` in order to allow method chaining */ attachGanttChartChangeRequested( /** * The function to be called when the event occurs */ fnFunction: ( p1: GanttChartContainer$GanttChartChangeRequestedEvent ) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartContainer` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:treeTableToggleEvent treeTableToggleEvent} event * of this `sap.gantt.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartContainer` itself. * * Event fired when toggle node of the tree table. * * * @returns Reference to `this` in order to allow method chaining */ attachTreeTableToggleEvent( /** * An application-specific payload object that will be passed to the event handler along with the event * object when firing the event */ oData: object, /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartContainer$TreeTableToggleEventEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartContainer` itself */ oListener?: object ): this; /** * Attaches event handler `fnFunction` to the {@link #event:treeTableToggleEvent treeTableToggleEvent} event * of this `sap.gantt.GanttChartContainer`. * * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified, * otherwise it will be bound to this `sap.gantt.GanttChartContainer` itself. * * Event fired when toggle node of the tree table. * * * @returns Reference to `this` in order to allow method chaining */ attachTreeTableToggleEvent( /** * The function to be called when the event occurs */ fnFunction: (p1: GanttChartContainer$TreeTableToggleEventEvent) => void, /** * Context object to call the event handler with. Defaults to this `sap.gantt.GanttChartContainer` itself */ oListener?: object ): this; /** * Binds aggregation {@link #getCustomToolbarItems customToolbarItems} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindCustomToolbarItems( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Binds aggregation {@link #getGanttCharts ganttCharts} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindGanttCharts( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Deselects relationships and returns a success code. * * * @returns - If any selection change is applied, returns true. */ deselectRelationships( /** * Index of the Gantt chart containing the relationships that you want to deselect */ iGanttChartIndex?: int, /** * List of the relationships that you want to deselect */ aIds?: any[] ): boolean; /** * Deselects rows and returns a success code. * * * @returns - If any selection change is applied, returns true. */ deselectRows( /** * Index of the Gantt chart containing the rows that you want to deselect */ iGanttChartIndex?: int, /** * List of the rows that you want to deselect */ aIds?: any[] ): boolean; /** * Deselects in-row shapes and returns a success code. * * * @returns - If any selection change is applied, returns true. */ deselectShapes( /** * Index of the Gantt chart containing the shapes that you want to deselect */ iGanttChartIndex?: int, /** * List of the shapes that you want to deselect */ aIds?: any[] ): boolean; /** * Destroys all the customToolbarItems in the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns Reference to `this` in order to allow method chaining */ destroyCustomToolbarItems(): this; /** * Destroys all the ganttCharts in the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns Reference to `this` in order to allow method chaining */ destroyGanttCharts(): this; /** * Destroys the legendContainer in the aggregation {@link #getLegendContainer legendContainer}. * * * @returns Reference to `this` in order to allow method chaining */ destroyLegendContainer(): this; /** * Detaches event handler `fnFunction` from the {@link #event:customSettingChange customSettingChange} event * of this `sap.gantt.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachCustomSettingChange( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartContainer$CustomSettingChangeEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:ganttChartChangeRequested ganttChartChangeRequested } * event of this `sap.gantt.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachGanttChartChangeRequested( /** * The function to be called, when the event occurs */ fnFunction: ( p1: GanttChartContainer$GanttChartChangeRequestedEvent ) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Detaches event handler `fnFunction` from the {@link #event:treeTableToggleEvent treeTableToggleEvent } * event of this `sap.gantt.GanttChartContainer`. * * The passed function and listener object must match the ones used for event registration. * * * @returns Reference to `this` in order to allow method chaining */ detachTreeTableToggleEvent( /** * The function to be called, when the event occurs */ fnFunction: (p1: GanttChartContainer$TreeTableToggleEventEvent) => void, /** * Context object on which the given function had to be called */ oListener?: object ): this; /** * Fires event {@link #event:customSettingChange customSettingChange} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireCustomSettingChange( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartContainer$CustomSettingChangeEventParameters ): this; /** * Fires event {@link #event:ganttChartChangeRequested ganttChartChangeRequested} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireGanttChartChangeRequested( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartContainer$GanttChartChangeRequestedEventParameters ): this; /** * Fires event {@link #event:treeTableToggleEvent treeTableToggleEvent} to attached listeners. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Reference to `this` in order to allow method chaining */ fireTreeTableToggleEvent( /** * Parameters to pass along with the event */ mParameters?: sap.gantt.GanttChartContainer$TreeTableToggleEventEventParameters ): this; /** * Gets all selected rows and shapes, including relationships. * * * @returns The returned object contains "rows" for all selected rows, "shapes" for all selected shapes, * and "relationships" for all selected relationships */ getAllSelections( /** * Index of the Gantt chart containing that you want to get */ iGanttChartIndex?: int ): object; /** * Gets current value of property {@link #getContainerLayoutKey containerLayoutKey}. * * Current container layout key. * * This is a key configured in configuration property `containerLayouts`. * * Default value is `library.config.DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY`. * * * @returns Value of property `containerLayoutKey` */ getContainerLayoutKey(): string; /** * Gets current value of property {@link #getContainerLayouts containerLayouts}. * * Configuration of container layouts. * * This configuration affects the data source selection ComboBox in the Container Toolbar. When the selection * changes, the `ganttChartChangeRequested` event that is triggered includes the corresponding layout key. * We recommend that you set the type of this argument to `sap.gantt.config.ContainerLayout[]`. Otherwise * some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_CONTAINER_LAYOUTS`. * * * @returns Value of property `containerLayouts` */ getContainerLayouts(): object[]; /** * Gets content of aggregation {@link #getCustomToolbarItems customToolbarItems}. * * Controls to be placed in the container toolbar. * * This aggregation is used only when the custom toolbar item group is configured to be shown in the * container toolbar. Different from the built-in buttons that are configured to be shown or hidden, these * controls are free controls created by the application, but are only placed in the container toolbar by * `sap.gantt.GanttChartContainer`. * * If the source selection group is enabled and you want your application to use a container layout pre-configured * for a specific source, you can implement your custom toolbar items in the event handler of event `ganttChartChangeRequested`. */ getCustomToolbarItems(): sap.ui.core.Control[]; /** * Gets current value of property {@link #getEnableAdhocLine enableAdhocLine}. * * Switch to enable and disable adhoc lines representing milestones and events along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableAdhocLine` */ getEnableAdhocLine(): boolean; /** * Gets current value of property {@link #getEnableCursorLine enableCursorLine}. * * Switch to enable and disable the cursor line that follows the cursor. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableCursorLine` */ getEnableCursorLine(): boolean; /** * Gets current value of property {@link #getEnableNowLine enableNowLine}. * * Switch to enable and disable the present time indicator. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableNowLine` */ getEnableNowLine(): boolean; /** * Gets current value of property {@link #getEnableTimeScrollSync enableTimeScrollSync}. * * Switch to enable and disable scroll synchronization by time on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableTimeScrollSync` */ getEnableTimeScrollSync(): boolean; /** * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}. * * Switch to enable and disable vertical lines representing intervals along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * Default value is `true`. * * * @returns Value of property `enableVerticalLine` */ getEnableVerticalLine(): boolean; /** * Gets content of aggregation {@link #getGanttCharts ganttCharts}. * * Gantt chart instances. * * If the source selection group is enabled and you want your application to use a container layout pre-configured * for a specific source, you can implement your custom toolbar items in the event handler of event `ganttChartChangeRequested`. * Provide a Gantt chart in compliance with the container layout setting. GanttChartContainer is designed * to support Gantt chart layouts that include multiple views. */ getGanttCharts(): sap.gantt.GanttChartBase[]; /** * Gets current value of property {@link #getHeight height}. * * Height of the control * * Default value is `"100%"`. * * * @returns Value of property `height` */ getHeight(): sap.ui.core.CSSSize; /** * Gets current value of property {@link #getHierarchies hierarchies}. * * List of available hierarchies. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.Hierarchy[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_HIERARCHYS`. * * * @returns Value of property `hierarchies` */ getHierarchies(): object[]; /** * Gets content of aggregation {@link #getLegendContainer legendContainer}. * * Legend shown when the legend button is clicked. * * This aggregation is used only when the Legend button is configured to be shown in the container toolbar. */ getLegendContainer(): sap.gantt.legend.LegendContainer; /** * Gets current value of property {@link #getMaxNumOfGanttCharts maxNumOfGanttCharts}. * * Define the maximum number of Gantt charts to be displayed on the same screen. When this number is reached, * the "Add Gantt Chart" button is grayed out. * * Default value is `3`. * * * @returns Value of property `maxNumOfGanttCharts` */ getMaxNumOfGanttCharts(): int; /** * Gets current value of property {@link #getModes modes}. * * List of available modes. To apply modes to the toolbar and shapes, further configuration is needed. (specifically, * in property `toolbarSchemes`, and properties `toolbarSchemes` and `shapes` in the `GanttChartBase` class)If * not provided, a default configuration is provided. We recommend that you set the type of this argument * to `sap.gantt.config.Mode[]`. Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_MODES`. * * * @returns Value of property `modes` */ getModes(): object[]; /** * Gets the selected relationships. * * * @returns Returns all selected relationships in the chart */ getSelectedRelationships( /** * Index of the Gantt chart containing the selected relationships that you want to get */ iGanttChartIndex?: int ): any[]; /** * Gets the selected rows. * * * @returns Returns all selected rows */ getSelectedRows( /** * Index of the Gantt chart containing the selected rows that you want to get */ iGanttChartIndex?: int ): any[]; /** * Gets the selected in-row shapes. * * * @returns Returns all selected shapes in the chart */ getSelectedShapes( /** * Index of the Gantt chart containing the selected shapes that you want to get */ iGanttChartIndex?: int ): any[]; /** * Gets current value of property {@link #getSliderStep sliderStep}. * * Define the amount of units to change the time zoom slider. * * See {@link sap.m.Slider#setStep} * * @deprecated As of version 1.44. please set the property 'stepCountOfSlider' in sap.gantt.config.TimeZoomGroup. * * @returns Value of property `sliderStep` */ getSliderStep(): int; /** * Gets current value of property {@link #getSvgDefs svgDefs}. * * Definitions of paint servers used for advanced shape features around SVG fill, stroke, and filter attributes. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. It is easier to * assign a common paint server definition in this class instead of in separate instances of `sap.gantt.GanttChartBase`. * Then the definition is rendered only once. We recommend that you set the type of this argument to `sap.gantt.def.SvgDefs`. * Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * * @returns Value of property `svgDefs` */ getSvgDefs(): object; /** * Returns the current effective toolbar scheme key. * * * @returns - Toolbar scheme key. */ getToolbarSchemeKey(): string; /** * Gets current value of property {@link #getToolbarSchemes toolbarSchemes}. * * List of available toolbar schemes. If not provided, a default configuration is provided. We recommend * that you set the type of this argument to `sap.gantt.config.ToolbarScheme[]`. Otherwise some properties * you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * Default value is `library.config.DEFAULT_CONTAINER_TOOLBAR_SCHEMES`. * * * @returns Value of property `toolbarSchemes` */ getToolbarSchemes(): object[]; /** * Gets current value of property {@link #getWidth width}. * * Width of the control * * Default value is `"100%"`. * * * @returns Value of property `width` */ getWidth(): sap.ui.core.CSSSize; /** * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getCustomToolbarItems customToolbarItems}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCustomToolbarItem( /** * The customToolbarItem whose index is looked for */ oCustomToolbarItem: sap.ui.core.Control ): int; /** * Checks for the provided `sap.gantt.GanttChartBase` in the aggregation {@link #getGanttCharts ganttCharts}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfGanttChart( /** * The ganttChart whose index is looked for */ oGanttChart: sap.gantt.GanttChartBase ): int; /** * Inserts a customToolbarItem into the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns Reference to `this` in order to allow method chaining */ insertCustomToolbarItem( /** * The customToolbarItem to insert; if empty, nothing is inserted */ oCustomToolbarItem: sap.ui.core.Control, /** * The `0`-based index the customToolbarItem should be inserted at; for a negative value of `iIndex`, the * customToolbarItem is inserted at position 0; for a value greater than the current size of the aggregation, * the customToolbarItem is inserted at the last position */ iIndex: int ): this; /** * Inserts a ganttChart into the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns Reference to `this` in order to allow method chaining */ insertGanttChart( /** * The ganttChart to insert; if empty, nothing is inserted */ oGanttChart: sap.gantt.GanttChartBase, /** * The `0`-based index the ganttChart should be inserted at; for a negative value of `iIndex`, the ganttChart * is inserted at position 0; for a value greater than the current size of the aggregation, the ganttChart * is inserted at the last position */ iIndex: int ): this; /** * Removes all the controls from the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllCustomToolbarItems(): sap.ui.core.Control[]; /** * Removes all the controls from the aggregation {@link #getGanttCharts ganttCharts}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllGanttCharts(): sap.gantt.GanttChartBase[]; /** * Removes a customToolbarItem from the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns The removed customToolbarItem or `null` */ removeCustomToolbarItem( /** * The customToolbarItem to remove or its index or id */ vCustomToolbarItem: int | string | sap.ui.core.Control ): sap.ui.core.Control | null; /** * Removes a ganttChart from the aggregation {@link #getGanttCharts ganttCharts}. * * * @returns The removed ganttChart or `null` */ removeGanttChart( /** * The ganttChart to remove or its index or id */ vGanttChart: int | string | sap.gantt.GanttChartBase ): sap.gantt.GanttChartBase | null; /** * Selects relationships and returns a success code. * * * @returns - If any selection change is applied, returns true. */ selectRelationships( /** * Index of the Gantt chart containing the relationships that you want to select */ iGanttChartIndex?: int, /** * List of the relationships that you want to select */ aIds?: any[], /** * Whether all other selected relationships are to be deselected */ isExclusive?: boolean ): boolean; /** * Selects rows and returns a success code. * * * @returns - If any selection change is applied, returns true. */ selectRows( /** * Index of the Gantt chart containing the rows that you want to select */ iGanttChartIndex?: int, /** * List of the rows that you want to select */ aIds?: any[], /** * Whether all other selected rows are to be deselected */ isExclusive?: boolean ): boolean; /** * Selects rows and all shapes contained in these rows. * * * @returns - If any selection change is applied, returns true. */ selectRowsAndShapes( /** * Index of the Gantt chart containing the rows and shapes that you want to select */ iGanttChartIndex?: int, /** * Row UIDs */ aIds?: any[], /** * Whether reset all other selected rows and shapes are to be reset */ bIsExclusive?: boolean ): boolean; /** * Selects in-row shapes and returns a success code. * * * @returns - If any selection change is applied, returns true. */ selectShapes( /** * Index of the Gantt chart containing the shapes that you want to select */ iGanttChart?: int, /** * List of the shape IDs that you want to select */ aIds?: any[], /** * Whether all other selected shapes are to be deselected */ isExclusive?: boolean ): boolean; /** * Sets a new value for property {@link #getContainerLayoutKey containerLayoutKey}. * * Current container layout key. * * This is a key configured in configuration property `containerLayouts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_CONTAINER_SINGLE_LAYOUT_KEY`. * * * @returns Reference to `this` in order to allow method chaining */ setContainerLayoutKey( /** * New value for property `containerLayoutKey` */ sContainerLayoutKey?: string ): this; /** * Sets a new value for property {@link #getContainerLayouts containerLayouts}. * * Configuration of container layouts. * * This configuration affects the data source selection ComboBox in the Container Toolbar. When the selection * changes, the `ganttChartChangeRequested` event that is triggered includes the corresponding layout key. * We recommend that you set the type of this argument to `sap.gantt.config.ContainerLayout[]`. Otherwise * some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_CONTAINER_LAYOUTS`. * * * @returns Reference to `this` in order to allow method chaining */ setContainerLayouts( /** * New value for property `containerLayouts` */ sContainerLayouts?: object[] ): this; /** * Sets a new value for property {@link #getEnableAdhocLine enableAdhocLine}. * * Switch to enable and disable adhoc lines representing milestones and events along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableAdhocLine( /** * New value for property `enableAdhocLine` */ bEnableAdhocLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableCursorLine enableCursorLine}. * * Switch to enable and disable the cursor line that follows the cursor. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableCursorLine( /** * New value for property `enableCursorLine` */ bEnableCursorLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableNowLine enableNowLine}. * * Switch to enable and disable the present time indicator. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableNowLine( /** * New value for property `enableNowLine` */ bEnableNowLine?: boolean ): this; /** * Sets a new value for property {@link #getEnableTimeScrollSync enableTimeScrollSync}. * * Switch to enable and disable scroll synchronization by time on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableTimeScrollSync( /** * New value for property `enableTimeScrollSync` */ bEnableTimeScrollSync?: boolean ): this; /** * Sets a new value for property {@link #getEnableVerticalLine enableVerticalLine}. * * Switch to enable and disable vertical lines representing intervals along the time axis. * * When this value is set, it overrides the corresponding value on instances of aggregation `ganttCharts`. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setEnableVerticalLine( /** * New value for property `enableVerticalLine` */ bEnableVerticalLine?: boolean ): this; /** * Sets a new value for property {@link #getHeight height}. * * Height of the control * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100%"`. * * * @returns Reference to `this` in order to allow method chaining */ setHeight( /** * New value for property `height` */ sHeight?: sap.ui.core.CSSSize ): this; /** * Sets a new value for property {@link #getHierarchies hierarchies}. * * List of available hierarchies. If not provided, a default configuration is provided. We recommend that * you set the type of this argument to `sap.gantt.config.Hierarchy[]`. Otherwise some properties you set * may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_HIERARCHYS`. * * * @returns Reference to `this` in order to allow method chaining */ setHierarchies( /** * New value for property `hierarchies` */ sHierarchies?: object[] ): this; /** * Sets the aggregated {@link #getLegendContainer legendContainer}. * * * @returns Reference to `this` in order to allow method chaining */ setLegendContainer( /** * The legendContainer to set */ oLegendContainer: sap.gantt.legend.LegendContainer ): this; /** * Sets a new value for property {@link #getMaxNumOfGanttCharts maxNumOfGanttCharts}. * * Define the maximum number of Gantt charts to be displayed on the same screen. When this number is reached, * the "Add Gantt Chart" button is grayed out. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `3`. * * * @returns Reference to `this` in order to allow method chaining */ setMaxNumOfGanttCharts( /** * New value for property `maxNumOfGanttCharts` */ iMaxNumOfGanttCharts?: int ): this; /** * Sets a new value for property {@link #getModes modes}. * * List of available modes. To apply modes to the toolbar and shapes, further configuration is needed. (specifically, * in property `toolbarSchemes`, and properties `toolbarSchemes` and `shapes` in the `GanttChartBase` class)If * not provided, a default configuration is provided. We recommend that you set the type of this argument * to `sap.gantt.config.Mode[]`. Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_MODES`. * * * @returns Reference to `this` in order to allow method chaining */ setModes( /** * New value for property `modes` */ sModes?: object[] ): this; /** * Sets a new value for property {@link #getSliderStep sliderStep}. * * Define the amount of units to change the time zoom slider. * * See {@link sap.m.Slider#setStep} * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * @deprecated As of version 1.44. please set the property 'stepCountOfSlider' in sap.gantt.config.TimeZoomGroup. * * @returns Reference to `this` in order to allow method chaining */ setSliderStep( /** * New value for property `sliderStep` */ iSliderStep: int ): this; /** * Sets a new value for property {@link #getSvgDefs svgDefs}. * * Definitions of paint servers used for advanced shape features around SVG fill, stroke, and filter attributes. * * If this property is provided, the paint server definition of the SVG is rendered. Method `getDefString()` * should be implemented by all paint server classes that are passed in in this property. It is easier to * assign a common paint server definition in this class instead of in separate instances of `sap.gantt.GanttChartBase`. * Then the definition is rendered only once. We recommend that you set the type of this argument to `sap.gantt.def.SvgDefs`. * Otherwise some properties you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setSvgDefs( /** * New value for property `svgDefs` */ oSvgDefs?: object ): this; /** * Sets a new value for property {@link #getToolbarSchemes toolbarSchemes}. * * List of available toolbar schemes. If not provided, a default configuration is provided. We recommend * that you set the type of this argument to `sap.gantt.config.ToolbarScheme[]`. Otherwise some properties * you set may not function properly. * * Restriction: It is defined as a property, and hence cannot be used in an XML view. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `library.config.DEFAULT_CONTAINER_TOOLBAR_SCHEMES`. * * * @returns Reference to `this` in order to allow method chaining */ setToolbarSchemes( /** * New value for property `toolbarSchemes` */ sToolbarSchemes?: object[] ): this; /** * Sets a new value for property {@link #getWidth width}. * * Width of the control * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `"100%"`. * * * @returns Reference to `this` in order to allow method chaining */ setWidth( /** * New value for property `width` */ sWidth?: sap.ui.core.CSSSize ): this; /** * Switches the splitter orientation. * * * @returns - `this` */ switchOrientation( /** * Target orientation. If not provided, this method inverts the orientation. */ vOrientation?: string, /** * If this value is provided, it overrides the target orientation from the current configuration indicated * by property `containerLayoutKey`. */ bReadConfig?: boolean ): object; /** * Unbinds aggregation {@link #getCustomToolbarItems customToolbarItems} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindCustomToolbarItems(): this; /** * Unbinds aggregation {@link #getGanttCharts ganttCharts} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindGanttCharts(): this; } /** * Embed a `sap.ui.table.TreeTable` and a `sap.gantt.GanttChart` side-by-side. * * This class defines: The TreeTable part provide a column view of data with sorting/filtering functions * available. The svg chart part provide graphic Gantt chart view of data. Both width can be adjusted by * a splitter bar, and row scrolling are always synchronized.3 * * @deprecated As of version 1.64. {@link sap.gantt.simple.GanttChartWithTable} should be used instead. */ class GanttChartWithTable extends sap.gantt.GanttChartBase { /** * Creates and initializes a new Gantt Chart with a TreeTable control on the left and a svg chart area on * the right. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * initial settings for the new control */ mSettings?: sap.gantt.$GanttChartWithTableSettings ); /** * Creates and initializes a new Gantt Chart with a TreeTable control on the left and a svg chart area on * the right. * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor( /** * id for the new control, generated automatically if no id is given */ sId?: string, /** * initial settings for the new control */ mSettings?: sap.gantt.$GanttChartWithTableSettings ); /** * Creates a new subclass of class sap.gantt.GanttChartWithTable with name `sClassName` and enriches it * with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.GanttChartBase.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.gantt.GanttChartWithTable. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ElementMetadata; /** * Adds some column to the aggregation {@link #getColumns columns}. * * * @returns Reference to `this` in order to allow method chaining */ addColumn( /** * The column to add; if empty, nothing is inserted */ oColumn: sap.ui.table.Column ): this; /** * Adds some customToolbarItem to the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns Reference to `this` in order to allow method chaining */ addCustomToolbarItem( /** * The customToolbarItem to add; if empty, nothing is inserted */ oCustomToolbarItem: sap.ui.core.Control ): this; /** * Triggers automatic resizing of a column to the widest content.(experimental!) * See: * sap.ui.table.Table.autoResizeColumn */ autoResizeColumn( /** * column id */ iColId: int ): void; /** * Binds aggregation {@link #getCustomToolbarItems customToolbarItems} to model data. * * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description * of the possible properties of `oBindingInfo`. * * * @returns Reference to `this` in order to allow method chaining */ bindCustomToolbarItems( /** * The binding information */ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo ): this; /** * Destroys all the columns in the aggregation {@link #getColumns columns}. * * * @returns Reference to `this` in order to allow method chaining */ destroyColumns(): this; /** * Destroys all the customToolbarItems in the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns Reference to `this` in order to allow method chaining */ destroyCustomToolbarItems(): this; /** * Gets current value of property {@link #getCellCallback cellCallback}. * * A customized cell callback function. * * This property is used in combination with configuration property `hierarchies`. If aggregation `columns` * is provided, property `hierarchies` and `cellCallback` is ignored. Otherwise property `hierarchies` must * provide column configurations that cellCallback can consume. And if cellCallback is not provided, a default * cellCallback adds `sap.m.Label` to fill cells. * * * @returns Value of property `cellCallback` */ getCellCallback(): object; /** * Gets content of aggregation {@link #getColumns columns}. * * Aggregation delegated to `sap.ui.table.Table`. * * If this aggregation is provided, call back property `cellCallBack` and column configuration in property * `hierarchies` will be ignored. */ getColumns(): sap.ui.table.Column[]; /** * Gets content of aggregation {@link #getCustomToolbarItems customToolbarItems}. * * Controls to be place in Gantt chart toolbar. * * This aggregation is only used when custom toolbar item group is configured to be shown in Gantt chart * toolbar. Different from the build-in buttons which are configured to be shown or hidden, these are free * controls created by application, only they are placed in container toolbar by `sap.gantt.GanttChartWithTable`. * * A common recommendation is, if the source select group is enabled and application wants to pre-configure * container layouts, the chance to change custom toolbar items is in event handler to event `ganttChartSwitchRequested`. */ getCustomToolbarItems(): sap.ui.core.Control[]; /** * Gets the first visible row of the selection panel. * See: * sap.ui.table.Table.getFirstVisibleRow * * @deprecated As of version 1.50.7. We recommend use getTableProperties function instead * * @returns the first visible row index */ getFirstVisibleRow(): int; /** * To get fixedColumnCount value * See: * sap.ui.table.Table.getFixedColumnCount * * @deprecated As of version 1.50.7. We recommend use getTableProperties function instead * * @returns The value of fixedColumnCount */ getFixedColumnCount(): int; /** * Retrieves the lead selection index. The lead selection index is, among other things, used to determine * the start and end of a selection range, when using Shift-Click to select multiple entries. * See: * sap.ui.table.Table.getSelectedIndex * * * @returns An array containing all selected indexes (ascending ordered integers) */ getSelectedIndex(): int[]; /** * Returns the effective toolbar scheme key. * * * @returns - Toolbar scheme key. */ getToolbarSchemeKey(): string; /** * Checks for the provided `sap.ui.table.Column` in the aggregation {@link #getColumns columns}. and returns * its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfColumn( /** * The column whose index is looked for */ oColumn: sap.ui.table.Column ): int; /** * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getCustomToolbarItems customToolbarItems}. * and returns its index if found or -1 otherwise. * * * @returns The index of the provided control in the aggregation if found, or -1 otherwise */ indexOfCustomToolbarItem( /** * The customToolbarItem whose index is looked for */ oCustomToolbarItem: sap.ui.core.Control ): int; /** * Inserts a column into the aggregation {@link #getColumns columns}. * * * @returns Reference to `this` in order to allow method chaining */ insertColumn( /** * The column to insert; if empty, nothing is inserted */ oColumn: sap.ui.table.Column, /** * The `0`-based index the column should be inserted at; for a negative value of `iIndex`, the column is * inserted at position 0; for a value greater than the current size of the aggregation, the column is inserted * at the last position */ iIndex: int ): this; /** * Inserts a customToolbarItem into the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns Reference to `this` in order to allow method chaining */ insertCustomToolbarItem( /** * The customToolbarItem to insert; if empty, nothing is inserted */ oCustomToolbarItem: sap.ui.core.Control, /** * The `0`-based index the customToolbarItem should be inserted at; for a negative value of `iIndex`, the * customToolbarItem is inserted at position 0; for a value greater than the current size of the aggregation, * the customToolbarItem is inserted at the last position */ iIndex: int ): this; /** * Scrolls the visible chart area to a certain time. * * It can be used to implement the function of 'Jump To First', 'Jump To Last' and 'Jump To Current'. */ jumpToPosition( /** * The date object to which the user wants the visible area to scroll. */ oDate: Date ): void; /** * Removes all the controls from the aggregation {@link #getColumns columns}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllColumns(): sap.ui.table.Column[]; /** * Removes all the controls from the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * Additionally, it unregisters them from the hosting UIArea. * * * @returns An array of the removed elements (might be empty) */ removeAllCustomToolbarItems(): sap.ui.core.Control[]; /** * Removes a column from the aggregation {@link #getColumns columns}. * * * @returns The removed column or `null` */ removeColumn( /** * The column to remove or its index or id */ vColumn: int | string | sap.ui.table.Column ): sap.ui.table.Column | null; /** * Removes a customToolbarItem from the aggregation {@link #getCustomToolbarItems customToolbarItems}. * * * @returns The removed customToolbarItem or `null` */ removeCustomToolbarItem( /** * The customToolbarItem to remove or its index or id */ vCustomToolbarItem: int | string | sap.ui.core.Control ): sap.ui.core.Control | null; /** * Sets a new value for property {@link #getCellCallback cellCallback}. * * A customized cell callback function. * * This property is used in combination with configuration property `hierarchies`. If aggregation `columns` * is provided, property `hierarchies` and `cellCallback` is ignored. Otherwise property `hierarchies` must * provide column configurations that cellCallback can consume. And if cellCallback is not provided, a default * cellCallback adds `sap.m.Label` to fill cells. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * * @returns Reference to `this` in order to allow method chaining */ setCellCallback( /** * New value for property `cellCallback` */ oCellCallback: object ): this; /** * Sets the first visible row in the selection panel. * See: * sap.ui.table.Table.setFirstVisibleRow * * @deprecated As of version 1.50.7. We recommend use setTableProperties function instead * * @returns A reference to the GanttChartWithTable control, which can be used for chaining */ setFirstVisibleRow( /** * The row index to be set as the first visible row */ iRowIndex: int ): this; /** * To set fixedColumnCount value * See: * sap.ui.table.Table.setFixedColumnCount * * @deprecated As of version 1.50.7. We recommend use setTableProperties function instead * * @returns A reference to the GanttChartWithTable control, which can be used for chaining */ setFixedColumnCount(iFixedColumnCount: int): this; /** * Selects a row in the selection panel. * See: * sap.ui.table.Table.setSelectedIndex * * * @returns A reference to the GanttChartWithTable control, which can be used for chaining */ setSelectedIndex( /** * The row index to be selected (if any exists) */ iRowIndex: int ): this; /** * Allows to hide the hierarchy structure (tree icons, indentation) in left table. This might be useful * in some scenarios when the data is not hierarchical, no need for any expand/collapse. **Note:** In flat * mode the hierarchy is not visible to the user. * * @ui5-protected Do not call from applications (only from related classes in the framework) */ setUseFlatMode( /** * If set to `true`, the flat mode is enabled */ bFlat: boolean ): void; /** * Unbinds aggregation {@link #getCustomToolbarItems customToolbarItems} from model data. * * * @returns Reference to `this` in order to allow method chaining */ unbindCustomToolbarItems(): this; /** * Configures Gantt chart to use the provided selection plugin in its tables. * * @since 1.76 */ useSelectionPlugin( /** * Selection plugin to use. Passing an empty value disables any selection plugin that was used previously. */ oSelectionPlugin: sap.ui.table.plugins.SelectionPlugin ): void; } /** * The layer of adhoc line in chart area * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'AdhocLineLayer'. */ enum AdhocLineLayer { /** * Adhoc lines are below all other shapes. If a calendar is shown in the chart area, adhoc lines are on * top of the calendar. */ Bottom = "Bottom", /** * Adhoc lines are on top of all other shapes and patterns. */ Top = "Top", } /** * The layer of delta line in chart area * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'DeltaLineLayer'. * * @since 1.84 */ enum DeltaLineLayer { /** * Delta lines are below all other shapes and patterns. */ Bottom = "Bottom", /** * Delta lines are above all other shapes and patterns. */ Top = "Top", } /** * Defines how dragged ghost moves when dragging. * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'DragOrientation'. */ enum DragOrientation { /** * When you click on a shape to start a drag-and-drop operation, the dragged shape's ghost can move in both * horizontal and verital directions, which means, both axis x and y may change at the same time. */ Free = "Free", /** * When you click on a shape to start a drag-and-drop operation, the dragged shape's ghost can only move * in horizontal direction when dragging, which means, the axis y will not change. */ Horizontal = "Horizontal", /** * When you click on a shape to start a drag-and-drop operation, the dragged shape's ghost can only move * in vertical direction when dragging, which means, the axis x will not change. When drag in vertical direction, * the ghost alignment will not work, and only one shape can be dragged. */ Vertical = "Vertical", } /** * Different zoom type for mouse wheel zooming * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'MouseWheelZoomType'. */ enum MouseWheelZoomType { /** * The granularity is the unit time range of innerInterval under current zoom level */ FineGranular = "FineGranular", /** * Do not support mouse wheel zooming */ None = "None", /** * The granularity is a whole zoom level, just like the global zoom slider does */ Stepwise = "Stepwise", } /** * Different selection mode for GanttChart * * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'SelectionMode'. */ enum SelectionMode { /** * Select multiple shapes at a time */ Multiple = "Multiple", /** * Select multiple shapes alongwith lasso selection */ MultipleWithLasso = "MultipleWithLasso", /** * Support multiple shape when pressing ctrl/meta key From version 1.40 to upper versions, support multiple * selection without Ctrl key for rows */ MultiWithKeyboard = "MultiWithKeyboard", /** * Support multiple shape alongwith lasso selection when pressing ctrl/meta key */ MultiWithKeyboardAndLasso = "MultiWithKeyboardAndLasso", /** * No shape can be selected */ None = "None", /** * Select one shape at a time */ Single = "Single", } /** * A hybrid data type that can represent an array of string, or array of object. The result value parsed * by this data type are "string[]" or "object[]" * * Examples of valid values in js: * - ["order", "activity"] * - [{name:"order", idName:"OrderNo"},{name:"activity"}] * - [{name:"order", idName:"OrderNo"},"activity"] * * Examples of valid values in xml view: * - "order,activity" * - "[order,activity]" * - [{"name":"order", "idName":"OrderNo"},{"name":"activity"}] */ type GenericArray = any; /** * Accepts only Gantt palette colors names. * * @since 1.69 */ type PaletteColor = string; /** * A length is a distance measurement, given as a number along with a unit. If unit is not provided, the * length value represents a distance in the current user coordinate system. */ type SVGLength = any; /** * A string type that represents SVG fill color values. * * Allowed values are {@link sap.ui.core.CSSColor} and {@link sap.m.ValueColor} and LESS parameter The empty * string and invalid less parameter fall back to default black color. */ type ValueSVGPaintServer = string; /** * Event object of the GanttChartBase#chartClick event. */ type GanttChartBase$ChartClickEvent = sap.ui.base.Event< GanttChartBase$ChartClickEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#chartDoubleClick event. */ type GanttChartBase$ChartDoubleClickEvent = sap.ui.base.Event< GanttChartBase$ChartDoubleClickEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#chartDragEnter event. */ type GanttChartBase$ChartDragEnterEvent = sap.ui.base.Event< GanttChartBase$ChartDragEnterEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#chartDragLeave event. */ type GanttChartBase$ChartDragLeaveEvent = sap.ui.base.Event< GanttChartBase$ChartDragLeaveEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#chartMouseOver event. */ type GanttChartBase$ChartMouseOverEvent = sap.ui.base.Event< GanttChartBase$ChartMouseOverEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#chartRightClick event. */ type GanttChartBase$ChartRightClickEvent = sap.ui.base.Event< GanttChartBase$ChartRightClickEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#ganttChartSwitchRequested event. */ type GanttChartBase$GanttChartSwitchRequestedEvent = sap.ui.base.Event< GanttChartBase$GanttChartSwitchRequestedEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#horizontalScroll event. * * @deprecated As of version 1.44. the concept has been discarded. */ type GanttChartBase$HorizontalScrollEvent = sap.ui.base.Event< GanttChartBase$HorizontalScrollEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#relationshipSelectionChange event. */ type GanttChartBase$RelationshipSelectionChangeEvent = sap.ui.base.Event< GanttChartBase$RelationshipSelectionChangeEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#rowSelectionChange event. */ type GanttChartBase$RowSelectionChangeEvent = sap.ui.base.Event< GanttChartBase$RowSelectionChangeEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#shapeDragEnd event. */ type GanttChartBase$ShapeDragEndEvent = sap.ui.base.Event< GanttChartBase$ShapeDragEndEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#shapeMouseEnter event. */ type GanttChartBase$ShapeMouseEnterEvent = sap.ui.base.Event< GanttChartBase$ShapeMouseEnterEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#shapeMouseLeave event. */ type GanttChartBase$ShapeMouseLeaveEvent = sap.ui.base.Event< GanttChartBase$ShapeMouseLeaveEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#shapeResizeEnd event. */ type GanttChartBase$ShapeResizeEndEvent = sap.ui.base.Event< GanttChartBase$ShapeResizeEndEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#shapeSelectionChange event. */ type GanttChartBase$ShapeSelectionChangeEvent = sap.ui.base.Event< GanttChartBase$ShapeSelectionChangeEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#splitterResize event. */ type GanttChartBase$SplitterResizeEvent = sap.ui.base.Event< GanttChartBase$SplitterResizeEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#treeTableToggleEvent event. */ type GanttChartBase$TreeTableToggleEventEvent = sap.ui.base.Event< GanttChartBase$TreeTableToggleEventEventParameters, GanttChartBase >; /** * Event object of the GanttChartBase#verticalScroll event. * * @deprecated As of version 1.44. the concept has been discarded. */ type GanttChartBase$VerticalScrollEvent = sap.ui.base.Event< GanttChartBase$VerticalScrollEventParameters, GanttChartBase >; /** * Event object of the GanttChartContainer#customSettingChange event. */ type GanttChartContainer$CustomSettingChangeEvent = sap.ui.base.Event< GanttChartContainer$CustomSettingChangeEventParameters, GanttChartContainer >; /** * Event object of the GanttChartContainer#ganttChartChangeRequested event. */ type GanttChartContainer$GanttChartChangeRequestedEvent = sap.ui.base.Event< GanttChartContainer$GanttChartChangeRequestedEventParameters, GanttChartContainer >; /** * Event object of the GanttChartContainer#treeTableToggleEvent event. */ type GanttChartContainer$TreeTableToggleEventEvent = sap.ui.base.Event< GanttChartContainer$TreeTableToggleEventEventParameters, GanttChartContainer >; } interface IUI5DefineDependencyNames { "sap/gantt/AdhocLine": undefined; "sap/gantt/axistime/AxisTimeStrategyBase": undefined; "sap/gantt/axistime/FullScreenStrategy": undefined; "sap/gantt/axistime/ProportionZoomStrategy": undefined; "sap/gantt/axistime/StepwiseZoomStrategy": undefined; "sap/gantt/config/BirdEyeGroup": undefined; "sap/gantt/config/ChartScheme": undefined; "sap/gantt/config/ColumnAttribute": undefined; "sap/gantt/config/ContainerLayout": undefined; "sap/gantt/config/ExpandChart": undefined; "sap/gantt/config/ExpandChartGroup": undefined; "sap/gantt/config/GanttChartLayout": undefined; "sap/gantt/config/Hierarchy": undefined; "sap/gantt/config/HierarchyColumn": undefined; "sap/gantt/config/LayoutGroup": undefined; "sap/gantt/config/Locale": undefined; "sap/gantt/config/Mode": undefined; "sap/gantt/config/ModeGroup": undefined; "sap/gantt/config/ObjectType": undefined; "sap/gantt/config/SettingGroup": undefined; "sap/gantt/config/SettingItem": undefined; "sap/gantt/config/Shape": undefined; "sap/gantt/config/TimeAxis": undefined; "sap/gantt/config/TimeHorizon": undefined; "sap/gantt/config/TimeZoomGroup": undefined; "sap/gantt/config/ToolbarGroup": undefined; "sap/gantt/config/ToolbarScheme": undefined; "sap/gantt/control/Cell": undefined; "sap/gantt/def/cal/Calendar": undefined; "sap/gantt/def/cal/CalendarDefs": undefined; "sap/gantt/def/cal/TimeInterval": undefined; "sap/gantt/def/DefBase": undefined; "sap/gantt/def/filter/MorphologyFilter": undefined; "sap/gantt/def/gradient/LinearGradient": undefined; "sap/gantt/def/gradient/RadialGradient": undefined; "sap/gantt/def/gradient/Stop": undefined; "sap/gantt/def/pattern/BackSlashPattern": undefined; "sap/gantt/def/pattern/PatternBase": undefined; "sap/gantt/def/pattern/SlashPattern": undefined; "sap/gantt/def/SvgDefs": undefined; "sap/gantt/GanttChart": undefined; "sap/gantt/GanttChartBase": undefined; "sap/gantt/GanttChartContainer": undefined; "sap/gantt/GanttChartWithTable": undefined; "sap/gantt/layouts/SidePanel": undefined; "sap/gantt/legend/DimensionLegend": undefined; "sap/gantt/legend/LegendBase": undefined; "sap/gantt/legend/LegendContainer": undefined; "sap/gantt/legend/ListLegend": undefined; "sap/gantt/library": undefined; "sap/gantt/misc/AxisOrdinal": undefined; "sap/gantt/misc/AxisTime": undefined; "sap/gantt/misc/Format": undefined; "sap/gantt/overlays/GanttRowOverlay": undefined; "sap/gantt/overlays/Overlay": undefined; "sap/gantt/shape/cal/Calendar": undefined; "sap/gantt/shape/Circle": undefined; "sap/gantt/shape/ClipPath": undefined; "sap/gantt/shape/Definitions": undefined; "sap/gantt/shape/ext/Chevron": undefined; "sap/gantt/shape/ext/Cursor": undefined; "sap/gantt/shape/ext/Diamond": undefined; "sap/gantt/shape/ext/Iconfont": undefined; "sap/gantt/shape/ext/Pentangle": undefined; "sap/gantt/shape/ext/rls/Relationship": undefined; "sap/gantt/shape/ext/rls/SelectedRelationship": undefined; "sap/gantt/shape/ext/TextRepeat": undefined; "sap/gantt/shape/ext/Triangle": undefined; "sap/gantt/shape/ext/ubc/UbcBorderPath": undefined; "sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon": undefined; "sap/gantt/shape/ext/ubc/UbcPolygon": undefined; "sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon": undefined; "sap/gantt/shape/ext/ubc/UbcTooltipRectangle": undefined; "sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon": undefined; "sap/gantt/shape/ext/ubc/UbcUsedPolygon": undefined; "sap/gantt/shape/ext/ubc/UtilizationBarChart": undefined; "sap/gantt/shape/ext/ulc/UlcBorderPath": undefined; "sap/gantt/shape/ext/ulc/UlcClipingPath": undefined; "sap/gantt/shape/ext/ulc/UlcClipPath": undefined; "sap/gantt/shape/ext/ulc/UlcDimension": undefined; "sap/gantt/shape/ext/ulc/UlcMiddleLine": undefined; "sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle": undefined; "sap/gantt/shape/ext/ulc/UlcOverClipRectangle": undefined; "sap/gantt/shape/ext/ulc/UlcRectangle": undefined; "sap/gantt/shape/ext/ulc/UlcTooltipRectangle": undefined; "sap/gantt/shape/ext/ulc/UlcUnderClipRectangle": undefined; "sap/gantt/shape/ext/ulc/UtilizationLineChart": undefined; "sap/gantt/shape/Group": undefined; "sap/gantt/shape/Image": undefined; "sap/gantt/shape/Line": undefined; "sap/gantt/shape/Path": undefined; "sap/gantt/shape/Polygon": undefined; "sap/gantt/shape/Polyline": undefined; "sap/gantt/shape/Rectangle": undefined; "sap/gantt/shape/ResizeShadowShape": undefined; "sap/gantt/shape/SelectedShape": undefined; "sap/gantt/shape/Shape": undefined; "sap/gantt/shape/Text": undefined; "sap/gantt/simple/AdhocDiamond": undefined; "sap/gantt/simple/AdhocLine": undefined; "sap/gantt/simple/BaseCalendar": undefined; "sap/gantt/simple/BaseChevron": undefined; "sap/gantt/simple/BaseConditionalShape": undefined; "sap/gantt/simple/BaseCursor": undefined; "sap/gantt/simple/BaseDeltaRectangle": undefined; "sap/gantt/simple/BaseDiamond": undefined; "sap/gantt/simple/BaseGroup": undefined; "sap/gantt/simple/BaseImage": undefined; "sap/gantt/simple/BaseLine": undefined; "sap/gantt/simple/BasePath": undefined; "sap/gantt/simple/BaseRectangle": undefined; "sap/gantt/simple/BaseShape": undefined; "sap/gantt/simple/BaseText": undefined; "sap/gantt/simple/BaseTriangle": undefined; "sap/gantt/simple/ContainerToolbar": undefined; "sap/gantt/simple/ContainerToolbarPlaceholder": undefined; "sap/gantt/simple/CustomVariantHandler": undefined; "sap/gantt/simple/DeltaLine": undefined; "sap/gantt/simple/DimensionLegend": undefined; "sap/gantt/simple/GanttAdaptationData": undefined; "sap/gantt/simple/GanttChartContainer": undefined; "sap/gantt/simple/GanttChartWithTable": undefined; "sap/gantt/simple/GanttPrinting": undefined; "sap/gantt/simple/GanttRowSettings": undefined; "sap/gantt/simple/LegendColumnConfig": undefined; "sap/gantt/simple/LegendContainer": undefined; "sap/gantt/simple/LegendRowConfig": undefined; "sap/gantt/simple/LegendShapeGroup": undefined; "sap/gantt/simple/LegendShapeGroupOrientation": undefined; "sap/gantt/simple/ListLegend": undefined; "sap/gantt/simple/ListLegendItem": undefined; "sap/gantt/simple/MarkerType": undefined; "sap/gantt/simple/MultiActivityGroup": undefined; "sap/gantt/simple/MultiActivityRowSettings": undefined; "sap/gantt/simple/PrintConfig": undefined; "sap/gantt/simple/PrintDialogTemplate": undefined; "sap/gantt/simple/Relationship": undefined; "sap/gantt/simple/shapes/Shape": undefined; "sap/gantt/simple/shapes/Task": undefined; "sap/gantt/simple/ShapeScheme": undefined; "sap/gantt/simple/ShapeStyle": undefined; "sap/gantt/simple/StockChart": undefined; "sap/gantt/simple/StockChartDimension": undefined; "sap/gantt/simple/StockChartPeriod": undefined; "sap/gantt/simple/UtilizationBarChart": undefined; "sap/gantt/simple/UtilizationChart": undefined; "sap/gantt/simple/UtilizationDimension": undefined; "sap/gantt/simple/UtilizationLineChart": undefined; "sap/gantt/simple/UtilizationPeriod": undefined; "sap/gantt/skipTime/DayInterval": undefined; "sap/gantt/skipTime/DiscontinuousProvider": undefined; "sap/gantt/skipTime/SkipInterval": undefined; "sap/gantt/skipTime/SkipPattern": undefined; "sap/gantt/skipTime/WeekPattern": undefined; } }