@openui5/sap.ui.mdc 1.99.0 → 1.100.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +4 -4
  3. package/src/sap/ui/mdc/.library +1 -1
  4. package/src/sap/ui/mdc/ActionToolbar.js +1 -1
  5. package/src/sap/ui/mdc/Chart.js +50 -32
  6. package/src/sap/ui/mdc/ChartDelegate.js +66 -21
  7. package/src/sap/ui/mdc/ChartRenderer.js +1 -1
  8. package/src/sap/ui/mdc/Control.js +11 -6
  9. package/src/sap/ui/mdc/Element.js +10 -6
  10. package/src/sap/ui/mdc/Field.js +19 -4
  11. package/src/sap/ui/mdc/FilterBar.js +1 -1
  12. package/src/sap/ui/mdc/FilterBarDelegate.js +26 -0
  13. package/src/sap/ui/mdc/FilterField.js +41 -3
  14. package/src/sap/ui/mdc/Link.js +3 -3
  15. package/src/sap/ui/mdc/MultiValueField.js +11 -1
  16. package/src/sap/ui/mdc/Table.js +73 -39
  17. package/src/sap/ui/mdc/TableDelegate.js +28 -1
  18. package/src/sap/ui/mdc/ValueHelp.js +8 -3
  19. package/src/sap/ui/mdc/ValueHelpDelegate.js +2 -1
  20. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  21. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
  22. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  23. package/src/sap/ui/mdc/chart/ChartToolbar.js +13 -6
  24. package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +7 -7
  25. package/src/sap/ui/mdc/chart/DrillStackHandler.js +6 -6
  26. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  27. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  28. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  29. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  30. package/src/sap/ui/mdc/condition/FilterConverter.js +4 -2
  31. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +133 -25
  32. package/src/sap/ui/mdc/condition/Operator.js +4 -2
  33. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +78 -24
  34. package/src/sap/ui/mdc/condition/RangeOperator.js +5 -5
  35. package/src/sap/ui/mdc/designtime/Util.js +63 -0
  36. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +23 -30
  37. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +3 -0
  38. package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +3 -1
  39. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +39 -52
  40. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  41. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  42. package/src/sap/ui/mdc/field/ConditionType.js +15 -4
  43. package/src/sap/ui/mdc/field/ConditionsType.js +2 -1
  44. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  45. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  46. package/src/sap/ui/mdc/field/DefineConditionPanel.js +16 -5
  47. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +76 -19
  48. package/src/sap/ui/mdc/field/FieldBase.js +62 -11
  49. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
  50. package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
  51. package/src/sap/ui/mdc/field/FieldInfoBase.js +2 -1
  52. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  53. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  54. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  55. package/src/sap/ui/mdc/field/FieldValueHelp.js +4 -1
  56. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  57. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +1 -1
  58. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +5 -4
  59. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +5 -3
  60. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
  61. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +7 -7
  62. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  63. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  64. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  65. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  66. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  67. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  68. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  69. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  70. package/src/sap/ui/mdc/field/content/ContentFactory.js +5 -1
  71. package/src/sap/ui/mdc/field/content/DateContent.js +27 -19
  72. package/src/sap/ui/mdc/field/content/DateTimeContent.js +0 -6
  73. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +76 -208
  74. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +27 -2
  75. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +127 -57
  76. package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +2 -2
  77. package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +7 -3
  78. package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +52 -14
  79. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +37 -19
  80. package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
  81. package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +48 -31
  82. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  83. package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +36 -0
  84. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +47 -10
  85. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  86. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  87. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +0 -1
  88. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +2 -85
  89. package/src/sap/ui/mdc/library.js +11 -4
  90. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  91. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  92. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  93. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  94. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  95. package/src/sap/ui/mdc/link/Factory.js +1 -1
  96. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  97. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  98. package/src/sap/ui/mdc/link/Panel.js +1 -1
  99. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  100. package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
  101. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  102. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  103. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  104. package/src/sap/ui/mdc/messagebundle.properties +2 -1
  105. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +20 -19
  106. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -141
  107. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -9
  108. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  109. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +348 -0
  110. package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
  111. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +70 -3
  112. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +116 -20
  113. package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +2 -2
  114. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +11 -33
  115. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +2 -4
  116. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
  117. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +281 -263
  118. package/src/sap/ui/mdc/p13n/AdaptationProvider.js +1 -1
  119. package/src/sap/ui/mdc/p13n/Engine.js +21 -18
  120. package/src/sap/ui/mdc/p13n/FlexUtil.js +0 -5
  121. package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
  122. package/src/sap/ui/mdc/p13n/StateUtil.js +4 -0
  123. package/src/sap/ui/mdc/p13n/UIManager.js +16 -13
  124. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +18 -14
  125. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
  126. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +6 -6
  127. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +49 -27
  128. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +4 -3
  129. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +136 -0
  130. package/src/sap/ui/mdc/p13n/panels/GroupView.js +53 -28
  131. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +54 -18
  132. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +4 -7
  133. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +1 -2
  134. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  135. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +8 -4
  136. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +1 -0
  137. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +2 -2
  138. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  139. package/src/sap/ui/mdc/table/GridTableType.js +75 -27
  140. package/src/sap/ui/mdc/table/PropertyHelper.js +20 -13
  141. package/src/sap/ui/mdc/table/ResponsiveTableType.js +86 -13
  142. package/src/sap/ui/mdc/table/RowActionItem.js +119 -0
  143. package/src/sap/ui/mdc/table/RowSettings.js +42 -1
  144. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -2
  145. package/src/sap/ui/mdc/themes/base/Chart.less +2 -0
  146. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +1 -0
  147. package/src/sap/ui/mdc/util/DateUtil.js +32 -7
  148. package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
  149. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  150. package/src/sap/ui/mdc/util/PropertyHelper.js +201 -76
  151. package/src/sap/ui/mdc/util/TypeUtil.js +1 -1
  152. package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
  153. package/src/sap/ui/mdc/valuehelp/Popover.js +5 -3
  154. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
  155. package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
  156. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  157. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +4 -4
  158. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  159. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  160. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  161. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +13 -10
  162. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +4 -10
  163. package/src/sap/ui/mdc/valuehelp/content/MTable.js +6 -4
  164. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +2 -0
  165. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +0 -1
  166. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +8 -6
  167. package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +0 -150
  168. package/src/sap/ui/mdc/p13n/panels/BasePanel.js +0 -721
  169. package/src/sap/ui/mdc/p13n/panels/ListView.js +0 -408
  170. package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +0 -92
  171. package/src/sap/ui/mdc/p13n/panels/SortPanel.js +0 -150
  172. package/src/sap/ui/mdc/ui/Container.js +0 -240
  173. package/src/sap/ui/mdc/ui/ContainerItem.js +0 -79
@@ -1,240 +0,0 @@
1
- /*
2
- * ! OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
- * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
- */
6
- sap.ui.define([
7
- "sap/ui/core/Control",
8
- "sap/m/Page"
9
- ], function (Control, Page) {
10
- "use strict";
11
-
12
- /**
13
- * Constructor for a new <code>Container</code>.
14
- *
15
- * @param {string} [sId] ID for the new control, generated automatically if no ID is given
16
- * @param {object} [mSettings] Initial settings for the new control
17
- *
18
- * @class
19
- * A <code>Container</code> control can be used to define a fixed header/footer area while offering the possibility
20
- * to define different content controls which can be dynamically added/removed and switched.
21
- *
22
- * @extends sap.ui.core.Control
23
- *
24
- * @author SAP SE
25
- * @version 1.99.0
26
- *
27
- * @constructor
28
- * @alias sap.ui.mdc.ui.Container
29
- * @author SAP SE
30
- * @version 1.99.0
31
- * @since 1.85.0
32
- *
33
- * @private
34
- * @experimental
35
- */
36
- var Container = Control.extend("sap.ui.mdc.ui.Container", {
37
- metadata: {
38
- library: "sap.ui.mdc",
39
- defaultAggregation: "views",
40
- properties: {
41
- /**
42
- * Defines the default view for the <code>Container</code> content area
43
- */
44
- defaultView: {
45
- type: "string"
46
- }
47
- },
48
- aggregations: {
49
- /**
50
- * Defines the content for the <code>Container</code> header area
51
- */
52
- header: {
53
- type: "sap.m.IBar",
54
- multiple: false,
55
- forwarding: {
56
- idSuffix: "-container",
57
- aggregation: "customHeader",
58
- forwardBinding: true
59
- }
60
- },
61
- /**
62
- * Defines the content for the <code>Container</code> subHeader area
63
- */
64
- subHeader: {
65
- type: "sap.m.IBar",
66
- multiple: false,
67
- forwarding: {
68
- idSuffix: "-container",
69
- aggregation: "subHeader",
70
- forwardBinding: true
71
- }
72
- },
73
- /**
74
- * Defines the content for the <code>Container</code> header area
75
- */
76
- footer: {
77
- type: "sap.m.IBar",
78
- multiple: false,
79
- forwarding: {
80
- idSuffix: "-container",
81
- aggregation: "footer",
82
- forwardBinding: true
83
- }
84
- },
85
- /**
86
- * Defines the different content views for the <code>Container</code> content area
87
- */
88
- views: {
89
- type: "sap.ui.mdc.ui.ContainerItem",
90
- multiple: true
91
- },
92
- /**
93
- * Inner <code>sap.m.Page</code> as basic layout control
94
- */
95
- _content: {
96
- type: "sap.ui.core.Control",
97
- multiple: false,
98
- hidden: true
99
- }
100
- }
101
- },
102
- renderer: {
103
- apiVersion: 2,
104
- render: function(oRm, oControl) {
105
- oRm.openStart("div", oControl);
106
- oRm.style("height", "100%");
107
- oRm.openEnd();
108
- oRm.renderControl(oControl.getAggregation("_content"));
109
- oRm.close("div");
110
- }
111
- }
112
- });
113
-
114
- Container.prototype.init = function() {
115
- Control.prototype.init.apply(this, arguments);
116
-
117
- this._initializeContent();
118
- };
119
-
120
- Container.prototype.applySettings = function() {
121
- Control.prototype.applySettings.apply(this, arguments);
122
- this.switchView(this.getDefaultView());
123
- return this;
124
- };
125
-
126
- Container.prototype._initializeContent = function() {
127
- this.oLayout = new Page(this.getId() + "-container");
128
- this.setAggregation("_content", this.oLayout);
129
- };
130
-
131
- /**
132
- * This method can be used to remove a view from the <code>Container</code> instance.
133
- *
134
- * @param {string|sap.ui.mdc.ui.ContainerItem} vContainerItem View that should be removed
135
- * @param {boolean} bSuppress Supress invalidate
136
- *
137
- * @returns {sap.ui.mdc.ui.Container} The Container instance
138
- */
139
- Container.prototype.removeView = function(vContainerItem, bSuppress){
140
- var oContainerItem = typeof vContainerItem == "string" ? this.getView(vContainerItem) : vContainerItem;
141
- oContainerItem = this.removeAggregation("views", oContainerItem , bSuppress);
142
- //In case the currently selected view has been removed, switch the view
143
- if (oContainerItem && oContainerItem.getKey() === this.getCurrentViewKey()){
144
- this.switchView();
145
- }
146
- return this;
147
- };
148
-
149
- Container.prototype.addView = function(oView) {
150
- if (oView && oView.getContent() && !oView.getContent().hasStyleClass("sapUiMDCContainerContent")){
151
- oView.getContent().addStyleClass("sapUiMDCContainerContent");
152
- }
153
- this.addAggregation("views", oView);
154
-
155
- return this;
156
- };
157
-
158
- /**
159
- * This method can be used to retrieve the key of the current view.
160
- *
161
- * @returns {string} The key of the currently visible view in the content area
162
- */
163
- Container.prototype.getCurrentViewKey = function() {
164
- return this._sCurrentView ? this._sCurrentView : this.getDefaultView();
165
- };
166
-
167
- /**
168
- * This method can be used to retrieve the content of the current view.
169
- *
170
- * @returns {sap.ui.core.Control} The content of the currently visible view in the content area
171
- */
172
- Container.prototype.getCurrentViewContent = function() {
173
- return this.getView(this.getCurrentViewKey()).getContent();
174
- };
175
-
176
- /**
177
- * This method can be used to switch to an existing view using the according <code>ContainerItem</code> key.
178
- *
179
- * @param {string} sKey They key of the ContainerItem whose content should be visible up next
180
- */
181
- Container.prototype.switchView = function(sKey) {
182
-
183
- var oNewView = this.getView(sKey);
184
-
185
- if (!oNewView) {
186
- oNewView = this.getViews()[0];
187
- if (!oNewView) {
188
- return;
189
- }
190
- }
191
-
192
- this._sCurrentView = oNewView.getKey();
193
-
194
- this.oLayout.removeAllContent();
195
- this.oLayout.addContent(oNewView.getContent());
196
- };
197
-
198
- /**
199
- * This method can be used to retrieve the current present view by using the according <code>ContainerItem</code> key.
200
- *
201
- * @param {string} sKey They key of the ContainerItem which should be retrieved
202
- *
203
- * @returns {sap.ui.mdc.ui.ContainerItem} The matching ContainerItem
204
- */
205
- Container.prototype.getView = function(sKey) {
206
- return this.getViews().find(function(oView){
207
- if (oView.getKey() === sKey) {
208
- return oView;
209
- }
210
- });
211
- };
212
-
213
- /**
214
- * Get a plain representation of the current views.
215
- *
216
- * @returns {object} The current view aggeregation as map
217
- */
218
- Container.prototype.getViewMap = function() {
219
- return this.getViews().map(function(o){
220
- return {
221
- key: o.getKey(),
222
- content: o.getContent()
223
- };
224
- });
225
- };
226
-
227
- Container.prototype._getResourceText = function(sText) {
228
- this.oResourceBundle = this.oResourceBundle ? this.oResourceBundle : sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc");
229
- return sText ? this.oResourceBundle.getText(sText) : this.oResourceBundle;
230
- };
231
-
232
- Container.prototype.exit = function() {
233
- Control.prototype.exit.apply(this, arguments);
234
- this._sCurrentView = null;
235
- this.oResourceBundle = null;
236
- };
237
-
238
- return Container;
239
-
240
- });
@@ -1,79 +0,0 @@
1
- /*!
2
- * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
- * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
- */
6
-
7
- sap.ui.define(['sap/ui/core/Element'],
8
- function(Element) {
9
- "use strict";
10
-
11
- /**
12
- * Constructor for a new <code>ContainerItem</code>.
13
- *
14
- * @param {string} [sId] ID for the new control, generated automatically if no ID is given
15
- * @param {object} [mSettings] Initial settings for the new control
16
- *
17
- * @class
18
- * A <code>ContainerItem</code> element which defines a unique key for a content.
19
- *
20
- * @extends sap.ui.core.Element
21
- *
22
- * @author SAP SE
23
- * @version 1.99.0
24
- *
25
- * @constructor
26
- * @alias sap.ui.mdc.ui.ContainerItem
27
- * @author SAP SE
28
- * @version 1.99.0
29
- * @since 1.85.0
30
- *
31
- * @private
32
- * @experimental
33
- */
34
- var ContainerItem = Element.extend("sap.ui.mdc.ui.ContainerItem", {
35
- metadata : {
36
- library : "sap.ui.mdc",
37
- properties : {
38
- /**
39
- * Unique key to identify a container item
40
- */
41
- key: {
42
- type: "string",
43
- defaultValue : null
44
- }
45
- },
46
- aggregations: {
47
- /**
48
- * Dynamic content to be displayed as container item
49
- */
50
- content: {
51
- type: "sap.ui.core.Control",
52
- multiple: false
53
- }
54
- }
55
- }});
56
-
57
- ContainerItem.prototype.setContent = function(oContent) {
58
- this.setAggregation("content", oContent);
59
- if (oContent) {
60
- this._oContent = oContent;
61
- }
62
- return this;
63
- };
64
-
65
- ContainerItem.prototype.getContent = function() {
66
- return this._oContent;
67
- };
68
-
69
- ContainerItem.prototype.destroy = function() {
70
- Element.prototype.destroy.apply(this, arguments);
71
- if (this._oContent) {
72
- this._oContent.destroy();
73
- this._oContent = null;
74
- }
75
- };
76
-
77
- return ContainerItem;
78
-
79
- });