Class sap.m.ResponsivePopoverModule: sap/m/ResponsivePopover

extends Control

The responsive popover acts as a popover on desktop and tablet, while on phone it acts as a dialog with stretch set to true.

Note: It is recommended that ResponsivePopover is used in fragments otherwise there might be some implications on the user experience. For example, on desktop, open or close functions of the Popover might not be called.

Usage

When you want to make sure that all content is visible on any device.


Since: 1.15.1.
Constructor Summary
new sap.m.ResponsivePopover(sId?, mSettings?)Constructor for a new ResponsivePopover.
Event Summary
afterClose(oControlEvent)Event is fired after popover or dialog is closed.
afterOpen(oControlEvent)Event is fired after popover or dialog is open.
beforeClose(oControlEvent)Event is fired before popover or dialog is closed.
beforeOpen(oControlEvent)Event is fired before popover or dialog is open.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.m.ResponsivePopover.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.ResponsivePopover with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.ResponsivePopover.getMetadata()Returns a metadata object for class sap.m.ResponsivePopover.
addAriaDescribedBy(vAriaDescribedBy)Adds some ariaDescribedBy into the association ariaDescribedBy.
addAriaLabelledBy(vAriaLabelledBy)Adds some ariaLabelledBy into the association ariaLabelledBy.
addContent(oControl)Adds content to the ResponsivePopover
attachAfterClose(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the afterClose event of this sap.m.ResponsivePopover.
attachAfterOpen(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the afterOpen event of this sap.m.ResponsivePopover.
attachBeforeClose(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the beforeClose event of this sap.m.ResponsivePopover.
attachBeforeOpen(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the beforeOpen event of this sap.m.ResponsivePopover.
clone()Creates a new instance of ResponsivePopover with the same settings as the ResponsivePopover on which the method is called
close()Closes the ResponsivePopover.
destroyBeginButton()Destroys the beginButton in the aggregation beginButton.
destroyContent()Destroys all the content in the aggregation content.
destroyCustomHeader()Destroys the customHeader in the aggregation customHeader.
destroyEndButton()Destroys the endButton in the aggregation endButton.
destroySubHeader()Destroys the subHeader in the aggregation subHeader.
detachAfterClose(fnFunction, oListener)Detaches event handler fnFunction from the afterClose event of this sap.m.ResponsivePopover.
detachAfterOpen(fnFunction, oListener)Detaches event handler fnFunction from the afterOpen event of this sap.m.ResponsivePopover.
detachBeforeClose(fnFunction, oListener)Detaches event handler fnFunction from the beforeClose event of this sap.m.ResponsivePopover.
detachBeforeOpen(fnFunction, oListener)Detaches event handler fnFunction from the beforeOpen event of this sap.m.ResponsivePopover.
fireAfterClose(mParameters?)Fires event afterClose to attached listeners.
fireAfterOpen(mParameters?)Fires event afterOpen to attached listeners.
fireBeforeClose(mParameters?)Fires event beforeClose to attached listeners.
fireBeforeOpen(mParameters?)Fires event beforeOpen to attached listeners.
getAriaDescribedBy()Returns array of IDs of the elements which are the current targets of the association ariaDescribedBy.
getAriaLabelledBy()Returns array of IDs of the elements which are the current targets of the association ariaLabelledBy.
getBeginButton()Getter for beginButton aggregation
getContent()Gets content of aggregation content.
getContentHeight()Gets current value of property contentHeight.
getContentWidth()Gets current value of property contentWidth.
getCustomHeader()Gets content of aggregation customHeader.
getEndButton()Getter for endButton aggregation
getHorizontalScrolling()Gets current value of property horizontalScrolling.
getIcon()Gets current value of property icon.
getInitialFocus()ID of the element which is the current target of the association initialFocus, or null.
getModal()Gets current value of property modal.
getOffsetX()Gets current value of property offsetX.
getOffsetY()Gets current value of property offsetY.
getPlacement()Gets current value of property placement.
getResizable()Gets current value of property resizable.
getShowArrow()Gets current value of property showArrow.
getShowCloseButton()Gets current value of property showCloseButton.
getShowHeader()Gets current value of property showHeader.
getSubHeader()Gets content of aggregation subHeader.
getTitle()Gets current value of property title.
getVerticalScrolling()Gets current value of property verticalScrolling.
indexOfContent(oContent)Checks for the provided sap.ui.core.Control in the aggregation content.
insertContent(oContent, iIndex)Inserts a content into the aggregation content.
isOpen()Checks whether the ResponsivePopover is currently open.
openBy(oControl)Opens the ResponsivePopover.
removeAllAriaDescribedBy()Removes all the controls in the association named ariaDescribedBy.
removeAllAriaLabelledBy()Removes all the controls in the association named ariaLabelledBy.
removeAllContent()Removes all the controls from the aggregation content.
removeAriaDescribedBy(vAriaDescribedBy)Removes an ariaDescribedBy from the association named ariaDescribedBy.
removeAriaLabelledBy(vAriaLabelledBy)Removes an ariaLabelledBy from the association named ariaLabelledBy.
removeContent(vContent)Removes a content from the aggregation content.
setBeginButton(oButton)Setter for beginButton aggregation
setContentHeight(sContentHeight)Sets a new value for property contentHeight.
setContentWidth(sContentWidth)Sets a new value for property contentWidth.
setCustomHeader(oCustomHeader)Sets the aggregated customHeader.
setEndButton(oButton)Setter for endButton aggregation
setHorizontalScrolling(bHorizontalScrolling)Sets a new value for property horizontalScrolling.
setIcon(sIcon)Sets a new value for property icon.
setInitialFocus(oInitialFocus)Sets the associated initialFocus.
setModal(bModal)Sets a new value for property modal.
setOffsetX(iOffsetX)Sets a new value for property offsetX.
setOffsetY(iOffsetY)Sets a new value for property offsetY.
setPlacement(sPlacement)Sets a new value for property placement.
setResizable(bResizable)Sets a new value for property resizable.
setShowArrow(bShowArrow)Sets a new value for property showArrow.
setShowCloseButton(bShowCloseButton)Determines if the close button to the ResponsivePopover is shown or not.
setShowHeader(bShowHeader)Sets a new value for property showHeader.
setSubHeader(oSubHeader)Sets the aggregated subHeader.
setTitle(sTitle)Sets a new value for property title.
setVerticalScrolling(bVerticalScrolling)Sets a new value for property verticalScrolling.
Constructor Detail
new sap.m.ResponsivePopover(sId?, mSettings?)

Constructor for a new ResponsivePopover.

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:

In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.

Parameters:
stringsId?ID for the new control, generated automatically if no ID is given
objectmSettings?Initial settings for the new control A popover-based control that behaves differently according to the device it is on.
Event Detail
afterClose(oControlEvent)
Event is fired after popover or dialog is closed.
Parameters:
sap.ui.base.EventoControlEvent
sap.ui.base.EventProvideroControlEvent.getSource
objectoControlEvent.getParameters
sap.ui.core.ControloControlEvent.getParameters.openByThis parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
sap.m.ButtonoControlEvent.getParameters.originThis parameter contains the control which triggers the close of the ResponsivePopover. This parameter is undefined when runs on desktop or tablet.
afterOpen(oControlEvent)
Event is fired after popover or dialog is open.
Parameters:
sap.ui.base.EventoControlEvent
sap.ui.base.EventProvideroControlEvent.getSource
objectoControlEvent.getParameters
sap.ui.core.ControloControlEvent.getParameters.openByThis parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
beforeClose(oControlEvent)
Event is fired before popover or dialog is closed.
Parameters:
sap.ui.base.EventoControlEvent
sap.ui.base.EventProvideroControlEvent.getSource
objectoControlEvent.getParameters
sap.ui.core.ControloControlEvent.getParameters.openByThis parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
sap.m.ButtonoControlEvent.getParameters.originThis parameter contains the control which triggers the close of the ResponsivePopover. This parameter is undefined when runs on desktop or tablet.
beforeOpen(oControlEvent)
Event is fired before popover or dialog is open.
Parameters:
sap.ui.base.EventoControlEvent
sap.ui.base.EventProvideroControlEvent.getSource
objectoControlEvent.getParameters
sap.ui.core.ControloControlEvent.getParameters.openByThis parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
Method Detail
sap.m.ResponsivePopover.extend(sClassName, oClassInfo?, FNMetaImpl?): function

Creates a new subclass of class sap.m.ResponsivePopover 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.

Parameters:
stringsClassNameName of the class being created
objectoClassInfo?Object literal with information about the class
functionFNMetaImpl?Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
functionCreated class / constructor function
sap.m.ResponsivePopover.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.m.ResponsivePopover.
Returns:
sap.ui.base.MetadataMetadata object describing this class
addAriaDescribedBy(vAriaDescribedBy): sap.m.ResponsivePopover
Adds some ariaDescribedBy into the association ariaDescribedBy.
Parameters:
sap.ui.core.ID|sap.ui.core.ControlvAriaDescribedBythe ariaDescribedBy to add; if empty, nothing is inserted
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
addAriaLabelledBy(vAriaLabelledBy): sap.m.ResponsivePopover
Adds some ariaLabelledBy into the association ariaLabelledBy.
Parameters:
sap.ui.core.ID|sap.ui.core.ControlvAriaLabelledBythe ariaLabelledBy to add; if empty, nothing is inserted
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
addContent(oControl)
Adds content to the ResponsivePopover
Parameters:
sap.ui.core.ControloControlThe control to be added to the content
attachAfterClose(oData?, fnFunction, oListener?): sap.m.ResponsivePopover

Attaches event handler fnFunction to the afterClose event of this sap.m.ResponsivePopover.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.m.ResponsivePopover itself.

Event is fired after popover or dialog is closed.

Parameters:
objectoData?An application-specific payload object that will be passed to the event handler along with the event object when firing the event
functionfnFunctionThe function to be called when the event occurs
objectoListener?Context object to call the event handler with. Defaults to this sap.m.ResponsivePopover itself
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
attachAfterOpen(oData?, fnFunction, oListener?): sap.m.ResponsivePopover

Attaches event handler fnFunction to the afterOpen event of this sap.m.ResponsivePopover.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.m.ResponsivePopover itself.

Event is fired after popover or dialog is open.

Parameters:
objectoData?An application-specific payload object that will be passed to the event handler along with the event object when firing the event
functionfnFunctionThe function to be called when the event occurs
objectoListener?Context object to call the event handler with. Defaults to this sap.m.ResponsivePopover itself
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
attachBeforeClose(oData?, fnFunction, oListener?): sap.m.ResponsivePopover

Attaches event handler fnFunction to the beforeClose event of this sap.m.ResponsivePopover.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.m.ResponsivePopover itself.

Event is fired before popover or dialog is closed.

Parameters:
objectoData?An application-specific payload object that will be passed to the event handler along with the event object when firing the event
functionfnFunctionThe function to be called when the event occurs
objectoListener?Context object to call the event handler with. Defaults to this sap.m.ResponsivePopover itself
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
attachBeforeOpen(oData?, fnFunction, oListener?): sap.m.ResponsivePopover

Attaches event handler fnFunction to the beforeOpen event of this sap.m.ResponsivePopover.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.m.ResponsivePopover itself.

Event is fired before popover or dialog is open.

Parameters:
objectoData?An application-specific payload object that will be passed to the event handler along with the event object when firing the event
functionfnFunctionThe function to be called when the event occurs
objectoListener?Context object to call the event handler with. Defaults to this sap.m.ResponsivePopover itself
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
Creates a new instance of ResponsivePopover with the same settings as the ResponsivePopover on which the method is called
Returns:
sap.m.ResponsivePopoverNew instance of ResponsivePopover
Closes the ResponsivePopover.
Returns:
sap.ui.core.Control
destroyBeginButton(): sap.m.ResponsivePopover
Destroys the beginButton in the aggregation beginButton.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
destroyContent(): sap.m.ResponsivePopover
Destroys all the content in the aggregation content.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
destroyCustomHeader(): sap.m.ResponsivePopover
Destroys the customHeader in the aggregation customHeader.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
destroyEndButton(): sap.m.ResponsivePopover
Destroys the endButton in the aggregation endButton.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
destroySubHeader(): sap.m.ResponsivePopover
Destroys the subHeader in the aggregation subHeader.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
detachAfterClose(fnFunction, oListener): sap.m.ResponsivePopover

Detaches event handler fnFunction from the afterClose event of this sap.m.ResponsivePopover.

The passed function and listener object must match the ones used for event registration.

Parameters:
functionfnFunctionThe function to be called, when the event occurs
objectoListenerContext object on which the given function had to be called
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
detachAfterOpen(fnFunction, oListener): sap.m.ResponsivePopover

Detaches event handler fnFunction from the afterOpen event of this sap.m.ResponsivePopover.

The passed function and listener object must match the ones used for event registration.

Parameters:
functionfnFunctionThe function to be called, when the event occurs
objectoListenerContext object on which the given function had to be called
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
detachBeforeClose(fnFunction, oListener): sap.m.ResponsivePopover

Detaches event handler fnFunction from the beforeClose event of this sap.m.ResponsivePopover.

The passed function and listener object must match the ones used for event registration.

Parameters:
functionfnFunctionThe function to be called, when the event occurs
objectoListenerContext object on which the given function had to be called
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
detachBeforeOpen(fnFunction, oListener): sap.m.ResponsivePopover

Detaches event handler fnFunction from the beforeOpen event of this sap.m.ResponsivePopover.

The passed function and listener object must match the ones used for event registration.

Parameters:
functionfnFunctionThe function to be called, when the event occurs
objectoListenerContext object on which the given function had to be called
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
fireAfterClose(mParameters?): sap.m.ResponsivePopover
Fires event afterClose to attached listeners.
Parameters:
objectmParameters?Parameters to pass along with the event
sap.ui.core.ControlmParameters.openBy?This parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
sap.m.ButtonmParameters.origin?This parameter contains the control which triggers the close of the ResponsivePopover. This parameter is undefined when runs on desktop or tablet.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
fireAfterOpen(mParameters?): sap.m.ResponsivePopover
Fires event afterOpen to attached listeners.
Parameters:
objectmParameters?Parameters to pass along with the event
sap.ui.core.ControlmParameters.openBy?This parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
fireBeforeClose(mParameters?): sap.m.ResponsivePopover
Fires event beforeClose to attached listeners.
Parameters:
objectmParameters?Parameters to pass along with the event
sap.ui.core.ControlmParameters.openBy?This parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
sap.m.ButtonmParameters.origin?This parameter contains the control which triggers the close of the ResponsivePopover. This parameter is undefined when runs on desktop or tablet.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
fireBeforeOpen(mParameters?): sap.m.ResponsivePopover
Fires event beforeOpen to attached listeners.
Parameters:
objectmParameters?Parameters to pass along with the event
sap.ui.core.ControlmParameters.openBy?This parameter contains the control which is passed as the parameter when calling openBy method. When runs on the phone, this parameter is undefined.
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
getAriaDescribedBy(): sap.ui.core.ID[]
Returns array of IDs of the elements which are the current targets of the association ariaDescribedBy.
Returns:
sap.ui.core.ID[]
getAriaLabelledBy(): sap.ui.core.ID[]
Returns array of IDs of the elements which are the current targets of the association ariaLabelledBy.
Returns:
sap.ui.core.ID[]
getBeginButton(): sap.m.Button
Getter for beginButton aggregation
Returns:
sap.m.ButtonThe button that is set as a beginButton aggregation
getContent(): sap.ui.core.Control[]

Gets content of aggregation content.

Content is supported by both variants. Please see the documentation on sap.m.Popover#content and sap.m.Dialog#content

Returns:
sap.ui.core.Control[]
getContentHeight(): sap.ui.core.CSSSize

Gets current value of property contentHeight.

This property is supported by both variants. Please see the documentation on sap.m.Popover#contentHeight and sap.m.Dialog#contentHeight

Returns:
sap.ui.core.CSSSizeValue of property contentHeight
getContentWidth(): sap.ui.core.CSSSize

Gets current value of property contentWidth.

This property is supported by both variants. Please see the documentation on sap.m.Popover#contentWidth and sap.m.Dialog#contentWidth

Returns:
sap.ui.core.CSSSizeValue of property contentWidth
getCustomHeader(): sap.m.IBar

Gets content of aggregation customHeader.

CustomHeader is supported by both variants. Please see the documentation on sap.m.Popover#customHeader and sap.m.Dialog#customHeader

Returns:
sap.m.IBar
getEndButton(): sap.m.Button
Getter for endButton aggregation
Returns:
sap.m.ButtonThe button that is set as an endButton aggregation
getHorizontalScrolling(): boolean

Gets current value of property horizontalScrolling.

This property is supported by both variants. Please see the documentation on sap.m.Popover#horizontalScrolling and sap.m.Dialog#horizontalScrolling

Default value is true.

Returns:
booleanValue of property horizontalScrolling
getIcon(): sap.ui.core.URI

Gets current value of property icon.

This property only takes effect on phone. Please see the documentation sap.m.Dialog#icon.

Returns:
sap.ui.core.URIValue of property icon
getInitialFocus(): sap.ui.core.ID
ID of the element which is the current target of the association initialFocus, or null.
Returns:
sap.ui.core.ID
getModal(): boolean

Gets current value of property modal.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#modal.

Returns:
booleanValue of property modal
getOffsetX(): int

Gets current value of property offsetX.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#offsetX.

Returns:
intValue of property offsetX
getOffsetY(): int

Gets current value of property offsetY.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#offsetY.

Returns:
intValue of property offsetY
getPlacement(): sap.m.PlacementType

Gets current value of property placement.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#placement.

Default value is Right.

Returns:
sap.m.PlacementTypeValue of property placement
getResizable(): boolean

Gets current value of property resizable.

Whether resize option is enabled.

Default value is false.

Returns:
booleanValue of property resizable
Experimental API:
since 1.36.4 Do not use directly on ResponsivePopover while in experimental mode!
Since:
1.36.4
getShowArrow(): boolean

Gets current value of property showArrow.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#showArrow.

Default value is true.

Returns:
booleanValue of property showArrow
getShowCloseButton(): boolean

Gets current value of property showCloseButton.

Determines if a close button should be inserted into the dialog's header dynamically to close the dialog. This property only takes effect on phone.

Default value is true.

Returns:
booleanValue of property showCloseButton
getShowHeader(): boolean

Gets current value of property showHeader.

This property is supported by both variants. Please see the documentation on sap.m.Popover#showHeader and sap.m.Dialog#showHeader

Default value is true.

Returns:
booleanValue of property showHeader
getSubHeader(): sap.m.IBar

Gets content of aggregation subHeader.

SubHeader is supported by both variants. Please see the documentation on sap.m.Popover#subHeader and sap.m.Dialog#subHeader

Returns:
sap.m.IBar
getTitle(): string

Gets current value of property title.

This property is supported by both variants. Please see the documentation on sap.m.Popover#title and sap.m.Dialog#title

Returns:
stringValue of property title
getVerticalScrolling(): boolean

Gets current value of property verticalScrolling.

This property is supported by both variants. Please see the documentation on sap.m.Popover#verticalScrolling and sap.m.Dialog#verticalScrolling

Default value is true.

Returns:
booleanValue of property verticalScrolling
indexOfContent(oContent): int
Checks for the provided sap.ui.core.Control in the aggregation content. and returns its index if found or -1 otherwise.
Parameters:
sap.ui.core.ControloContentThe content whose index is looked for
Returns:
intThe index of the provided control in the aggregation if found, or -1 otherwise
insertContent(oContent, iIndex): sap.m.ResponsivePopover
Inserts a content into the aggregation content.
Parameters:
sap.ui.core.ControloContentthe content to insert; if empty, nothing is inserted
intiIndexthe 0-based index the content should be inserted at; for a negative value of iIndex, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
Checks whether the ResponsivePopover is currently open.
Returns:
sap.ui.core.Control
openBy(oControl): sap.ui.core.Control
Opens the ResponsivePopover. The ResponsivePopover is positioned relatively to the control parameter on tablet or desktop and is full screen on phone. Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
Parameters:
objectoControlWhen this control is displayed on tablet or desktop, the ResponsivePopover is positioned relatively to this control.
Returns:
sap.ui.core.Control
removeAllAriaDescribedBy(): sap.ui.core.ID[]
Removes all the controls in the association named ariaDescribedBy.
Returns:
sap.ui.core.ID[]An array of the removed elements (might be empty)
removeAllAriaLabelledBy(): sap.ui.core.ID[]
Removes all the controls in the association named ariaLabelledBy.
Returns:
sap.ui.core.ID[]An array of the removed elements (might be empty)
removeAllContent(): sap.ui.core.Control[]

Removes all the controls from the aggregation content.

Additionally, it unregisters them from the hosting UIArea.

Returns:
sap.ui.core.Control[]An array of the removed elements (might be empty)
removeAriaDescribedBy(vAriaDescribedBy): sap.ui.core.ID
Removes an ariaDescribedBy from the association named ariaDescribedBy.
Parameters:
int|sap.ui.core.ID|sap.ui.core.ControlvAriaDescribedByThe ariaDescribedBy to be removed or its index or ID
Returns:
sap.ui.core.IDThe removed ariaDescribedBy or null
removeAriaLabelledBy(vAriaLabelledBy): sap.ui.core.ID
Removes an ariaLabelledBy from the association named ariaLabelledBy.
Parameters:
int|sap.ui.core.ID|sap.ui.core.ControlvAriaLabelledByThe ariaLabelledBy to be removed or its index or ID
Returns:
sap.ui.core.IDThe removed ariaLabelledBy or null
removeContent(vContent): sap.ui.core.Control
Removes a content from the aggregation content.
Parameters:
int|string|sap.ui.core.ControlvContentThe content to remove or its index or id
Returns:
sap.ui.core.ControlThe removed content or null
setBeginButton(oButton): sap.m.ResponsivePopover
Setter for beginButton aggregation
Parameters:
sap.m.ButtonoButtonThe button that will be set as an aggregation
Returns:
sap.m.ResponsivePopoverPointer to the control instance for chaining
setContentHeight(sContentHeight): sap.m.ResponsivePopover

Sets a new value for property contentHeight.

This property is supported by both variants. Please see the documentation on sap.m.Popover#contentHeight and sap.m.Dialog#contentHeight

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
sap.ui.core.CSSSizesContentHeightNew value for property contentHeight
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setContentWidth(sContentWidth): sap.m.ResponsivePopover

Sets a new value for property contentWidth.

This property is supported by both variants. Please see the documentation on sap.m.Popover#contentWidth and sap.m.Dialog#contentWidth

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
sap.ui.core.CSSSizesContentWidthNew value for property contentWidth
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setCustomHeader(oCustomHeader): sap.m.ResponsivePopover
Sets the aggregated customHeader.
Parameters:
sap.m.IBaroCustomHeaderThe customHeader to set
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setEndButton(oButton): sap.m.ResponsivePopover
Setter for endButton aggregation
Parameters:
sap.m.ButtonoButtonThe button that will be set as an aggregation
Returns:
sap.m.ResponsivePopoverPointer to the control instance for chaining
setHorizontalScrolling(bHorizontalScrolling): sap.m.ResponsivePopover

Sets a new value for property horizontalScrolling.

This property is supported by both variants. Please see the documentation on sap.m.Popover#horizontalScrolling and sap.m.Dialog#horizontalScrolling

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
booleanbHorizontalScrollingNew value for property horizontalScrolling
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setIcon(sIcon): sap.m.ResponsivePopover

Sets a new value for property icon.

This property only takes effect on phone. Please see the documentation sap.m.Dialog#icon.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
sap.ui.core.URIsIconNew value for property icon
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setInitialFocus(oInitialFocus): sap.m.ResponsivePopover
Sets the associated initialFocus.
Parameters:
sap.ui.core.ID|sap.ui.core.ControloInitialFocusID of an element which becomes the new target of this initialFocus association; alternatively, an element instance may be given
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setModal(bModal): sap.m.ResponsivePopover

Sets a new value for property modal.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#modal.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
booleanbModalNew value for property modal
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setOffsetX(iOffsetX): sap.m.ResponsivePopover

Sets a new value for property offsetX.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#offsetX.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
intiOffsetXNew value for property offsetX
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setOffsetY(iOffsetY): sap.m.ResponsivePopover

Sets a new value for property offsetY.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#offsetY.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
intiOffsetYNew value for property offsetY
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setPlacement(sPlacement): sap.m.ResponsivePopover

Sets a new value for property placement.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#placement.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is Right.

Parameters:
sap.m.PlacementTypesPlacementNew value for property placement
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setResizable(bResizable): sap.m.ResponsivePopover

Sets a new value for property resizable.

Whether resize option is enabled.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

Parameters:
booleanbResizableNew value for property resizable
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
Experimental API:
since 1.36.4 Do not use directly on ResponsivePopover while in experimental mode!
Since:
1.36.4
setShowArrow(bShowArrow): sap.m.ResponsivePopover

Sets a new value for property showArrow.

This property only takes effect on desktop or tablet. Please see the documentation sap.m.Popover#showArrow.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
booleanbShowArrowNew value for property showArrow
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setShowCloseButton(bShowCloseButton): sap.m.ResponsivePopover
Determines if the close button to the ResponsivePopover is shown or not. Works only when ResponsivePopover is used as a dialog
Parameters:
booleanbShowCloseButtonDefines whether the close button is shown
Returns:
sap.m.ResponsivePopoverPointer to the control instance for chaining
setShowHeader(bShowHeader): sap.m.ResponsivePopover

Sets a new value for property showHeader.

This property is supported by both variants. Please see the documentation on sap.m.Popover#showHeader and sap.m.Dialog#showHeader

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
booleanbShowHeaderNew value for property showHeader
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setSubHeader(oSubHeader): sap.m.ResponsivePopover
Sets the aggregated subHeader.
Parameters:
sap.m.IBaroSubHeaderThe subHeader to set
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setTitle(sTitle): sap.m.ResponsivePopover

Sets a new value for property title.

This property is supported by both variants. Please see the documentation on sap.m.Popover#title and sap.m.Dialog#title

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
stringsTitleNew value for property title
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining
setVerticalScrolling(bVerticalScrolling): sap.m.ResponsivePopover

Sets a new value for property verticalScrolling.

This property is supported by both variants. Please see the documentation on sap.m.Popover#verticalScrolling and sap.m.Dialog#verticalScrolling

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
booleanbVerticalScrollingNew value for property verticalScrolling
Returns:
sap.m.ResponsivePopoverReference to this in order to allow method chaining