| Modifier and Type | Method and Description |
|---|---|
| public CellAddress | Returns: comment cell addressGet the address of the cell that this comment is attached to |
| public String | Returns: the name of the original author of the commentName of the original comment author |
| public ClientAnchor | Returns: defined position of this anchor in the sheet, can be nullReturn defined position of this anchor in the sheet. |
| public int | Returns: the 0-based column of the cell that contains the commentReturn the column of the cell that contains the comment |
| public int | Returns: the 0-based row of the cell that contains the commentReturn the row of the cell that contains the comment |
| public RichTextString | |
| public boolean | Returns: true if the comment is visible, false otherwiseReturns whether this comment is visible. |
| public void | |
| public void | |
| public void | |
| public void | setColumn(int
the 0-based column of the cell that contains the comment col)Set the column of the cell that contains the comment |
| public void | setRow(int
the 0-based row of the cell that contains the comment row)Set the row of the cell that contains the comment |
| public void | setString(RichTextString
Sets the rich text string used by this object. string)Sets the rich text string used by this comment. |
| public void | setVisible(boolean
true if the comment is visible, false otherwiseSets whether this comment is visible. |
| getAddress | back to summary |
|---|---|
| public CellAddress getAddress() Get the address of the cell that this comment is attached to
| |
| getAuthor | back to summary |
|---|---|
| public String getAuthor() Name of the original comment author
| |
| getClientAnchor | back to summary |
|---|---|
| public ClientAnchor getClientAnchor() Return defined position of this anchor in the sheet.
The anchor is the yellow box/balloon that is rendered on top of the sheets
when the comment is visible.
To associate a comment with a different cell, use
| |
| getColumn | back to summary |
|---|---|
| public int getColumn() Return the column of the cell that contains the comment
| |
| getRow | back to summary |
|---|---|
| public int getRow() Return the row of the cell that contains the comment
| |
| getString | back to summary |
|---|---|
| public RichTextString getString() Fetches the rich text string of the comment | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() Returns whether this comment is visible.
| |
| setAddress | back to summary |
|---|---|
| public void setAddress(CellAddress addr) Set the address of the cell that this comment is attached to
| |
| setAddress | back to summary |
|---|---|
| public void setAddress(int row, int col) Set the address of the cell that this comment is attached to
| |
| setAuthor | back to summary |
|---|---|
| public void setAuthor(String author) Name of the original comment author
| |
| setColumn | back to summary |
|---|---|
| public void setColumn(int col) Set the column of the cell that contains the comment
| |
| setRow | back to summary |
|---|---|
| public void setRow(int row) Set the row of the cell that contains the comment
| |
| setString | back to summary |
|---|---|
| public void setString(RichTextString string) Sets the rich text string used by this comment.
| |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean visible) Sets whether this comment is visible.
| |