public interface IColumnCollection extends IGenericCollection<IColumn>
Represents collection of columns in a table.
Modifier and Type | Method and Description |
---|---|
IColumn[] |
addClone(IColumn templ,
boolean withAttachedColumns)
Creates a copy of the specified template row and inserts it at the bottom of a table.
|
IColumn |
get_Item(int index)
Returns the column at the specified index.
|
IColumn[] |
insertClone(int index,
IColumn templ,
boolean withAttachedColumns)
Creates a copy of the specified template column and insert it at the specified position in a table.
|
void |
removeAt(int firstColumnIndex,
boolean withAttachedRows)
Removes a column at the specified position from a table.
|
iterator
IColumn[] addClone(IColumn templ, boolean withAttachedColumns)
Creates a copy of the specified template row and inserts it at the bottom of a table.
templ
- Column which is used as a template.withAttachedColumns
- True to copy also all columns attached to the template row.IColumn[] insertClone(int index, IColumn templ, boolean withAttachedColumns)
Creates a copy of the specified template column and insert it at the specified position in a table.
index
- Index of a new column.templ
- Column which is used as a template.withAttachedColumns
- True to copy also all columns attached to the template column.void removeAt(int firstColumnIndex, boolean withAttachedRows)
Removes a column at the specified position from a table.
firstColumnIndex
- Index of a column to delete.withAttachedRows
- True to delete also all attached columns.