org.apache.poi.ss.usermodel
Interface Comment
-
- All Known Implementing Classes:
- HSSFComment, XSSFComment
public interface Comment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetAuthor()Name of the original comment authorClientAnchorgetClientAnchor()Return defines position of this anchor in the sheet.intgetColumn()Return the column of the cell that contains the commentintgetRow()Return the row of the cell that contains the commentRichTextStringgetString()Fetches the rich text string of the commentbooleanisVisible()Sets whether this comment is visible.voidsetAuthor(java.lang.String author)Name of the original comment authorvoidsetColumn(int col)Set the column of the cell that contains the commentvoidsetRow(int row)Set the row of the cell that contains the commentvoidsetString(RichTextString string)Sets the rich text string used by this comment.voidsetVisible(boolean visible)Returns whether this comment is visible.
-
-
-
Method Detail
-
setVisible
void setVisible(boolean visible)
Returns whether this comment is visible.- Parameters:
visible-trueif the comment is visible,falseotherwise
-
isVisible
boolean isVisible()
Sets whether this comment is visible.- Returns:
trueif the comment is visible,falseotherwise
-
getRow
int getRow()
Return the row of the cell that contains the comment- Returns:
- the 0-based row of the cell that contains the comment
-
setRow
void setRow(int row)
Set the row of the cell that contains the comment- Parameters:
row- the 0-based row of the cell that contains the comment
-
getColumn
int getColumn()
Return the column of the cell that contains the comment- Returns:
- the 0-based column of the cell that contains the comment
-
setColumn
void setColumn(int col)
Set the column of the cell that contains the comment- Parameters:
col- the 0-based column of the cell that contains the comment
-
getAuthor
java.lang.String getAuthor()
Name of the original comment author- Returns:
- the name of the original author of the comment
-
setAuthor
void setAuthor(java.lang.String author)
Name of the original comment author- Parameters:
author- the name of the original author of the comment
-
getString
RichTextString getString()
Fetches the rich text string of the comment
-
setString
void setString(RichTextString string)
Sets the rich text string used by this comment.- Parameters:
string- Sets the rich text string used by this object.
-
getClientAnchor
ClientAnchor getClientAnchor()
Return defines position of this anchor in the sheet.- Returns:
- defines position of this anchor in the sheet
-
-
DataMelt 3.0 © DataMelt by jWork.ORG