class sap.m.semantic.DetailPage

Control sample: sap.m.semantic.DetailPage
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/semantic/DetailPage
Application Component: CA-UI5-CTR

A DetailPage is a sap.m.semantic.ShareMenuPage that supports semantic content of the following types:

This control can be a drop target.

Constructor

Constructor for a new DetailPage

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.semantic.DetailPage(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

Borrowed Properties

Name Type Default Value Description
backgroundDesign sap.m.PageBackgroundDesign Standard

Determines the backgound color of the page. For more information, see sap.m.Page#backgroundDesign.

Since: 1.52.

Visibility: public
enableScrolling boolean true

See sap.m.Page#enableScrolling

Visibility: public
floatingFooter boolean false

Determines whether the floating footer behavior is enabled. If set to true, the content is visible when it's underneath the footer.

Since: 1.40.1.

Visibility: public
semanticRuleSet sap.m.semantic.SemanticRuleSetType Classic

Declares the type of semantic ruleset that will govern the styling and positioning of semantic content.

Since: 1.44.

Visibility: public
showFooter boolean true

Hides or shows the page footer

Visibility: public
showNavButton boolean false

See sap.m.Page#showNavButton

Visibility: public
showSubHeader boolean true

See sap.m.Page#showSubHeader

Visibility: public
title string

See sap.m.Page#title

Visibility: public
titleLevel sap.ui.core.TitleLevel Auto

See sap.m.Page#titleLevel

Visibility: public

Aggregations

Default Aggregation:

Name Cardinality Type Description
addAction 0..1 sap.m.semantic.AddAction

Add action

cancelAction 0..1 sap.m.semantic.CancelAction

Cancel action

deleteAction 0..1 sap.m.semantic.DeleteAction

Delete action

discussInJamAction 0..1 sap.m.semantic.DiscussInJamAction

DiscussInJam action

draftIndicator 0..1 sap.m.DraftIndicator

DraftIndicator

editAction 0..1 sap.m.semantic.EditAction

Edit action

favoriteAction 0..1 sap.m.semantic.FavoriteAction

Favorite action

flagAction 0..1 sap.m.semantic.FlagAction

Flag action

forwardAction 0..1 sap.m.semantic.ForwardAction

Negative action

mainAction 0..1 sap.m.semantic.MainAction

Main action

messagesIndicator 0..1 sap.m.semantic.MessagesIndicator

MessagesIndicator

negativeAction 0..1 sap.m.semantic.NegativeAction

Negative action

openInAction 0..1 sap.m.semantic.OpenInAction

OpenIn action

pagingAction 0..1 sap.m.PagingButton

Paging action

positiveAction 0..1 sap.m.semantic.PositiveAction

Positive action

printAction 0..1 sap.m.semantic.PrintAction

Print action

saveAction 0..1 sap.m.semantic.SaveAction

Save action

saveAsTileAction 0..1 sap.m.Button

SaveAsTile button

sendEmailAction 0..1 sap.m.semantic.SendEmailAction

SendEmail action

sendMessageAction 0..1 sap.m.semantic.SendMessageAction

SendMessage action

shareInJamAction 0..1 sap.m.semantic.ShareInJamAction

ShareInJam action

Borrowed Aggregations

Name Cardinality Type Description
customShareMenuContent 0..n sap.m.Button

Custom share menu buttons

content 0..n sap.ui.core.Control

See sap.m.Page#content

customFooterContent 0..n sap.m.Button

Custom footer buttons

customHeaderContent 0..n sap.m.Button

Custom header buttons

landmarkInfo 0..1 sap.m.PageAccessibleLandmarkInfo

Accessible landmark settings to be applied to the containers of the sap.m.Page control.

If not set, no landmarks will be written.

subHeader 0..1 sap.m.IBar

See sap.m.Page#subHeader


Methods Overview

Method Description
destroyAddAction

Destroys the addAction in the aggregation addAction.

destroyCancelAction

Destroys the cancelAction in the aggregation cancelAction.

destroyDeleteAction

Destroys the deleteAction in the aggregation deleteAction.

destroyDiscussInJamAction

Destroys the discussInJamAction in the aggregation discussInJamAction.

destroyDraftIndicator

Destroys the draftIndicator in the aggregation draftIndicator.

destroyEditAction

Destroys the editAction in the aggregation editAction.

destroyFavoriteAction

Destroys the favoriteAction in the aggregation favoriteAction.

destroyFlagAction

Destroys the flagAction in the aggregation flagAction.

destroyForwardAction

Destroys the forwardAction in the aggregation forwardAction.

destroyMainAction

Destroys the mainAction in the aggregation mainAction.

destroyMessagesIndicator

Destroys the messagesIndicator in the aggregation messagesIndicator.

destroyNegativeAction

Destroys the negativeAction in the aggregation negativeAction.

destroyOpenInAction

Destroys the openInAction in the aggregation openInAction.

destroyPagingAction

Destroys the pagingAction in the aggregation pagingAction.

destroyPositiveAction

Destroys the positiveAction in the aggregation positiveAction.

destroyPrintAction

Destroys the printAction in the aggregation printAction.

destroySaveAction

Destroys the saveAction in the aggregation saveAction.

destroySaveAsTileAction

Destroys the saveAsTileAction in the aggregation saveAsTileAction.

destroySendEmailAction

Destroys the sendEmailAction in the aggregation sendEmailAction.

destroySendMessageAction

Destroys the sendMessageAction in the aggregation sendMessageAction.

destroyShareInJamAction

Destroys the shareInJamAction in the aggregation shareInJamAction.

sap.m.semantic.DetailPage.extend

Creates a new subclass of class sap.m.semantic.DetailPage with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.semantic.ShareMenuPage.extend.

getAddAction

Gets content of aggregation addAction.

Add action

getCancelAction

Gets content of aggregation cancelAction.

Cancel action

getDeleteAction

Gets content of aggregation deleteAction.

Delete action

getDiscussInJamAction

Gets content of aggregation discussInJamAction.

DiscussInJam action

getDraftIndicator

Gets content of aggregation draftIndicator.

DraftIndicator

getEditAction

Gets content of aggregation editAction.

Edit action

getFavoriteAction

Gets content of aggregation favoriteAction.

Favorite action

getFlagAction

Gets content of aggregation flagAction.

Flag action

getForwardAction

Gets content of aggregation forwardAction.

Negative action

getMainAction

Gets content of aggregation mainAction.

Main action

getMessagesIndicator

Gets content of aggregation messagesIndicator.

MessagesIndicator

sap.m.semantic.DetailPage.getMetadata

Returns a metadata object for class sap.m.semantic.DetailPage.

getNegativeAction

Gets content of aggregation negativeAction.

Negative action

getOpenInAction

Gets content of aggregation openInAction.

OpenIn action

getPagingAction

Gets content of aggregation pagingAction.

Paging action

getPositiveAction

Gets content of aggregation positiveAction.

Positive action

getPrintAction

Gets content of aggregation printAction.

Print action

getSaveAction

Gets content of aggregation saveAction.

Save action

getSaveAsTileAction

Gets content of aggregation saveAsTileAction.

SaveAsTile button

getSendEmailAction

Gets content of aggregation sendEmailAction.

SendEmail action

getSendMessageAction

Gets content of aggregation sendMessageAction.

SendMessage action

getShareInJamAction

Gets content of aggregation shareInJamAction.

ShareInJam action

setAddAction

Sets the aggregated addAction.

setCancelAction

Sets the aggregated cancelAction.

setDeleteAction

Sets the aggregated deleteAction.

setDiscussInJamAction

Sets the aggregated discussInJamAction.

setDraftIndicator

Sets the aggregated draftIndicator.

setEditAction

Sets the aggregated editAction.

setFavoriteAction

Sets the aggregated favoriteAction.

setFlagAction

Sets the aggregated flagAction.

setForwardAction

Sets the aggregated forwardAction.

setMainAction

Sets the aggregated mainAction.

setMessagesIndicator

Sets the aggregated messagesIndicator.

setNegativeAction

Sets the aggregated negativeAction.

setOpenInAction

Sets the aggregated openInAction.

setPagingAction

Sets the aggregated pagingAction.

setPositiveAction

Sets the aggregated positiveAction.

setPrintAction

Sets the aggregated printAction.

setSaveAction

Sets the aggregated saveAction.

setSaveAsTileAction

Sets the aggregated saveAsTileAction.

setSendEmailAction

Sets the aggregated sendEmailAction.

setSendMessageAction

Sets the aggregated sendMessageAction.

setShareInJamAction

Sets the aggregated shareInJamAction.

destroyAddAction

Destroys the addAction in the aggregation addAction.

destroyCancelAction

Destroys the cancelAction in the aggregation cancelAction.

destroyDeleteAction

Destroys the deleteAction in the aggregation deleteAction.

destroyDiscussInJamAction

Destroys the discussInJamAction in the aggregation discussInJamAction.

destroyDraftIndicator

Destroys the draftIndicator in the aggregation draftIndicator.

destroyEditAction

Destroys the editAction in the aggregation editAction.

destroyFavoriteAction

Destroys the favoriteAction in the aggregation favoriteAction.

destroyFlagAction

Destroys the flagAction in the aggregation flagAction.

destroyForwardAction

Destroys the forwardAction in the aggregation forwardAction.

destroyMainAction

Destroys the mainAction in the aggregation mainAction.

destroyMessagesIndicator

Destroys the messagesIndicator in the aggregation messagesIndicator.

destroyNegativeAction

Destroys the negativeAction in the aggregation negativeAction.

destroyOpenInAction

Destroys the openInAction in the aggregation openInAction.

destroyPagingAction

Destroys the pagingAction in the aggregation pagingAction.

destroyPositiveAction

Destroys the positiveAction in the aggregation positiveAction.

destroyPrintAction

Destroys the printAction in the aggregation printAction.

destroySaveAction

Destroys the saveAction in the aggregation saveAction.

destroySaveAsTileAction

Destroys the saveAsTileAction in the aggregation saveAsTileAction.

destroySendEmailAction

Destroys the sendEmailAction in the aggregation sendEmailAction.

destroySendMessageAction

Destroys the sendMessageAction in the aggregation sendMessageAction.

destroyShareInJamAction

Destroys the shareInJamAction in the aggregation shareInJamAction.

sap.m.semantic.DetailPage.extend

Creates a new subclass of class sap.m.semantic.DetailPage with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.semantic.ShareMenuPage.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

getAddAction

Gets content of aggregation addAction.

Add action

getCancelAction

Gets content of aggregation cancelAction.

Cancel action

getDeleteAction

Gets content of aggregation deleteAction.

Delete action

getDiscussInJamAction

Gets content of aggregation discussInJamAction.

DiscussInJam action

getDraftIndicator

Gets content of aggregation draftIndicator.

DraftIndicator

getEditAction

Gets content of aggregation editAction.

Edit action

getFavoriteAction

Gets content of aggregation favoriteAction.

Favorite action

getFlagAction

Gets content of aggregation flagAction.

Flag action

getForwardAction

Gets content of aggregation forwardAction.

Negative action

getMainAction

Gets content of aggregation mainAction.

Main action

getMessagesIndicator

Gets content of aggregation messagesIndicator.

MessagesIndicator

sap.m.semantic.DetailPage.getMetadata

Returns a metadata object for class sap.m.semantic.DetailPage.

getNegativeAction

Gets content of aggregation negativeAction.

Negative action

getOpenInAction

Gets content of aggregation openInAction.

OpenIn action

getPagingAction

Gets content of aggregation pagingAction.

Paging action

getPositiveAction

Gets content of aggregation positiveAction.

Positive action

getPrintAction

Gets content of aggregation printAction.

Print action

getSaveAction

Gets content of aggregation saveAction.

Save action

getSaveAsTileAction

Gets content of aggregation saveAsTileAction.

SaveAsTile button

getSendEmailAction

Gets content of aggregation sendEmailAction.

SendEmail action

getSendMessageAction

Gets content of aggregation sendMessageAction.

SendMessage action

getShareInJamAction

Gets content of aggregation shareInJamAction.

ShareInJam action

setAddAction

Sets the aggregated addAction.

Param Type DefaultValue Description
oAddAction sap.m.semantic.AddAction

The addAction to set

setCancelAction

Sets the aggregated cancelAction.

Param Type DefaultValue Description
oCancelAction sap.m.semantic.CancelAction

The cancelAction to set

setDeleteAction

Sets the aggregated deleteAction.

Param Type DefaultValue Description
oDeleteAction sap.m.semantic.DeleteAction

The deleteAction to set

setDiscussInJamAction

Sets the aggregated discussInJamAction.

Param Type DefaultValue Description
oDiscussInJamAction sap.m.semantic.DiscussInJamAction

The discussInJamAction to set

setDraftIndicator

Sets the aggregated draftIndicator.

Param Type DefaultValue Description
oDraftIndicator sap.m.DraftIndicator

The draftIndicator to set

setEditAction

Sets the aggregated editAction.

Param Type DefaultValue Description
oEditAction sap.m.semantic.EditAction

The editAction to set

setFavoriteAction

Sets the aggregated favoriteAction.

Param Type DefaultValue Description
oFavoriteAction sap.m.semantic.FavoriteAction

The favoriteAction to set

setFlagAction

Sets the aggregated flagAction.

Param Type DefaultValue Description
oFlagAction sap.m.semantic.FlagAction

The flagAction to set

setForwardAction

Sets the aggregated forwardAction.

Param Type DefaultValue Description
oForwardAction sap.m.semantic.ForwardAction

The forwardAction to set

setMainAction

Sets the aggregated mainAction.

Param Type DefaultValue Description
oMainAction sap.m.semantic.MainAction

The mainAction to set

setMessagesIndicator

Sets the aggregated messagesIndicator.

Param Type DefaultValue Description
oMessagesIndicator sap.m.semantic.MessagesIndicator

The messagesIndicator to set

setNegativeAction

Sets the aggregated negativeAction.

Param Type DefaultValue Description
oNegativeAction sap.m.semantic.NegativeAction

The negativeAction to set

setOpenInAction

Sets the aggregated openInAction.

Param Type DefaultValue Description
oOpenInAction sap.m.semantic.OpenInAction

The openInAction to set

setPagingAction

Sets the aggregated pagingAction.

Param Type DefaultValue Description
oPagingAction sap.m.PagingButton

The pagingAction to set

setPositiveAction

Sets the aggregated positiveAction.

Param Type DefaultValue Description
oPositiveAction sap.m.semantic.PositiveAction

The positiveAction to set

setPrintAction

Sets the aggregated printAction.

Param Type DefaultValue Description
oPrintAction sap.m.semantic.PrintAction

The printAction to set

setSaveAction

Sets the aggregated saveAction.

Param Type DefaultValue Description
oSaveAction sap.m.semantic.SaveAction

The saveAction to set

setSaveAsTileAction

Sets the aggregated saveAsTileAction.

Param Type DefaultValue Description
oSaveAsTileAction sap.m.Button

The saveAsTileAction to set

setSendEmailAction

Sets the aggregated sendEmailAction.

Param Type DefaultValue Description
oSendEmailAction sap.m.semantic.SendEmailAction

The sendEmailAction to set

setSendMessageAction

Sets the aggregated sendMessageAction.

Param Type DefaultValue Description
oSendMessageAction sap.m.semantic.SendMessageAction

The sendMessageAction to set

setShareInJamAction

Sets the aggregated shareInJamAction.

Param Type DefaultValue Description
oShareInJamAction sap.m.semantic.ShareInJamAction

The shareInJamAction to set