class sap.ui.vk.RedlineElementComment

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/RedlineElementComment
Application Component: CA-UI5-VTK

Provides a control for creating RedlineElementComments.


Constructor

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()

Properties

Name Type Default Value Description
createTimestamp int Visibility: public
createdByUser any empty string Visibility: public
text string empty string Visibility: public

Methods Overview

Method Description
sap.ui.vk.RedlineElementComment.extend

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.

getCreatedByUser

Gets current value of property createdByUser.

Default value is empty string.

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 empty string.

setCreatedByUser

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.

setCreateTimestamp

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.

setText

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.

sap.ui.vk.RedlineElementComment.extend

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

getCreatedByUser

Gets current value of property createdByUser.

Default value is empty string.

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 empty string.

setCreatedByUser

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 createdByUser

setCreateTimestamp

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 createTimestamp

setText

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 text