Class sap.uiext.inbox.composite.InboxTaskCommentsModule: sap/uiext/inbox/composite/InboxTaskComments
InboxTaskComments
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the 'commentSubmit' event of this sap.uiext.inbox.composite.InboxTaskComments
.fnFunction
from the 'commentSubmit' event of this sap.uiext.inbox.composite.InboxTaskComments
.sap.uiext.inbox.composite.InboxComment
in the aggregation named comments
and returns its index if found or -1 otherwise. 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
- feederSender : string
- feederThumbnailSrc : sap.ui.core.URI
- showFeeder : boolean (default: true)
- showHeader : boolean (default: false)
- Aggregations
- comments : sap.uiext.inbox.composite.InboxComment[]
- Associations
- Events
- commentSubmit : 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 |
oComment
to the aggregation named comments
. {sap.uiext.inbox.composite.InboxComment} | oComment | the comment to add; if empty, nothing is inserted |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
fnFunction
to the 'commentSubmit' event of this sap.uiext.inbox.composite.InboxTaskComments
.. When called, the context of the event handler (its
this
) will be bound to oListener if specified otherwise to this sap.uiext.inbox.composite.InboxTaskComments
.
itself. Event is raised when submit on the feeder is pressed.
{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.InboxTaskComments .itself. |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
comments
. {sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
fnFunction
from the 'commentSubmit' event of this sap.uiext.inbox.composite.InboxTaskComments
.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.InboxTaskComments} | this to allow method chaining |
{Map} | mArguments? | the arguments to pass along with the event. |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
comments
.URL to the thumbnail image.
{sap.uiext.inbox.composite.InboxComment[]} |
feederSender
. Sender for the comment feeder Default value is empty/undefined
{string} | the value of property feederSender |
feederThumbnailSrc
. URL to the thumbnail image for the comment feeder. Default value is empty/undefined
{sap.ui.core.URI} | the value of property feederThumbnailSrc |
showFeeder
. Boolean value for visibilty of comment feeder Default value is true
{boolean} | the value of property showFeeder |
showHeader
. Boolean value for visibility of header Default value is false
{boolean} | the value of property showHeader |
sap.uiext.inbox.composite.InboxComment
in the aggregation named comments
and returns its index if found or -1 otherwise. {sap.uiext.inbox.composite.InboxComment} | oComment | the comment whose index is looked for. |
{int} | the index of the provided control in the aggregation if found, or -1 otherwise |
comments
. {sap.uiext.inbox.composite.InboxComment} | oComment | the comment to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the comment should be inserted at; for a negative value of iIndex , the comment is inserted at position 0; for a value greater than the current size of the aggregation, the comment is inserted at the last position |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
comments
.Additionally unregisters them from the hosting UIArea.
{sap.uiext.inbox.composite.InboxComment[]} | an array of the removed elements (might be empty) |
comments
. {int|string|sap.uiext.inbox.composite.InboxComment} | vComment | the comment to remove or its index or id |
{sap.uiext.inbox.composite.InboxComment} | the removed comment or null |
feederSender
. Default value is empty/undefined
{string} | sFeederSender | new value for property feederSender |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
feederThumbnailSrc
. Default value is empty/undefined
{sap.ui.core.URI} | sFeederThumbnailSrc | new value for property feederThumbnailSrc |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
showFeeder
. Default value is true
{boolean} | bShowFeeder | new value for property showFeeder |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |
showHeader
. Default value is false
{boolean} | bShowHeader | new value for property showHeader |
{sap.uiext.inbox.composite.InboxTaskComments} | this to allow method chaining |