QuickViewGroup consists of a title (optional) and an entity of group elements.
Since: 1.28.11.
Method Summary
sap.m.QuickViewGroup.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.QuickViewGroup with name sClassName
and enriches it with the information contained in oClassInfo
. addElement(oElement)Adds some element to the aggregation elements
. bindElements(oBindingInfo)Binds aggregation elements
to model data. getHeading()Gets current value of property heading
. getVisible()Gets current value of property visible
. indexOfElement(oElement)Checks for the provided sap.m.QuickViewGroupElement
in the aggregation elements
. insertElement(oElement, iIndex)Inserts a element into the aggregation elements
. removeElement(vElement)Removes a element from the aggregation elements
. setHeading(sHeading)Sets a new value for property heading
. setVisible(bVisible)Sets a new value for property visible
. $,
addCustomData,
addDependent,
addEventDelegate,
applyFocusInfo,
bindElement,
clone,
data,
destroy,
destroyCustomData,
destroyDependents,
destroyLayoutData,
destroyTooltip,
enhanceAccessibilityState,
exit,
findElements,
fireEvent,
focus,
getCustomData,
getDependents,
getDomRef,
getElementBinding,
getFocusDomRef,
getFocusInfo,
getInterface,
getLayoutData,
getMetadata,
getTooltip,
getTooltip_AsString,
getTooltip_Text,
indexOfCustomData,
indexOfDependent,
init,
insertCustomData,
insertDependent,
prop,
removeAllCustomData,
removeAllDependents,
removeCustomData,
removeDependent,
removeEventDelegate,
rerender,
setLayoutData,
setTooltip,
toString,
unbindElement addAggregation,
addAssociation,
applySettings,
attachFormatError,
attachModelContextChange,
attachParseError,
attachValidationError,
attachValidationSuccess,
bindAggregation,
bindContext,
bindObject,
bindProperty,
destroyAggregation,
detachFormatError,
detachModelContextChange,
detachParseError,
detachValidationError,
detachValidationSuccess,
findAggregatedObjects,
fireFormatError,
fireModelContextChange,
fireParseError,
fireValidationError,
fireValidationSuccess,
getAggregation,
getAssociation,
getBinding,
getBindingContext,
getBindingInfo,
getBindingPath,
getEventingParent,
getId,
getModel,
getObjectBinding,
getOriginInfo,
getParent,
getProperty,
hasModel,
indexOfAggregation,
insertAggregation,
invalidate,
isBound,
isInvalidateSuppressed,
isTreeBinding,
propagateMessages,
removeAggregation,
removeAllAggregation,
removeAllAssociation,
removeAssociation,
setAggregation,
setAssociation,
setBindingContext,
setModel,
setProperty,
unbindAggregation,
unbindContext,
unbindObject,
unbindProperty,
validateAggregation,
validateProperty Constructor Detail
new sap.m.QuickViewGroup(sId?, mSettings?)
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 for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- Aggregations
- elements : sap.m.QuickViewGroupElement[] (default)
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
Parameters:
{string} | sId? | ID for the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
Method Detail
sap.m.QuickViewGroup.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.m.QuickViewGroup.
Returns:
Adds some element to the aggregation elements
.
Parameters:
Returns:
Binds aggregation
elements
to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Parameters:
{object} | oBindingInfo | The binding information |
Returns:
Destroys all the elements in the aggregation elements
.
Returns:
Gets content of aggregation
elements
.
A combination of one label and another control (Link or Text) associated to this label.
Returns:
getHeading(): string
Gets current value of property
heading
.
The title of the group
Default value is
.
Returns:
{string} | Value of property heading |
getVisible(): boolean
Gets current value of property
visible
.
Determines whether the group is visible on the screen.
Default value is true
.
Returns:
{boolean} | Value of property visible |
indexOfElement(oElement): int
Checks for the provided sap.m.QuickViewGroupElement
in the aggregation elements
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
Inserts a element into the aggregation elements
.
Parameters:
{sap.m.QuickViewGroupElement} | oElement | the element to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the element should be inserted at; for a negative value of iIndex , the element is inserted at position 0; for a value greater than the current size of the aggregation, the element is inserted at the last position |
Returns:
Removes all the controls from the aggregation
elements
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes a element from the aggregation elements
.
Parameters:
Returns:
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
.
Parameters:
{string} | sHeading | New value for property heading |
Returns:
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
.
Parameters:
{boolean} | bVisible | New value for property visible |
Returns:
Unbinds aggregation elements
from model data.
Returns: