The action for an ActionToolbar) control
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 |
Default Aggregation: action
Name | Cardinality | Type | Description |
---|---|---|---|
action (default) | 0..1 | sap.ui.core.Control |
Action |
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
|
getAction |
Gets content of aggregation action. Action |
getLayoutInformation |
Gets current value of property layoutInformation. Layout information Default value is |
sap.ui.mdc.actiontoolbar.ActionToolbarAction.getMetadata |
Returns a metadata object for class sap.ui.mdc.actiontoolbar.ActionToolbarAction. |
getOverflowToolbarConfig |
Sets the behavior of the |
setAction |
Sets the aggregated action. |
setLayoutInformation |
Sets a new value for property layoutInformation. Layout information When called with a value of Default value is |
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 |
Gets current value of property layoutInformation.
Layout information
Default value is ...see text or source
.
Returns a metadata object for class sap.ui.mdc.actiontoolbar.ActionToolbarAction.
Sets the behavior of the ActionToolbarAction
inside an OverflowToolbar
configuration.
Sets the aggregated action.
Param | Type | DefaultValue | Description |
---|---|---|---|
oAction | sap.ui.core.Control |
The action to set |
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 |