![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Comments
public class Comments
Encapsulates a collection of Comment objects.
Method Summary | |
---|---|
int |
add(int row,
int column)
Deprecated. replaced by Shapes.addComment(int, int) |
int |
add(java.lang.String cellName)
Deprecated. replaced by Shapes.addComment(String) |
void |
clear()
Clears all the comments in the worksheet. |
Comment |
get(int index)
Gets Comment object by index. |
Comment |
getComment(int row,
int column)
Gets the Comment for given cell position. |
int |
size()
Gets number of comments in the worksheet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int add(int row, int column)
Shapes.addComment(int, int)
row
- row index.column
- column index.
java.lang.IllegalArgumentException
- if row or column index is out of range.
CellsException
- if the comment collection has been removed from the worksheet.public int add(java.lang.String cellName)
Shapes.addComment(String)
cellName
- cell name.
java.lang.IllegalArgumentException
- if row or column index is out of range.
CellsException
- if the comment collection has been removed from the worksheet.public Comment get(int index)
index
- Comment object index.
java.lang.IllegalArgumentException
- if index is out of range.
CellsException
- if the comment collection has been removed from the worksheet.public int size()
CellsException
- if the comment collection has been removed from the worksheet.public void clear()
public Comment getComment(int row, int column)
row
- row index of cell.column
- column index of cell.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |