Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Get the Author of this comment
(获取此评论的作者)
|
java.lang.String |
getAuthorInitials()
Get the Author's Initials of this comment
(获取此评论的作者姓名缩写)
|
java.util.Date |
getDate()
Gets the date the comment was made.
(获取发表评论的日期。)
|
java.awt.geom.Point2D |
getOffset()
Gets the offset of the comment on the page.
(获取页面上评论的偏移量。)
|
java.lang.String |
getText()
Get the text of this comment
(获取此评论的文本)
|
void |
setAuthor(java.lang.String author)
Set the Author of this comment.
(设置此评论的作者。)
|
void |
setAuthorInitials(java.lang.String initials)
Set the Author's Initials of this comment.
(设置此评论的作者姓名缩写。)
|
void |
setDate(java.util.Date date)
Sets the date the comment was made.
(设置发表评论的日期。)
|
void |
setOffset(java.awt.geom.Point2D offset)
Sets the offset of the comment on the page.
(设置评论在页面上的偏移量。)
|
void |
setText(java.lang.String text)
Set the text of this comment
(设置此评论的文本)
|
public java.lang.String getAuthor()
Comment
public void setAuthor(java.lang.String author)
Comment
public java.lang.String getAuthorInitials()
Comment
getAuthorInitials
in interface
Comment
(接口注释中的 getAuthorInitials)
public void setAuthorInitials(java.lang.String initials)
Comment
Comment.setAuthor(String)
this has no effect
(设置此评论的作者姓名缩写。如果作者之前没有通过 Comment.setAuthor(String) 注册,这没有效果)
setAuthorInitials
in interface
Comment
(接口注释中的 setAuthorInitials)
public java.lang.String getText()
Comment
public void setText(java.lang.String text)
Comment
public java.util.Date getDate()
Comment
public void setDate(java.util.Date date)
Comment
public java.awt.geom.Point2D getOffset()
Comment
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.