GridCommentCollection

Inheritance: java.lang.Object

public class GridCommentCollection

Encapsulates a collection of GridComment objects.

Methods

MethodDescription
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:

ParameterTypeDescription
rowintCell row index.
columnintCell column index.

Returns: int - GridComment object index.

add(String cellName)

public int add(String cellName)

Adds a comment to the collection.

Parameters:

ParameterTypeDescription
cellNamejava.lang.StringCell name.

Returns: int - GridComment object index.

clear()

public void clear()

Removes all comments;

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public GridComment get(int index)

Gets the GridComment element at the specified index.

Parameters:

ParameterTypeDescription
indexintThe 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:

ParameterTypeDescription
rowintRow index.
columnintColumn 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:

ParameterTypeDescription
cellNamejava.lang.StringCell 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:

ParameterTypeDescription
rowintThe row index.
columnintthe column index.

removeAt(String cellName)

public void removeAt(String cellName)

Removes the comment of the specific cell.

Parameters:

ParameterTypeDescription
cellNamejava.lang.StringThe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int