Class sap.uxap.ObjectPageHeaderActionButtonModule: sap/uxap/ObjectPageHeaderActionButton
Button that can be used in the ObjectPageHeader action aggregation.
Since: 1.26.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- hideText : boolean (default: true)
- hideIcon : boolean (default: false)
- importance : sap.uxap.Importance (default: library.Importance.High)
In addition, all settings applicable to the base type sap.m.Button can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.m.Button.extend.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
hideIcon
. Hide the button icon when rendered into the headerTitle part of the ObjectPageLayout. This is useful if you want to display texts only in the headerTitle part but still want to display text + icon in the actionSheet that appears when not enough space is available on the screen for displaying all actions.
Default value is false
.
{boolean} | Value of property hideIcon |
hideText
. Hide the button text when rendered into the headerTitle part of the ObjectPageLayout. This is useful if you want to display icons only in the headerTitle part but still want to display text + icon in the actionSheet that appears when not enough space is available on the screen for displaying all actions.
Default value is true
.
{boolean} | Value of property hideText |
importance
. Determines the order in which the button overflows.
Default value is library.Importance.High
.
- Since:
- 1.34.0
{sap.uxap.Importance} | Value of property importance |
hideIcon
. Hide the button icon when rendered into the headerTitle part of the ObjectPageLayout. This is useful if you want to display texts only in the headerTitle part but still want to display text + icon in the actionSheet that appears when not enough space is available on the screen for displaying all actions.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bHideIcon | New value for property hideIcon |
{sap.uxap.ObjectPageHeaderActionButton} | Reference to this in order to allow method chaining |
hideText
. Hide the button text when rendered into the headerTitle part of the ObjectPageLayout. This is useful if you want to display icons only in the headerTitle part but still want to display text + icon in the actionSheet that appears when not enough space is available on the screen for displaying all actions.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bHideText | New value for property hideText |
{sap.uxap.ObjectPageHeaderActionButton} | Reference to this in order to allow method chaining |
importance
. Determines the order in which the button overflows.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is library.Importance.High
.
{sap.uxap.Importance} | sImportance | New value for property importance |
- Since:
- 1.34.0
{sap.uxap.ObjectPageHeaderActionButton} | Reference to this in order to allow method chaining |