Comment
Overview
Comment is a class in Aspose.Cells FOSS for Java.
Represents a cell comment (note).
This class provides 12 methods for working with Comment objects in Java programs.
Available methods include: getAuthor, getColumn, getHeight, getNote, getRow, getWidth, isVisible, setAuthor, setHeight, setNote, setVisible, setWidth.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: author, column, height, note, row, visible, and 1 more.
Description
Comment is a class in the Aspose.Cells FOSS library for Java that exposes 12 methods and 7 properties for programmatic use.
Core capabilities include: string; string; boolean. These operations enable developers to integrate comment functionality directly into Java applications.
The class also provides the row property (zero-based row index of the cell this comment is anchored to), the column property (zero-based column index of the cell this comment is anchored to), the author property (gets the author).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
row | int | Read | Zero-based row index of the cell this comment is anchored to. |
column | int | Read | Zero-based column index of the cell this comment is anchored to. |
author | String | Read | Gets the author. |
note | String | Read | Gets the note. |
visible | boolean | Read | Gets the visible. |
width | int | Read | Comment box width in pixels (minimum 1). |
height | int | Read | Comment box height in pixels (minimum 1). |
Methods
| Signature | Description |
|---|---|
getRow() → int | Zero-based row index of the cell this comment is anchored to. |
getColumn() → int | Zero-based column index of the cell this comment is anchored to. |
getAuthor() → String | Returns the author. |
setAuthor(author: String) | Sets the author value. |
getNote() → String | Returns the note. |
setNote(note: String) | Sets the note value. |
isVisible() → boolean | Returns true if visible is set. |
setVisible(visible: boolean) | Sets the visible value. |
getWidth() → int | Comment box width in pixels (minimum 1). |
setWidth(width: int) | Sets the width value. |
getHeight() → int | Comment box height in pixels (minimum 1). |
setHeight(height: int) | Sets the height value. |