接口 ICommentThreaded
public interface ICommentThreaded
- 作者:
- EvenYuan
- 从以下版本开始:
- 8/5/2021
-
方法概要
修饰符和类型方法说明adds a reply to its replies collection if the threaded comment is a top-level comment.adds a reply to its replies collection if the threaded comment is a top-level comment.void
delete()
Deletes the specified threaded comment and all replies associated with that comment.Gets the author object of the threaded comment.getDate()
已过时。boolean
gets the resolve value.Returns a date that represents the date and time that a threaded comment was added in local time.Returns the parent object for the specified object.returns a CommentsThreaded collection of CommentThreaded objects that are replies if the specified comment.getText()
Gets the threaded comment's text.next()
Returns theICommentThreaded
object that represents the next threaded comment.Returns null if the top-level threaded comment is the last threaded comment on a sheet.previous()
Returns theICommentThreaded
object that represents the previous threaded comment.Returns null if the top-level threaded comment is the first threaded comment on a sheet.void
setIsResolved
(boolean value) Makes the threaded comment impossible to edit and reply.void
Sets the threaded comment's text.
-
方法详细资料
-
addReply
adds a reply to its replies collection if the threaded comment is a top-level comment. If this threaded comment is a reply,it will add a reply to its Parent's replies collection.- 参数:
text
- the string is content of the reply.
-
addReply
adds a reply to its replies collection if the threaded comment is a top-level comment. If this threaded comment is a reply,it will add a reply to its Parent's replies collection.- 参数:
text
- the string is content of the reply.
-
delete
void delete()Deletes the specified threaded comment and all replies associated with that comment. If threaded comment is a reply, delete itself from the parent's reply list. -
setIsResolved
void setIsResolved(boolean value) Makes the threaded comment impossible to edit and reply. -
getIsResolved
boolean getIsResolved()gets the resolve value. -
getText
String getText()Gets the threaded comment's text. -
setText
Sets the threaded comment's text. -
getReplies
ICommentsThreaded getReplies()returns a CommentsThreaded collection of CommentThreaded objects that are replies if the specified comment. The replies are sorted by time stamp. If this threaded comment is a reply,returns an empty collection. -
getAuthor
IAuthor getAuthor()Gets the author object of the threaded comment. -
getDate
已过时。This member is obsolete. Use
Returns a date that represents the date and time that a threaded comment was added in local time.getLocalDateTime()
instead. -
getLocalDateTime
LocalDateTime getLocalDateTime()Returns a date that represents the date and time that a threaded comment was added in local time. -
next
ICommentThreaded next()Returns theICommentThreaded
object that represents the next threaded comment.Returns null if the top-level threaded comment is the last threaded comment on a sheet. Returns null if the reply threaded comment is the last reply of a threaded comment's replies. -
previous
ICommentThreaded previous()Returns theICommentThreaded
object that represents the previous threaded comment.Returns null if the top-level threaded comment is the first threaded comment on a sheet. Returns null if the reply threaded comment is the first reply of a threaded comment's replies. -
getParent
ICommentThreaded getParent()Returns the parent object for the specified object. The top-level threaded comment's parent is null.
-