Class sap.ui.commons.ResponsiveContainerRangeModule: sap/ui/commons/ResponsiveContainerRange

extends Control

Defines a range for the ResponsiveContainer

Deprecated API:Since version 1.38.

Constructor Summary
new sap.ui.commons.ResponsiveContainerRange(sId?, mSettings?)Constructor for a new ResponsiveContainerRange.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.commons.ResponsiveContainerRange.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.commons.ResponsiveContainerRange with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.commons.ResponsiveContainerRange.getMetadata()Returns a metadata object for class sap.ui.commons.ResponsiveContainerRange.
getContent()ID of the element which is the current target of the association content, or null.
getHeight()Gets current value of property height.
getKey()Gets current value of property key.
getWidth()Gets current value of property width.
setContent(oContent)Sets the associated content.
setHeight(sHeight)Sets a new value for property height.
setKey(sKey)Sets a new value for property key.
setWidth(sWidth)Sets a new value for property width.
Constructor Detail
new sap.ui.commons.ResponsiveContainerRange(sId?, mSettings?)
Constructor for a new ResponsiveContainerRange.

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
    • width : sap.ui.core.CSSSize (default: )
    • height : sap.ui.core.CSSSize (default: )
    • key : string (default: )

In addition, all settings applicable to the base type sap.ui.core.Control 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
Deprecated:
Since version 1.38.
Method Detail
sap.ui.commons.ResponsiveContainerRange.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.commons.ResponsiveContainerRange 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:
{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
sap.ui.commons.ResponsiveContainerRange.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.commons.ResponsiveContainerRange.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getContent(): sap.ui.core.Control
ID of the element which is the current target of the association content, or null.
Returns:
{sap.ui.core.Control}
getHeight(): sap.ui.core.CSSSize
Gets current value of property height.

The minimal height for this range to be displayed.

Default value is .

Returns:
{sap.ui.core.CSSSize} Value of property height
getKey(): string
Gets current value of property key.

A key which can be used to identify the range (optional).

Default value is .

Returns:
{string} Value of property key
getWidth(): sap.ui.core.CSSSize
Gets current value of property width.

The minimal width for this range to be displayed.

Default value is .

Returns:
{sap.ui.core.CSSSize} Value of property width
Sets the associated content.
Parameters:
{sap.ui.core.Control}oContent Id of an element which becomes the new target of this content association; alternatively, an element instance may be given
Returns:
{sap.ui.commons.ResponsiveContainerRange} Reference to this in order to allow method chaining
Sets a new value for property height.

The minimal height for this range to be displayed.

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

Default value is .

Parameters:
{sap.ui.core.CSSSize}sHeight New value for property height
Returns:
{sap.ui.commons.ResponsiveContainerRange} Reference to this in order to allow method chaining
Sets a new value for property key.

A key which can be used to identify the range (optional).

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

Default value is .

Parameters:
{string}sKey New value for property key
Returns:
{sap.ui.commons.ResponsiveContainerRange} Reference to this in order to allow method chaining
Sets a new value for property width.

The minimal width for this range to be displayed.

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

Default value is .

Parameters:
{sap.ui.core.CSSSize}sWidth New value for property width
Returns:
{sap.ui.commons.ResponsiveContainerRange} Reference to this in order to allow method chaining