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:
requiredParentWidth
- determines the minimum width of the parent container (in pixels). When it is reached, the pane will be hidden from the screen.demandPane
- determines if the pane is reachable via the pagination bar after it has been hidden from the screen.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 |
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 |
Default Aggregation: content
Name | Cardinality | Type | Description |
---|---|---|---|
content (default) | 0..1 | sap.ui.core.Control |
Content of the SplitPane |
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
|
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 |
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 |
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 Default value is |
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 Default value is |
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 |
Gets current value of property demandPane.
Determines whether the pane will be moved to the pagination
Default value is true
.
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
.
Sets the aggregated content.
Param | Type | DefaultValue | Description |
---|---|---|---|
oContent | sap.ui.core.Control |
The content to set |
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 |
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 |