Provides a control for creating RedlineElementComments.
Redline element control for comment.
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.RedlineElementComment()
Method | Description |
---|---|
sap.ui.vk.RedlineElementComment.extend |
Creates a new subclass of class sap.ui.vk.RedlineElementComment with name
|
getCreatedByUser |
Gets current value of property createdByUser. Default value is |
getCreateTimestamp |
Gets current value of property createTimestamp. |
sap.ui.vk.RedlineElementComment.getMetadata |
Returns a metadata object for class sap.ui.vk.RedlineElementComment. |
getText |
Gets current value of property text. Default value is |
setCreatedByUser |
Sets a new value for property createdByUser. When called with a value of Default value is |
setCreateTimestamp |
Sets a new value for property createTimestamp. When called with a value of |
setText |
Sets a new value for property text. When called with a value of Default value is |
Creates a new subclass of class sap.ui.vk.RedlineElementComment 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.RedlineElementComment.
Sets a new value for property createdByUser.
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 |
---|---|---|---|
oCreatedByUser | any | "" |
New value for property |
Sets a new value for property createTimestamp.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
iCreateTimestamp | int |
New value for property |
Sets a new value for property text.
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 |
---|---|---|---|
sText | string | "" |
New value for property |