QuickViewBase class provides base functionality for QuickView and QuickViewCard. Do not use it directly.
Constructor for a new QuickViewBase.
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.QuickViewBase(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: pages
Name | Cardinality | Type | Description |
---|---|---|---|
pages (default) | 0..n | sap.m.QuickViewPage |
Displays a page header, object icon or image, object name with short description, and object information divided in groups |
Event | Description |
---|---|
afterNavigate |
The event is fired when navigation between two pages has completed. In case of animated transitions this event is fired with some delay after the "navigate" event. |
navigate |
The event is fired when navigation between two pages has been triggered. The transition (if any) to the new page has not started yet. Listeners may prevent the default action of this event by calling the |
Method | Description |
---|---|
addPage |
Adds some page to the aggregation pages. |
attachAfterNavigate |
Attaches event handler When called, the context of the event handler (its The event is fired when navigation between two pages has completed. In case of animated transitions this event is fired with some delay after the "navigate" event. |
attachNavigate |
Attaches event handler When called, the context of the event handler (its The event is fired when navigation between two pages has been triggered. The transition (if any) to the new page has not started yet. |
bindPages |
Binds aggregation pages to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
destroyPages |
Destroys all the pages in the aggregation pages. |
detachAfterNavigate |
Detaches event handler The passed function and listener object must match the ones used for event registration. |
detachNavigate |
Detaches event handler The passed function and listener object must match the ones used for event registration. |
sap.m.QuickViewBase.extend |
Creates a new subclass of class sap.m.QuickViewBase with name
|
fireAfterNavigate |
Fires event afterNavigate to attached listeners. |
fireNavigate |
Fires event navigate to attached listeners. Listeners may prevent the default action of this event by calling the |
sap.m.QuickViewBase.getMetadata |
Returns a metadata object for class sap.m.QuickViewBase. |
getPages |
Gets content of aggregation pages. Displays a page header, object icon or image, object name with short description, and object information divided in groups |
indexOfPage |
Checks for the provided |
insertPage |
Inserts a page into the aggregation pages. |
navigateBack |
Navigates to the previous page if there is such. |
removeAllPages |
Removes all the controls from the aggregation pages. Additionally, it unregisters them from the hosting UIArea. |
removePage |
Removes a page from the aggregation pages. |
unbindPages |
Unbinds aggregation pages from model data. |
Adds some page to the aggregation pages.
Param | Type | DefaultValue | Description |
---|---|---|---|
oPage | sap.m.QuickViewPage |
The page to add; if empty, nothing is inserted |
Binds aggregation pages 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.QuickViewBase 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.Control.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 pages.
Displays a page header, object icon or image, object name with short description, and object information divided in groups
Checks for the provided sap.m.QuickViewPage
in the aggregation pages. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oPage | sap.m.QuickViewPage |
The page whose index is looked for |
Inserts a page into the aggregation pages.
Param | Type | DefaultValue | Description |
---|---|---|---|
oPage | sap.m.QuickViewPage |
The page to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation pages.
Additionally, it unregisters them from the hosting UIArea.
Removes a page from the aggregation pages.
Param | Type | DefaultValue | Description |
---|---|---|---|
vPage | int string sap.m.QuickViewPage |
The page to remove or its index or id |