Class sap.ui.core.TitleModule: sap/ui/core/Title
Represents a title element that can be used for aggregation with other controls
Since: 1.16.0.
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
- text : string
- icon : sap.ui.core.URI
- level : sap.ui.core.TitleLevel (default: Auto)
- emphasized : boolean (default: false)
In addition, all settings applicable to the base type sap.ui.core.Element 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.ui.core.Element.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 |
emphasized
. If set the title is displayed emphasized. This feature is nor supported by all controls using the Title.control.
Default value is false
.
{boolean} | Value of property emphasized |
icon
. Defines the URL for icon display
{sap.ui.core.URI} | Value of property icon |
level
. Defines the level of the title. If set to auto the level of the title is chosen by the control rendering the title.
Currently not all controls using the Title.control supporting this property.
Default value is Auto
.
{sap.ui.core.TitleLevel} | Value of property level |
text
. Defines the title text
{string} | Value of property text |
emphasized
. If set the title is displayed emphasized. This feature is nor supported by all controls using the Title.control.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bEmphasized | New value for property emphasized |
{sap.ui.core.Title} | Reference to this in order to allow method chaining |
icon
. Defines the URL for icon display
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.URI} | sIcon | New value for property icon |
{sap.ui.core.Title} | Reference to this in order to allow method chaining |
level
. Defines the level of the title. If set to auto the level of the title is chosen by the control rendering the title.
Currently not all controls using the Title.control supporting this property.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Auto
.
{sap.ui.core.TitleLevel} | sLevel | New value for property level |
{sap.ui.core.Title} | Reference to this in order to allow method chaining |
text
. Defines the title text
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sText | New value for property text |
{sap.ui.core.Title} | Reference to this in order to allow method chaining |