| |
|
| java.lang.Object org.apache.poi.hssf.usermodel.HSSFShape org.apache.poi.hssf.usermodel.HSSFSimpleShape org.apache.poi.hssf.usermodel.HSSFTextbox org.apache.poi.hssf.usermodel.HSSFComment
HSSFComment | public class HSSFComment extends HSSFTextbox (Code) | | Represents a cell comment - a sticky note associated with a cell.
author: Yegor Kozlov |
HSSFComment | public HSSFComment(HSSFShape parent, HSSFAnchor anchor)(Code) | | Construct a new comment with the given parent and anchor.
Parameters: parent - Parameters: anchor - defines position of this anchor in the sheet |
getAuthor | public String getAuthor()(Code) | | Name of the original comment author
the name of the original author of the comment |
getColumn | public short getColumn()(Code) | | Return the column of the cell that contains the comment
the 0-based column of the cell that contains the comment |
getRow | public int getRow()(Code) | | Return the row of the cell that contains the comment
the 0-based row of the cell that contains the comment |
isVisible | public boolean isVisible()(Code) | | Sets whether this comment is visible.
true if the comment is visible, false otherwise |
setAuthor | public void setAuthor(String author)(Code) | | Name of the original comment author
Parameters: author - the name of the original author of the comment |
setColumn | public void setColumn(short col)(Code) | | Set the column of the cell that contains the comment
Parameters: col - the 0-based column of the cell that contains the comment |
setRow | public void setRow(int row)(Code) | | Set the row of the cell that contains the comment
Parameters: row - the 0-based row of the cell that contains the comment |
setString | public void setString(HSSFRichTextString string)(Code) | | Sets the rich text string used by this comment.
Parameters: string - Sets the rich text string used by this object. |
setVisible | public void setVisible(boolean visible)(Code) | | Returns whether this comment is visible.
Parameters: visible - true if the comment is visible, false otherwise |
Methods inherited from org.apache.poi.hssf.usermodel.HSSFSimpleShape | public int getShapeType()(Code)(Java Doc) public void setShapeType(int shapeType)(Code)(Java Doc)
|
|
|
|