Class sap.suite.ui.commons.BusinessCardModule: sap/suite/ui/commons/BusinessCard
This control allows you to display business card information including an image, first title (either URL link or text), second title, and multiple text lines.
Deprecated API:Since version 1.32. Deprecated. Standard Fiori technology should be used.
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.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- type : string
- iconPath : sap.ui.core.URI
- secondTitle : string
- width : sap.ui.core.CSSSize
- imageTooltip : string
- Aggregations
- content : sap.ui.core.Control
- firstTitle : sap.ui.core.Control
- Associations
- Events
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.32. Deprecated. Standard Fiori technology should be used.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
content
. {sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
firstTitle
. {sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
content
.The content of the BusinessCard body must be provided by the application developer.
{sap.ui.core.Control} |
firstTitle
.Any control that can display a title. Content of this control appears at the first position in BusinessCard. Recomended controls: sap.ui.commons.Label and sap.ui.commons.Link.
{sap.ui.core.Control} |
iconPath
. A path to the BusinessCard icon. Default value is empty/undefined
{sap.ui.core.URI} | the value of property iconPath |
imageTooltip
. A tooltip that is set for an image. Default value is empty/undefined
{string} | the value of property imageTooltip |
secondTitle
. A short text line that describes this BusinessCard. Default value is empty/undefined
{string} | the value of property secondTitle |
type
. Title of the BusinessCard that describes its type. Default value is empty/undefined
{string} | the value of property type |
width
. Width of the BusinessCard. Alternatively, CSS size can be set in %, px, or em. Default value is empty/undefined
{sap.ui.core.CSSSize} | the value of property width |
content
. {sap.ui.core.Control} | oContent |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
firstTitle
. {sap.ui.core.Control} | oFirstTitle |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
iconPath
. Default value is empty/undefined
{sap.ui.core.URI} | sIconPath | new value for property iconPath |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
imageTooltip
. Default value is empty/undefined
{string} | sImageTooltip | new value for property imageTooltip |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
secondTitle
. Default value is empty/undefined
{string} | sSecondTitle | new value for property secondTitle |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
type
. Default value is empty/undefined
{string} | sType | new value for property type |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |
width
. Default value is empty/undefined
{sap.ui.core.CSSSize} | sWidth | new value for property width |
{sap.suite.ui.commons.BusinessCard} | this to allow method chaining |