|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.collections.DocumentSubsetCollection
com.spire.doc.collections.TableCollection
public class TableCollection
Represents a collection of ITable
objects.
Constructor Summary | |
---|---|
TableCollection(BodyRegionCollection bodyItems)
Initializes a new instance of the TableCollection class. |
Method Summary | |
---|---|
int |
add(ITable table)
Adds a table to end of text body. |
boolean |
contains(ITable table)
Determines whether the ITableCollection contains a specific value. |
Table |
get(int index)
Gets the ITable at the specified index. |
int |
indexOf(ITable table)
Determines the index of a specific item in the ITableCollection |
int |
insert(int index,
ITable table)
Inserts a table into collection at the specified index. |
void |
remove(ITable table)
Removes the specified table. |
void |
removeAt(int index)
Removes the table at the specified index from the collection. |
Methods inherited from class com.spire.doc.collections.DocumentSubsetCollection |
---|
clear, getCount, getDocument, getOwner, iterator |
Methods inherited from interface com.spire.doc.interfaces.ICollectionBase |
---|
getCount |
Constructor Detail |
---|
public TableCollection(BodyRegionCollection bodyItems)
bodyItems
- bodyItemMethod Detail |
---|
public Table get(int index)
ITable
at the specified index.
get
in interface IDocumentObjectCollection
get
in interface ITableCollection
get
in class DocumentSubsetCollection
index
- index
public int add(ITable table)
add
in interface ITableCollection
table
- The table
public boolean contains(ITable table)
ITableCollection
contains a specific value.
contains
in interface ITableCollection
table
- The table.
public int indexOf(ITable table)
ITableCollection
indexOf
in interface ITableCollection
table
- The table.
public int insert(int index, ITable table)
index
- The index.table
- The table.
public void remove(ITable table)
table
- The table.public void removeAt(int index)
index
- The index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |