QuickViewGroup consists of a title (optional) and an entity of group elements.
Constructor for a new QuickViewGroup.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
new sap.m.QuickViewGroup(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | ID for the new control, generated automatically if no ID is given |
|
mSettings? | object | Initial settings for the new control |
Default Aggregation: elements
Name | Cardinality | Type | Description |
---|---|---|---|
elements (default) | 0..n | sap.m.QuickViewGroupElement |
A combination of one label and another control (Link or Text) associated to this label. |
Method | Description |
---|---|
addElement |
Adds some element to the aggregation elements. |
bindElements |
Binds aggregation elements to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
destroyElements |
Destroys all the elements in the aggregation elements. |
sap.m.QuickViewGroup.extend |
Creates a new subclass of class sap.m.QuickViewGroup with name
|
getElements |
Gets content of aggregation elements. A combination of one label and another control (Link or Text) associated to this label. |
getHeading |
Gets current value of property heading. The title of the group Default value is |
sap.m.QuickViewGroup.getMetadata |
Returns a metadata object for class sap.m.QuickViewGroup. |
getVisible |
Gets current value of property visible. Determines whether the group is visible on the screen. Default value is |
indexOfElement |
Checks for the provided |
insertElement |
Inserts a element into the aggregation elements. |
removeAllElements |
Removes all the controls from the aggregation elements. Additionally, it unregisters them from the hosting UIArea. |
removeElement |
Removes a element from the aggregation elements. |
setHeading |
Sets a new value for property heading. The title of the group When called with a value of Default value is |
setVisible |
Sets a new value for property visible. Determines whether the group is visible on the screen. When called with a value of Default value is |
unbindElements |
Unbinds aggregation elements from model data. |
Adds some element to the aggregation elements.
Param | Type | DefaultValue | Description |
---|---|---|---|
oElement | sap.m.QuickViewGroupElement |
The element to add; if empty, nothing is inserted |
Binds aggregation elements to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Creates a new subclass of class sap.m.QuickViewGroup with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Gets content of aggregation elements.
A combination of one label and another control (Link or Text) associated to this label.
Gets current value of property heading.
The title of the group
Default value is empty string
.
Gets current value of property visible.
Determines whether the group is visible on the screen.
Default value is true
.
Checks for the provided sap.m.QuickViewGroupElement
in the aggregation elements. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oElement | sap.m.QuickViewGroupElement |
The element whose index is looked for |
Inserts a element into the aggregation elements.
Param | Type | DefaultValue | Description |
---|---|---|---|
oElement | sap.m.QuickViewGroupElement |
The element to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation elements.
Additionally, it unregisters them from the hosting UIArea.
Removes a element from the aggregation elements.
Param | Type | DefaultValue | Description |
---|---|---|---|
vElement | int string sap.m.QuickViewGroupElement |
The element to remove or its index or id |
Sets a new value for property heading.
The title of the group
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sHeading | string | "" |
New value for property |
Sets a new value for property visible.
Determines whether the group is visible on the screen.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bVisible | boolean | true |
New value for property |