public final class TableColumnCollection extends Object implements Iterable<TableColumn>
TableColumn
items.
Supported in XLSX only.Modifier and Type | Method and Description |
---|---|
TableColumn |
add()
Adds a new
TableColumn to the collection. |
TableColumn |
get(int index)
Gets the
TableColumn at the specified index. |
TableColumn |
get(String name)
Gets
TableColumn described by name from the collection. |
TableColumn |
insert(int index)
Inserts a new
TableColumn at the specified index. |
Iterator<TableColumn> |
iterator()
Gets the collection enumerator.
|
void |
remove(int index)
Removes the
TableColumn at the specified index. |
boolean |
remove(TableColumn column)
Removes the specified
TableColumn . |
int |
size()
Gets the number of
TableColumn s contained in the collection. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public TableColumn add()
TableColumn
to the collection.TableColumn
.public TableColumn get(int index)
TableColumn
at the specified index.index
- The zero-based index of the TableColumn
.TableColumn
at the specified index.public TableColumn get(String name)
TableColumn
described by name from the collection.name
- Name of the table column.public TableColumn insert(int index)
TableColumn
at the specified index.index
- The column index.TableColumn
.IndexOutOfBoundsException
- index
is out of range.public Iterator<TableColumn> iterator()
iterator
in interface Iterable<TableColumn>
public void remove(int index)
TableColumn
at the specified index.index
- The column index.public boolean remove(TableColumn column)
TableColumn
.column
- The table column.true
if TableColumn
was removed from the collection; otherwise, false
.NullPointerException
- column
is null.public int size()
TableColumn
s contained in the collection.TableColumn
s contained in the collection.© GemBox d.o.o. — All rights reserved.