Example:
workbook = Workbook() comments = workbook.getWorksheets().get(0).getComments()
Property Getters/Setters Summary | ||
---|---|---|
method | getCount() | |
method | get(index) | |
Gets the |
||
method | get(row, column) | |
Gets the |
||
method | get(cellName) | |
Gets the |
Method Summary | ||
---|---|---|
method | add(row, column) | |
Adds a comment to the collection.
|
||
method | add(value) | |
Reserved for internal use. |
||
method | add(cellName) | |
Adds a comment to the collection.
|
||
method | addThreadedComment(row, column, text, author) | |
Adds a threaded comment.
|
||
method | addThreadedComment(cellName, text, author) | |
Adds a threaded comment.
|
||
method | clear() | |
Removes all comments;
|
||
method | contains(value) | |
Reserved for internal use. |
||
method | get(index) | |
Reserved for internal use. |
||
method | getThreadedComments(row, column) | |
Gets the threaded comments by row and column index.
|
||
method | getThreadedComments(cellName) | |
Gets the threaded comments by cell name.
|
||
method | indexOf(value) | |
Reserved for internal use. |
||
method | iterator() | |
method | removeAt(index) | |
method | removeAt(row, column) | |
Removes the comment of the specific cell.
|
||
method | removeAt(cellName) | |
Removes the comment of the specific cell.
|
int getCount()
Comment get(index)
index
- The zero based index of the element.Comment get(cellName)
cellName
- Cell name.Comment get(row, column)
row
- Row index.column
- Column index.int addThreadedComment(row, column, text, author)
row: int
- Cell row index.column: int
- Cell column index.text: String
- The text of the commentauthor: ThreadedCommentAuthor
- The user of this threaded comment.int addThreadedComment(cellName, text, author)
cellName: String
- The name of the cell.text: String
- The text of the commentauthor: ThreadedCommentAuthor
- The user of this threaded comment.ThreadedCommentCollection getThreadedComments(row, column)
row: int
- The row index.column: int
- The column index.ThreadedCommentCollection getThreadedComments(cellName)
cellName: String
- The name of the cell.int add(row, column)
row: int
- Cell row index.column: int
- Cell column index.int add(cellName)
cellName: String
- Cell name.removeAt(cellName)
cellName: String
- The name of cell which contains a comment.removeAt(row, column)
row: int
- The row index.column: int
- the column index.clear()
removeAt(index)
Iterator iterator()
Object get(index)
boolean contains(value)
int add(value)
int indexOf(value)