Class sap.uiext.inbox.composite.InboxAttachmentTileModule: sap/uiext/inbox/composite/InboxAttachmentTile
InboxAttachmentTile
sClassName and enriches it with the information contained in oClassInfo.fnFunction to the 'deleteAttachment' event of this sap.uiext.inbox.composite.InboxAttachmentTile.fnFunction from the 'deleteAttachment' event of this sap.uiext.inbox.composite.InboxAttachmentTile. 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
- fileName : string
- fileSize : string
- fileDescription : string
- fileTypeIcon : sap.ui.core.URI
- creationDate : string
- downloadUrl : string
- createdBy : string
- showDeleteButton : boolean (default: true)
- Aggregations
- Associations
- Events
- deleteAttachment : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
| {string} | sId? | id for the new control, generated automatically if no id is given |
| {object} | mSettings? | initial settings for the new control |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters |
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 |
fnFunction to the 'deleteAttachment' event of this sap.uiext.inbox.composite.InboxAttachmentTile.. When called, the context of the event handler (its
this) will be bound to oListener if specified otherwise to this sap.uiext.inbox.composite.InboxAttachmentTile.
itself. fire this event to delete the attachment
| {object} | oData? | An application specific payload object, that will be passed to the event handler along with the event object when firing the event. |
| {function} | fnFunction | The function to call, when the event occurs. |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.uiext.inbox.composite.InboxAttachmentTile.itself. |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
fnFunction from the 'deleteAttachment' event of this sap.uiext.inbox.composite.InboxAttachmentTile.The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to call, when the event occurs. |
| {object} | oListener | Context object on which the given function had to be called. |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
| {Map} | mArguments? | the arguments to pass along with the event. |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
createdBy. name of the user who has uploaded attachment Default value is empty/undefined
| {string} | the value of property createdBy |
creationDate. creation date of the attachment Default value is empty/undefined
| {string} | the value of property creationDate |
downloadUrl. URL for attachment title link to download the attachment. Default value is empty/undefined
| {string} | the value of property downloadUrl |
fileDescription. description of the attachment Default value is empty/undefined
| {string} | the value of property fileDescription |
fileName. Name of the attachment Default value is empty/undefined
| {string} | the value of property fileName |
fileSize. size of the attachment Default value is empty/undefined
| {string} | the value of property fileSize |
fileTypeIcon. Icon URI of the file type Default value is empty/undefined
| {sap.ui.core.URI} | the value of property fileTypeIcon |
showDeleteButton. boolean value to indicate whether to show delete button Default value is true
| {boolean} | the value of property showDeleteButton |
createdBy. Default value is empty/undefined
| {string} | sCreatedBy | new value for property createdBy |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
creationDate. Default value is empty/undefined
| {string} | sCreationDate | new value for property creationDate |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
downloadUrl. Default value is empty/undefined
| {string} | sDownloadUrl | new value for property downloadUrl |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
fileDescription. Default value is empty/undefined
| {string} | sFileDescription | new value for property fileDescription |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
fileName. Default value is empty/undefined
| {string} | sFileName | new value for property fileName |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
fileSize. Default value is empty/undefined
| {string} | sFileSize | new value for property fileSize |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
fileTypeIcon. Default value is empty/undefined
| {sap.ui.core.URI} | sFileTypeIcon | new value for property fileTypeIcon |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |
showDeleteButton. Default value is true
| {boolean} | bShowDeleteButton | new value for property showDeleteButton |
| {sap.uiext.inbox.composite.InboxAttachmentTile} | this to allow method chaining |