columnlist-ag凯发旗舰厅
com.spire.presentation.collections
class columnlist
java.lang.object
com.spire.presentation.collections.columnlist
- all implemented interfaces:
- com.spire.ms.system.collections.ienumerable, java.lang.iterable
- direct known subclasses:
- columncollection
public class columnlist
- extends java.lang.object
- implements com.spire.ms.system.collections.ienumerable
represents collection of columns in a table.
method summary |
void |
add(tablecolumn template)
insert column in a table. |
tablecolumn |
get(int index)
gets the column at the specified index. |
int |
getcount()
gets the number of columns in a collection. |
void |
insert(int index,
tablecolumn template)
insert column in a table. |
com.spire.ms.system.collections.ienumerator |
iterator()
|
void |
removeat(int firstcolumnindex,
boolean withattachedrows)
removes a column at the specified position from a table. |
columnlist
public columnlist()
get
public tablecolumn get(int index)
- gets the column at the specified index.
read-only .
- parameters:
index
-
- returns:
getcount
public int getcount()
- gets the number of columns in a collection.
read-only .
- returns:
insert
public void insert(int index,
tablecolumn template)
throws documenteditexception
- insert column in a table.
- parameters:
index
- template
-
- throws:
documenteditexception
add
public void add(tablecolumn template)
throws documenteditexception
- insert column in a table.
- parameters:
template
-
- throws:
documenteditexception
removeat
public void removeat(int firstcolumnindex,
boolean withattachedrows)
throws documenteditexception
- removes a column at the specified position from a table.
- parameters:
firstcolumnindex
- withattachedrows
-
- throws:
documenteditexception
iterator
public com.spire.ms.system.collections.ienumerator iterator()