IComment
public interface IComment
Represents a comment on a slide.
Methods
Method | Description |
---|---|
getText() | Returns or sets the plain text of a slide comment. |
setText(String value) | Returns or sets the plain text of a slide comment. |
getCreatedTime() | Returns or sets the time of a comment creation. |
setCreatedTime(Date value) | Returns or sets the time of a comment creation. |
getSlide() | Returns or sets the parent slide of a comment. |
getAuthor() | Returns the author of a comment. |
getPosition() | Returns or sets the position of a comment on a slide. |
setPosition(Point2D.Float value) | Returns or sets the position of a comment on a slide. |
remove() | Removes comment and all its replies from the parent collection. |
getParentComment() | Gets or sets parent comment. |
setParentComment(IComment value) | Gets or sets parent comment. |
getText()
public abstract String getText()
Returns or sets the plain text of a slide comment. Read/write String.
Returns: java.lang.String
setText(String value)
public abstract void setText(String value)
Returns or sets the plain text of a slide comment. Read/write String.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getCreatedTime()
public abstract Date getCreatedTime()
Returns or sets the time of a comment creation. Setting this property to java.util.Date(Long.MIN_VALUE) means no comment time is set. Read/write java.util.Date.
Comment time is an optional parameter.
Returns: java.util.Date
setCreatedTime(Date value)
public abstract void setCreatedTime(Date value)
Returns or sets the time of a comment creation. Setting this property to java.util.Date(Long.MIN_VALUE) means no comment time is set. Read/write java.util.Date.
Comment time is an optional parameter.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.Date |
getSlide()
public abstract ISlide getSlide()
Returns or sets the parent slide of a comment. Read-only ISlide.
Returns: ISlide
getAuthor()
public abstract ICommentAuthor getAuthor()
Returns the author of a comment. Read-only ICommentAuthor.
Returns: ICommentAuthor
getPosition()
public abstract Point2D.Float getPosition()
Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float.
Returns: java.awt.geom.Point2D.Float
setPosition(Point2D.Float value)
public abstract void setPosition(Point2D.Float value)
Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Point2D.Float |
remove()
public abstract void remove()
Removes comment and all its replies from the parent collection.
getParentComment()
public abstract IComment getParentComment()
Gets or sets parent comment. Read/write IComment.
Returns: IComment
setParentComment(IComment value)
public abstract void setParentComment(IComment value)
Gets or sets parent comment. Read/write IComment.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IComment |