ColumnCollection

ColumnCollection class

Represents collection of columns in a table.

addClone

NameDescription
addClone (Column, boolean)Creates a copy of the specified template row and inserts it at the bottom of a table.

Parameters:

NameTypeDescription
templColumnColumn which is used as a template.
withAttachedColumnsbooleanTrue to copy also all columns attached to the template row.

Returns: Column


getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Returns the column at the specified index. Read-only Column.

Returns: Column


insertClone

NameDescription
insertClone (int, Column, boolean)Creates a copy of the specified template column and insert it at the specified position in a table.

Parameters:

NameTypeDescription
indexintIndex of a new column.
templColumnColumn which is used as a template.
withAttachedColumnsbooleanTrue to copy also all columns attached to the template column.

Returns: Column


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


removeAt

NameDescription
removeAt (int, boolean)Removes a column at the specified position from a table.

Parameters:

NameTypeDescription
firstColumnIndexintIndex of a column to delete.
withAttachedRowsbooleanTrue to delete also all attached columns.

Returns: void


size

NameDescription
size ()Returns the number of columns in a collection. Read-only int.

Returns: int