class sap.ui.mdc.actiontoolbar.ActionToolbarAction

Visiblity: restricted
UX Guidelines:
Implements: sap.m.IOverflowToolbarContent
Available since: N/A
Module: sap/ui/mdc/actiontoolbar/ActionToolbarAction
Application Component: CA-UI5-MDC

The action for an ActionToolbar) control


Constructor

Constructor for a new ActionToolbarAction.
Note:
The control is experimental and the API / behavior is not finalized. It should only be used internally in other mdc controls (e.g. chart/table).

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.mdc.actiontoolbar.ActionToolbarAction(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
layoutInformation object ...see text or source

Layout information

Visibility: public

Aggregations

Default Aggregation: action

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

Action


Methods Overview

Method Description
destroyAction

Destroys the action in the aggregation action.

sap.ui.mdc.actiontoolbar.ActionToolbarAction.extend

Creates a new subclass of class sap.ui.mdc.actiontoolbar.ActionToolbarAction 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.

getAction

Gets content of aggregation action.

Action

getLayoutInformation

Gets current value of property layoutInformation.

Layout information

Default value is ...see text or source.

sap.ui.mdc.actiontoolbar.ActionToolbarAction.getMetadata

Returns a metadata object for class sap.ui.mdc.actiontoolbar.ActionToolbarAction.

getOverflowToolbarConfig

Sets the behavior of the ActionToolbarAction inside an OverflowToolbar configuration.

setAction

Sets the aggregated action.

setLayoutInformation

Sets a new value for property layoutInformation.

Layout information

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

Default value is ...see text or source.

destroyAction

Destroys the action in the aggregation action.

sap.ui.mdc.actiontoolbar.ActionToolbarAction.extend

Creates a new subclass of class sap.ui.mdc.actiontoolbar.ActionToolbarAction 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

getAction

Gets content of aggregation action.

Action

getLayoutInformation

Gets current value of property layoutInformation.

Layout information

Default value is ...see text or source.

sap.ui.mdc.actiontoolbar.ActionToolbarAction.getMetadata

Returns a metadata object for class sap.ui.mdc.actiontoolbar.ActionToolbarAction.

getOverflowToolbarConfig

Sets the behavior of the ActionToolbarAction inside an OverflowToolbar configuration.

setAction

Sets the aggregated action.

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

The action to set

setLayoutInformation

Sets a new value for property layoutInformation.

Layout information

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

Default value is ...see text or source.

Param Type DefaultValue Description
oLayoutInformation object ...see text or source

New value for property layoutInformation