GridCommentCollection
Inheritance: java.lang.Object
public class GridCommentCollection
Encapsulates a collection of GridComment objects.
Methods
Method | Description |
---|---|
add(int row, int column) | Adds a comment to the collection. |
add(String cellName) | Adds a comment to the collection. |
clear() | Removes all comments; |
equals(Object arg0) | |
get(int index) | Gets the GridComment element at the specified index. |
get(int row, int column) | Gets the GridComment element at the specified row index and column index. |
get(String cellName) | Gets the GridComment element at the specified cell. |
getClass() | |
getCount() | Gets the size of enumerator |
hashCode() | |
iterator() | Gets the rows enumerator |
notify() | |
notifyAll() | |
removeAt(int row, int column) | Removes the comment of the specific cell. |
removeAt(String cellName) | Removes the comment of the specific cell. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
add(int row, int column)
public int add(int row, int column)
Adds a comment to the collection.
Parameters:
Parameter | Type | Description |
---|---|---|
row | int | Cell row index. |
column | int | Cell column index. |
Returns: int - GridComment object index.
add(String cellName)
public int add(String cellName)
Adds a comment to the collection.
Parameters:
Parameter | Type | Description |
---|---|---|
cellName | java.lang.String | Cell name. |
Returns: int - GridComment object index.
clear()
public void clear()
Removes all comments;
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
get(int index)
public GridComment get(int index)
Gets the GridComment element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The zero based index of the element. |
Returns: GridComment - The element at the specified index.
get(int row, int column)
public GridComment get(int row, int column)
Gets the GridComment element at the specified row index and column index.
Parameters:
Parameter | Type | Description |
---|---|---|
row | int | Row index. |
column | int | Column index. |
Returns: GridComment - The element at the specified cell.
get(String cellName)
public GridComment get(String cellName)
Gets the GridComment element at the specified cell.
Parameters:
Parameter | Type | Description |
---|---|---|
cellName | java.lang.String | Cell name. |
Returns: GridComment - The element at the specified cell.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public int getCount()
Gets the size of enumerator
Returns: int
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator iterator()
Gets the rows enumerator
Returns: java.util.Iterator - The rows enumerator
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeAt(int row, int column)
public void removeAt(int row, int column)
Removes the comment of the specific cell.
Parameters:
Parameter | Type | Description |
---|---|---|
row | int | The row index. |
column | int | the column index. |
removeAt(String cellName)
public void removeAt(String cellName)
Removes the comment of the specific cell.
Parameters:
Parameter | Type | Description |
---|---|---|
cellName | java.lang.String | The name of cell which contains a comment. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |