public interface Comment
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
(设置此评论的文本)
|
java.lang.String getAuthor()
void setAuthor(java.lang.String author)
java.lang.String getAuthorInitials()
void setAuthorInitials(java.lang.String initials)
setAuthor(String)
this has no effect
(设置此评论的作者姓名缩写。如果作者之前没有通过 setAuthor(String) 注册,则无效)
java.lang.String getText()
void setText(java.lang.String text)
java.util.Date getDate()
void setDate(java.util.Date date)
date
- the comment date.
(日期 - 评论日期。)
java.awt.geom.Point2D getOffset()
void setOffset(java.awt.geom.Point2D offset)
offset
- the offset.
(offset - 偏移量。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.