Class sap.uiext.inbox.composite.InboxAttachmentTileModule: sap/uiext/inbox/composite/InboxAttachmentTile

extends Control

InboxAttachmentTile

Constructor Summary
new sap.uiext.inbox.composite.InboxAttachmentTile(sId?, mSettings?)Constructor for a new composite/InboxAttachmentTile.
Event Summary
deleteAttachment(oControlEvent)fire this event to delete the attachment
Events borrowed from class sap.ui.core.Control
Method Summary
sap.uiext.inbox.composite.InboxAttachmentTile.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.uiext.inbox.composite.InboxAttachmentTile with name sClassName and enriches it with the information contained in oClassInfo.
sap.uiext.inbox.composite.InboxAttachmentTile.getMetadata()Returns a metadata object for class sap.uiext.inbox.composite.InboxAttachmentTile.
attachDeleteAttachment(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'deleteAttachment' event of this sap.uiext.inbox.composite.InboxAttachmentTile.
detachDeleteAttachment(fnFunction, oListener)Detach event handler fnFunction from the 'deleteAttachment' event of this sap.uiext.inbox.composite.InboxAttachmentTile.
fireDeleteAttachment(mArguments?)Fire event deleteAttachment to attached listeners.
getCreatedBy()Getter for property createdBy.
getCreationDate()Getter for property creationDate.
getDownloadUrl()Getter for property downloadUrl.
getFileDescription()Getter for property fileDescription.
getFileName()Getter for property fileName.
getFileSize()Getter for property fileSize.
getFileTypeIcon()Getter for property fileTypeIcon.
getShowDeleteButton()Getter for property showDeleteButton.
setCreatedBy(sCreatedBy)Setter for property createdBy.
setCreationDate(sCreationDate)Setter for property creationDate.
setDownloadUrl(sDownloadUrl)Setter for property downloadUrl.
setFileDescription(sFileDescription)Setter for property fileDescription.
setFileName(sFileName)Setter for property fileName.
setFileSize(sFileSize)Setter for property fileSize.
setFileTypeIcon(sFileTypeIcon)Setter for property fileTypeIcon.
setShowDeleteButton(bShowDeleteButton)Setter for property showDeleteButton.
Constructor Detail
new sap.uiext.inbox.composite.InboxAttachmentTile(sId?, mSettings?)
Constructor for a new 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:

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Event Detail
deleteAttachment(oControlEvent)
fire this event to delete the attachment
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
Method Detail
sap.uiext.inbox.composite.InboxAttachmentTile.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.uiext.inbox.composite.InboxAttachmentTile with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of informations as described in Element.extend.

Parameters:
{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.
Returns:
{function} the created class / constructor function
sap.uiext.inbox.composite.InboxAttachmentTile.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.uiext.inbox.composite.InboxAttachmentTile.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
attachDeleteAttachment(oData?, fnFunction, oListener?): sap.uiext.inbox.composite.InboxAttachmentTile
Attach event handler 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

Parameters:
{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.
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
detachDeleteAttachment(fnFunction, oListener): sap.uiext.inbox.composite.InboxAttachmentTile
Detach event handler 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.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
fireDeleteAttachment(mArguments?): sap.uiext.inbox.composite.InboxAttachmentTile
Fire event deleteAttachment to attached listeners.
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
getCreatedBy(): string
Getter for property createdBy. name of the user who has uploaded attachment

Default value is empty/undefined

Returns:
{string} the value of property createdBy
getCreationDate(): string
Getter for property creationDate. creation date of the attachment

Default value is empty/undefined

Returns:
{string} the value of property creationDate
getDownloadUrl(): string
Getter for property downloadUrl. URL for attachment title link to download the attachment.

Default value is empty/undefined

Returns:
{string} the value of property downloadUrl
getFileDescription(): string
Getter for property fileDescription. description of the attachment

Default value is empty/undefined

Returns:
{string} the value of property fileDescription
getFileName(): string
Getter for property fileName. Name of the attachment

Default value is empty/undefined

Returns:
{string} the value of property fileName
getFileSize(): string
Getter for property fileSize. size of the attachment

Default value is empty/undefined

Returns:
{string} the value of property fileSize
getFileTypeIcon(): sap.ui.core.URI
Getter for property fileTypeIcon. Icon URI of the file type

Default value is empty/undefined

Returns:
{sap.ui.core.URI} the value of property fileTypeIcon
getShowDeleteButton(): boolean
Getter for property showDeleteButton. boolean value to indicate whether to show delete button

Default value is true

Returns:
{boolean} the value of property showDeleteButton
Setter for property createdBy.

Default value is empty/undefined

Parameters:
{string}sCreatedBy new value for property createdBy
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
setCreationDate(sCreationDate): sap.uiext.inbox.composite.InboxAttachmentTile
Setter for property creationDate.

Default value is empty/undefined

Parameters:
{string}sCreationDate new value for property creationDate
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
setDownloadUrl(sDownloadUrl): sap.uiext.inbox.composite.InboxAttachmentTile
Setter for property downloadUrl.

Default value is empty/undefined

Parameters:
{string}sDownloadUrl new value for property downloadUrl
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
setFileDescription(sFileDescription): sap.uiext.inbox.composite.InboxAttachmentTile
Setter for property fileDescription.

Default value is empty/undefined

Parameters:
{string}sFileDescription new value for property fileDescription
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
Setter for property fileName.

Default value is empty/undefined

Parameters:
{string}sFileName new value for property fileName
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
Setter for property fileSize.

Default value is empty/undefined

Parameters:
{string}sFileSize new value for property fileSize
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
setFileTypeIcon(sFileTypeIcon): sap.uiext.inbox.composite.InboxAttachmentTile
Setter for property fileTypeIcon.

Default value is empty/undefined

Parameters:
{sap.ui.core.URI}sFileTypeIcon new value for property fileTypeIcon
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining
setShowDeleteButton(bShowDeleteButton): sap.uiext.inbox.composite.InboxAttachmentTile
Setter for property showDeleteButton.

Default value is true

Parameters:
{boolean}bShowDeleteButton new value for property showDeleteButton
Returns:
{sap.uiext.inbox.composite.InboxAttachmentTile}this to allow method chaining