Represents a title element that can be used for aggregation with other controls
Constructor for a new Title.
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.
This class does not have its own settings, but all settings applicable to the base type sap.ui.core.Title can be used.
new sap.ui.commons.Title(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 |
Method | Description |
---|---|
sap.ui.commons.Title.extend |
Creates a new subclass of class sap.ui.commons.Title with name
|
getLevel |
Getter for property Currently not all controls using the Title.control supporting this property. Default value is |
sap.ui.commons.Title.getMetadata |
Returns a metadata object for class sap.ui.commons.Title. |
setLevel |
Setter for property Default value is |
Creates a new subclass of class sap.ui.commons.Title 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.Title.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 |
Getter for property 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
Setter for property level
.
Default value is Auto
Param | Type | DefaultValue | Description |
---|---|---|---|
oLevel | sap.ui.core.TitleLevel |
new value for property |