Class HSLFComment

  • All Implemented Interfaces:
    Comment

    public final class HSLFComment
    extends Object
    implements Comment
    • Constructor Detail

      • HSLFComment

        public HSLFComment​(Comment2000 comment2000)
    • Method Detail

      • getAuthor

        public String getAuthor()
        Get the Author of this comment
        Specified by:
        getAuthor in interface Comment
      • setAuthor

        public void setAuthor​(String author)
        Set the Author of this comment
        Specified by:
        setAuthor in interface Comment
      • getAuthorInitials

        public String getAuthorInitials()
        Get the Author's Initials of this comment
        Specified by:
        getAuthorInitials in interface Comment
      • setAuthorInitials

        public void setAuthorInitials​(String initials)
        Set the Author's Initials of this comment
        Specified by:
        setAuthorInitials in interface Comment
      • getText

        public String getText()
        Get the text of this comment
        Specified by:
        getText in interface Comment
      • setText

        public void setText​(String text)
        Set the text of this comment
        Specified by:
        setText in interface Comment
      • getDate

        public Date getDate()
        Description copied from interface: Comment
        Gets the date the comment was made.
        Specified by:
        getDate in interface Comment
        Returns:
        the comment date.
      • setDate

        public void setDate​(Date date)
        Description copied from interface: Comment
        Sets the date the comment was made.
        Specified by:
        setDate in interface Comment
        Parameters:
        date - the comment date.
      • getOffset

        public Point2D getOffset()
        Description copied from interface: Comment
        Gets the offset of the comment on the page.
        Specified by:
        getOffset in interface Comment
        Returns:
        the offset.
      • setOffset

        public void setOffset​(Point2D offset)
        Description copied from interface: Comment
        Sets the offset of the comment on the page.
        Specified by:
        setOffset in interface Comment
        Parameters:
        offset - the offset.