sap.uxap.ObjectPageSubSection.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.uxap.ObjectPageSubSection with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.uxap.ObjectPageSectionBase.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 |
Returns a metadata object for class sap.uxap.ObjectPageSubSection.
Returns:
Adds some action to the aggregation actions
.
Parameters:
Returns:
Adds some block to the aggregation blocks
.
Parameters:
Returns:
Adds some moreBlock to the aggregation moreBlocks
.
Parameters:
Returns:
Destroys all the actions in the aggregation actions
.
Returns:
Destroys all the blocks in the aggregation blocks
.
Returns:
Destroys all the moreBlocks in the aggregation moreBlocks
.
Returns:
Gets content of aggregation
actions
.
Actions available for this Subsection
Returns:
Gets content of aggregation
blocks
.
Controls to be displayed in the subsection
Returns:
Gets current value of property
mode
.
A mode property that will be passed to the controls in the blocks and moreBlocks aggregations. Only relevant if these aggregations use Object page blocks.
Default value is Collapsed
.
Returns:
Gets content of aggregation
moreBlocks
.
Additional controls to display when the Show more / See all / (...) button is pressed
Returns:
getTitleUppercase(): boolean
Gets current value of property
titleUppercase
.
Determines whether the Subsection title is displayed in upper case.
Default value is false
.
Returns:
{boolean} | Value of property titleUppercase |
indexOfAction(oAction): int
Checks for the provided sap.ui.core.Control
in the aggregation actions
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfBlock(oBlock): int
Checks for the provided sap.ui.core.Control
in the aggregation blocks
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
indexOfMoreBlock(oMoreBlock): int
Checks for the provided sap.ui.core.Control
in the aggregation moreBlocks
. and returns its index if found or -1 otherwise.
Parameters:
Returns:
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
Inserts a action into the aggregation actions
.
Parameters:
{sap.ui.core.Control} | oAction | the action to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the action should be inserted at; for a negative value of iIndex , the action is inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted at the last position |
Returns:
Inserts a block into the aggregation blocks
.
Parameters:
{sap.ui.core.Control} | oBlock | the block to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the block should be inserted at; for a negative value of iIndex , the block is inserted at position 0; for a value greater than the current size of the aggregation, the block is inserted at the last position |
Returns:
Inserts a moreBlock into the aggregation moreBlocks
.
Parameters:
{sap.ui.core.Control} | oMoreBlock | the moreBlock to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the moreBlock should be inserted at; for a negative value of iIndex , the moreBlock is inserted at position 0; for a value greater than the current size of the aggregation, the moreBlock is inserted at the last position |
Returns:
Removes a action from the aggregation actions
.
Parameters:
Returns:
Removes all the controls from the aggregation
actions
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
blocks
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
moreBlocks
.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes a block from the aggregation blocks
.
Parameters:
Returns:
Removes a moreBlock from the aggregation moreBlocks
.
Parameters:
Returns:
Sets a new value for property
mode
.
A mode property that will be passed to the controls in the blocks and moreBlocks aggregations. Only relevant if these aggregations use Object page blocks.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Collapsed
.
Parameters:
Returns:
Sets a new value for property
titleUppercase
.
Determines whether the Subsection title is displayed in upper case.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bTitleUppercase | New value for property titleUppercase |
Returns: