Class sap.ui.layout.SplitPaneModule: sap/ui/layout/SplitPane

extends Element

SplitPane is a container of a single control. Could be used as an aggregation of a PaneContainer.


Since: 1.38.
Constructor Summary
new sap.ui.layout.SplitPane(sId?, mSettings?)Constructor for a new SplitPane.
Method Summary
sap.ui.layout.SplitPane.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.layout.SplitPane with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.layout.SplitPane.getMetadata()Returns a metadata object for class sap.ui.layout.SplitPane.
destroyContent()Destroys the content in the aggregation content.
getContent()Gets content of aggregation content.
getDemandPane()Gets current value of property demandPane.
getRequiredParentWidth()Gets current value of property requiredParentWidth.
setContent(oContent)Sets the aggregated content.
setDemandPane(bDemandPane)Sets a new value for property demandPane.
setRequiredParentWidth(iRequiredParentWidth)Sets a new value for property requiredParentWidth.
Constructor Detail
new sap.ui.layout.SplitPane(sId?, mSettings?)
Constructor for a new SplitPane.

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.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.ui.layout.SplitPane.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.layout.SplitPane 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
sap.ui.layout.SplitPane.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.layout.SplitPane.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
destroyContent(): sap.ui.layout.SplitPane
Destroys the content in the aggregation content.
Returns:
{sap.ui.layout.SplitPane} Reference to this in order to allow method chaining
getContent(): sap.ui.core.Control
Gets content of aggregation content.

Content of the SplitPane

Returns:
{sap.ui.core.Control}
getDemandPane(): boolean
Gets current value of property demandPane.

Determines whether the pane will be moved to the pagination

Default value is true.

Returns:
{boolean} Value of property demandPane
getRequiredParentWidth(): int
Gets current value of property requiredParentWidth.

Determines the minimum width of the ResponsiveSplitter(in pixels). When it is reached the pane will be hidden from the screen.

Default value is 800.

Returns:
{int} Value of property requiredParentWidth
setContent(oContent): sap.ui.layout.SplitPane
Sets the aggregated content.
Parameters:
{sap.ui.core.Control}oContent The content to set
Returns:
{sap.ui.layout.SplitPane} Reference to this in order to allow method chaining
setDemandPane(bDemandPane): sap.ui.layout.SplitPane
Sets a new value for property demandPane.

Determines whether the pane will be moved to the pagination

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

Default value is true.

Parameters:
{boolean}bDemandPane New value for property demandPane
Returns:
{sap.ui.layout.SplitPane} Reference to this in order to allow method chaining
setRequiredParentWidth(iRequiredParentWidth): sap.ui.layout.SplitPane
Sets a new value for property requiredParentWidth.

Determines the minimum width of the ResponsiveSplitter(in pixels). When it is reached the pane will be hidden from the screen.

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

Default value is 800.

Parameters:
{int}iRequiredParentWidth New value for property requiredParentWidth
Returns:
{sap.ui.layout.SplitPane} Reference to this in order to allow method chaining