class sap.ui.vk.ListPanelStack

Control sample: sap.ui.vk.ListPanelStack
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/ListPanelStack
Application Component: CA-UI5-VTK

ListPanelStack control


Constructor

Constructor for a new ListPanelStack.

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.vk.ListPanelStack(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
collapsible boolean true

Ability to collapse

Visibility: public
expandAnimation boolean true

Expand animation

Visibility: public
expanded boolean true

Expansion state

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

Control width

Visibility: public

Aggregations

Default Aggregation:

Name Cardinality Type Description
content 0..n sap.ui.vk.ListPanel
layout 0..1 sap.ui.layout.VerticalLayout

hidden layout aggregation needed for binding


Methods Overview

Method Description
addContent

Adds some content to the aggregation content.

destroyContent

Destroys all the content in the aggregation content.

sap.ui.vk.ListPanelStack.extend

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

getCollapsible

Gets current value of property collapsible.

Ability to collapse

Default value is true.

getContent

Gets content of aggregation content.

getExpandAnimation

Gets current value of property expandAnimation.

Expand animation

Default value is true.

getExpanded

Gets current value of property expanded.

Expansion state

Default value is true.

sap.ui.vk.ListPanelStack.getMetadata

Returns a metadata object for class sap.ui.vk.ListPanelStack.

getWidth

Gets current value of property width.

Control width

Default value is "100%".

indexOfContent

Checks for the provided sap.ui.vk.ListPanel in the aggregation content. and returns its index if found or -1 otherwise.

insertContent

Inserts a content into the aggregation content.

removeAllContent

Removes all the controls from the aggregation content.

Additionally, it unregisters them from the hosting UIArea.

removeContent

Removes a content from the aggregation content.

setCollapsible

Sets a new value for property collapsible.

Ability to collapse

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

Default value is true.

setExpandAnimation

Sets a new value for property expandAnimation.

Expand animation

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

Default value is true.

setExpanded

Sets a new value for property expanded.

Expansion state

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

Default value is true.

setWidth

Sets a new value for property width.

Control width

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

Default value is "100%".

addContent

Adds some content to the aggregation content.

Param Type DefaultValue Description
oContent sap.ui.vk.ListPanel

The content to add; if empty, nothing is inserted

destroyContent

Destroys all the content in the aggregation content.

sap.ui.vk.ListPanelStack.extend

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

getCollapsible

Gets current value of property collapsible.

Ability to collapse

Default value is true.

getContent

Gets content of aggregation content.

getExpandAnimation

Gets current value of property expandAnimation.

Expand animation

Default value is true.

getExpanded

Gets current value of property expanded.

Expansion state

Default value is true.

sap.ui.vk.ListPanelStack.getMetadata

Returns a metadata object for class sap.ui.vk.ListPanelStack.

getWidth

Gets current value of property width.

Control width

Default value is "100%".

indexOfContent

Checks for the provided sap.ui.vk.ListPanel in the aggregation content. and returns its index if found or -1 otherwise.

Param Type DefaultValue Description
oContent sap.ui.vk.ListPanel

The content whose index is looked for

insertContent

Inserts a content into the aggregation content.

Param Type DefaultValue Description
oContent sap.ui.vk.ListPanel

The content to insert; if empty, nothing is inserted

iIndex int

The 0-based index the content should be inserted at; for a negative value of iIndex, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position

removeAllContent

Removes all the controls from the aggregation content.

Additionally, it unregisters them from the hosting UIArea.

removeContent

Removes a content from the aggregation content.

Param Type DefaultValue Description
vContent int string sap.ui.vk.ListPanel

The content to remove or its index or id

setCollapsible

Sets a new value for property collapsible.

Ability to collapse

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
bCollapsible boolean true

New value for property collapsible

setExpandAnimation

Sets a new value for property expandAnimation.

Expand animation

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
bExpandAnimation boolean true

New value for property expandAnimation

setExpanded

Sets a new value for property expanded.

Expansion state

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
bExpanded boolean true

New value for property expanded

setWidth

Sets a new value for property width.

Control width

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