Class Comment.AddCommentBuilder

  • Enclosing class:
    Comment

    public static class Comment.AddCommentBuilder
    extends java.lang.Object
    A convenience class to generate a comment with the appropriate fields for adding it to a sheet.
    • Constructor Detail

      • AddCommentBuilder

        public AddCommentBuilder()
    • Method Detail

      • setText

        public Comment.AddCommentBuilder setText​(java.lang.String text)
        The text for the comment.
        Parameters:
        text - the text
        Returns:
        the adds the comment builder
      • getText

        public java.lang.String getText()
        Gets the text for the comment.
        Returns:
        the text
      • build

        public Comment build()
        Builds the comment.
        Returns:
        the comment