class sap.ui.commons.HorizontalDivider

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/commons/HorizontalDivider
Application Component: CA-UI5-CTR

Divides the screen in visual areas.


Constructor

Constructor for a new HorizontalDivider.

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.commons.HorizontalDivider(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
height sap.ui.commons.HorizontalDividerHeight Medium

Defines the height of the divider.

Visibility: public
type sap.ui.commons.HorizontalDividerType Area

Defines the type of the divider.

Visibility: public
width sap.ui.core.CSSSize 100%

Defines the width of the divider.

Visibility: public

Methods Overview

Method Description
sap.ui.commons.HorizontalDivider.extend

Creates a new subclass of class sap.ui.commons.HorizontalDivider 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.

getHeight

Gets current value of property height.

Defines the height of the divider.

Default value is Medium.

sap.ui.commons.HorizontalDivider.getMetadata

Returns a metadata object for class sap.ui.commons.HorizontalDivider.

getType

Gets current value of property type.

Defines the type of the divider.

Default value is Area.

getWidth

Gets current value of property width.

Defines the width of the divider.

Default value is '100%'.

setHeight

Sets a new value for property height.

Defines the height of the divider.

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

Default value is Medium.

setType

Sets a new value for property type.

Defines the type of the divider.

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

Default value is Area.

setWidth

Sets a new value for property width.

Defines the width of the divider.

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

Default value is '100%'.

sap.ui.commons.HorizontalDivider.extend

Creates a new subclass of class sap.ui.commons.HorizontalDivider 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.

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

getHeight

Gets current value of property height.

Defines the height of the divider.

Default value is Medium.

sap.ui.commons.HorizontalDivider.getMetadata

Returns a metadata object for class sap.ui.commons.HorizontalDivider.

getType

Gets current value of property type.

Defines the type of the divider.

Default value is Area.

getWidth

Gets current value of property width.

Defines the width of the divider.

Default value is '100%'.

setHeight

Sets a new value for property height.

Defines the height of the divider.

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

Default value is Medium.

Param Type DefaultValue Description
sHeight sap.ui.commons.HorizontalDividerHeight Medium

New value for property height

setType

Sets a new value for property type.

Defines the type of the divider.

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

Default value is Area.

Param Type DefaultValue Description
sType sap.ui.commons.HorizontalDividerType Area

New value for property type

setWidth

Sets a new value for property width.

Defines the width of the divider.

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

Default value is '100%'.

Param Type DefaultValue Description
sWidth sap.ui.core.CSSSize '100%'

New value for property width