Provides a base class control for RedlineConversations.
Constructor for a new RedlineConversation.
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.vk.RedlineConversation()
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
comments | 0..n | sap.ui.vk.RedlineElementComment |
Method | Description |
---|---|
addComment |
Adds some comment to the aggregation comments. |
destroyComments |
Destroys all the comments in the aggregation comments. |
sap.ui.vk.RedlineConversation.extend |
Creates a new subclass of class sap.ui.vk.RedlineConversation with name
|
getAnimationOffset |
Gets current value of property animationOffset. Default value is |
getComments |
Gets content of aggregation comments. |
getConversationName |
Gets current value of property conversationName. |
sap.ui.vk.RedlineConversation.getMetadata |
Returns a metadata object for class sap.ui.vk.RedlineConversation. |
getTimestamp |
Gets current value of property timestamp. |
getViewId |
Gets current value of property viewId. Default value is |
getViewInfo |
Gets current value of property viewInfo. |
indexOfComment |
Checks for the provided |
insertComment |
Inserts a comment into the aggregation comments. |
removeAllComments |
Removes all the controls from the aggregation comments. Additionally, it unregisters them from the hosting UIArea. |
removeComment |
Removes a comment from the aggregation comments. |
setAnimationOffset |
Sets a new value for property animationOffset. When called with a value of Default value is |
setConversationName |
Sets a new value for property conversationName. When called with a value of |
setTimestamp |
Sets a new value for property timestamp. When called with a value of |
setViewId |
Sets a new value for property viewId. When called with a value of Default value is |
setViewInfo |
Sets a new value for property viewInfo. When called with a value of |
Adds some comment to the aggregation comments.
Param | Type | DefaultValue | Description |
---|---|---|---|
oComment | sap.ui.vk.RedlineElementComment |
The comment to add; if empty, nothing is inserted |
Creates a new subclass of class sap.ui.vk.RedlineConversation 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.Element.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.vk.RedlineConversation.
Checks for the provided sap.ui.vk.RedlineElementComment
in the aggregation comments. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oComment | sap.ui.vk.RedlineElementComment |
The comment whose index is looked for |
Inserts a comment into the aggregation comments.
Param | Type | DefaultValue | Description |
---|---|---|---|
oComment | sap.ui.vk.RedlineElementComment |
The comment to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation comments.
Additionally, it unregisters them from the hosting UIArea.
Removes a comment from the aggregation comments.
Param | Type | DefaultValue | Description |
---|---|---|---|
vComment | int string sap.ui.vk.RedlineElementComment |
The comment to remove or its index or id |
Sets a new value for property animationOffset.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
fAnimationOffset | float | 0 |
New value for property |
Sets a new value for property conversationName.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sConversationName | string |
New value for property |
Sets a new value for property timestamp.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
iTimestamp | int |
New value for property |
Sets a new value for property viewId.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sViewId | string | "" |
New value for property |
Sets a new value for property viewInfo.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
oViewInfo | any |
New value for property |