public class GridCommentCollection
extends java.lang.Object
GridComment objects.| Modifier and Type | Method and Description |
|---|---|
int |
add(int row,
int column)
Adds a comment to the collection.
|
int |
add(java.lang.String cellName)
Adds a comment to the collection.
|
void |
clear()
Removes all comments;
|
GridComment |
get(int index)
Gets the
GridComment element at the specified index. |
GridComment |
get(int row,
int column)
Gets the
GridComment element at the specified row index and column index. |
GridComment |
get(java.lang.String cellName)
Gets the
GridComment element at the specified cell. |
int |
getCount()
Gets the size of enumerator
|
java.util.Iterator |
iterator()
Gets the rows enumerator
|
void |
removeAt(int row,
int column)
Removes the comment of the specific cell.
|
void |
removeAt(java.lang.String cellName)
Removes the comment of the specific cell.
|
public GridComment get(int index)
GridComment element at the specified index.index - The zero based index of the element.public GridComment get(java.lang.String cellName)
GridComment element at the specified cell.cellName - Cell name.public GridComment get(int row, int column)
GridComment element at the specified row index and column index.row - Row index.column - Column index.public int getCount()
public java.util.Iterator iterator()
public int add(int row,
int column)
row - Cell row index.column - Cell column index.GridComment object index.public int add(java.lang.String cellName)
cellName - Cell name.GridComment object index.public void removeAt(java.lang.String cellName)
cellName - The name of cell which contains a comment.public void removeAt(int row,
int column)
row - The row index.column - the column index.public void clear()
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.