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.

Result: Column


getParent_Immediate

NameDescription
getParent_Immediate()

getSyncRoot

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

Result: Object


get_Item

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

Result: 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.

Result: Column


isSynchronized

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

Result: boolean


iterator

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

Result:


iteratorJava

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

Result:


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.

size

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

Result: int