Constructor for a new Preview
that show a image, abstract live preview
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.integration.designtime.editor.CardPreview()
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
cardPreview | 0..1 | sap.ui.core.Control |
Method | Description |
---|---|
sap.ui.integration.designtime.editor.CardPreview.extend |
Creates a new subclass of class sap.ui.integration.designtime.editor.CardPreview with name
|
getCard |
Gets current value of property card. |
sap.ui.integration.designtime.editor.CardPreview.getMetadata |
Returns a metadata object for class sap.ui.integration.designtime.editor.CardPreview. |
getSettings |
Gets current value of property settings. |
setCard |
Sets a new value for property card. When called with a value of |
setSettings |
Sets a new value for property settings. When called with a value of |
Creates a new subclass of class sap.ui.integration.designtime.editor.CardPreview 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 |
Returns a metadata object for class sap.ui.integration.designtime.editor.CardPreview.
Sets a new value for property card.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCard | object |
New value for property |
Sets a new value for property settings.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
oSettings | any |
New value for property |