class sap.ui.layout.SplitPane

Control sample: sap.ui.layout.SplitPane
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/layout/SplitPane
Application Component: CA-UI5-CTR

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

The behavior of the Split Panes is handled by the following properties:


Constructor

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#constructor for a general description of the syntax of the settings object.

new sap.ui.layout.SplitPane(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


Properties

Name Type Default Value Description
demandPane boolean true

Determines whether the pane will be moved to the pagination

Visibility: public
requiredParentWidth int 800

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

When you are calculating the required parent width to fit your panes, you should also include the width of all split bars between these panes.

Visibility: public

Aggregations

Default Aggregation: content

Name Cardinality Type Description
content (default) 0..1 sap.ui.core.Control

Content of the SplitPane


Methods Overview

Method Description
destroyContent

Destroys the content in the aggregation content.

sap.ui.layout.SplitPane.extend

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.

getContent

Gets content of aggregation content.

Content of the SplitPane

getDemandPane

Gets current value of property demandPane.

Determines whether the pane will be moved to the pagination

Default value is true.

sap.ui.layout.SplitPane.getMetadata

Returns a metadata object for class sap.ui.layout.SplitPane.

getRequiredParentWidth

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.

When you are calculating the required parent width to fit your panes, you should also include the width of all split bars between these panes.

Default value is 800.

setContent

Sets the aggregated content.

setDemandPane

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.

setRequiredParentWidth

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 you are calculating the required parent width to fit your panes, you should also include the width of all split bars between these panes.

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

Default value is 800.

destroyContent

Destroys the content in the aggregation content.

sap.ui.layout.SplitPane.extend

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.

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

getContent

Gets content of aggregation content.

Content of the SplitPane

getDemandPane

Gets current value of property demandPane.

Determines whether the pane will be moved to the pagination

Default value is true.

sap.ui.layout.SplitPane.getMetadata

Returns a metadata object for class sap.ui.layout.SplitPane.

getRequiredParentWidth

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.

When you are calculating the required parent width to fit your panes, you should also include the width of all split bars between these panes.

Default value is 800.

setContent

Sets the aggregated content.

Param Type DefaultValue Description
oContent sap.ui.core.Control

The content to set

setDemandPane

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.

Param Type DefaultValue Description
bDemandPane boolean true

New value for property demandPane

setRequiredParentWidth

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 you are calculating the required parent width to fit your panes, you should also include the width of all split bars between these panes.

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

Default value is 800.

Param Type DefaultValue Description
iRequiredParentWidth int 800

New value for property requiredParentWidth