|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
aspose.pdf.Cells
public class Cells
Represents a collection of Cell objects.
Typical usages are the following:
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
Cells()
Constructor - initializes a new instance of the Cells class. |
|
| Method Summary | |
|---|---|
Cell |
add()
Initializes a new instance of the Cell class and add it to the Cells
collection. |
void |
add(Cell cell)
Adds a new Cell object into the collection. |
Cell |
add(java.lang.String cellString)
Initializes a new instance of the Cell class,adds a string to the new
cell object and then add the Cell object to the Cells collection. |
Cell |
add(java.lang.String cellString,
TextInfo textInfo)
Initializes a new instance of the Cell class and add it to the Cells
collection. |
void |
addCell(Cell cell)
Adds a new Cell object into the collection. |
void |
appendToCells(Cell cell)
append table's cell to cell collection |
void |
copyTo(Cell[] cellArray,
int index)
Copies the elements to a cells array, starting at a specified array index. |
Cell |
getCell(int index)
Gets a Cell object from the collection according to cell index. |
Cell |
getCell(java.lang.String cellID)
Gets a Cell object from the collection according to cell ID. |
Row |
getRow()
Gets the parent row of this cells collection. |
int |
indexOf(Cell cell)
Gets the index of a specified cell in the collection. |
void |
insert(Cell cellToInsertAfter,
Cell newCell)
Inserts a new Cell object into the collection after
specified Cell object. |
void |
insert(int index,
Cell cell)
Inserts a new Cell object into the collection at
specified position. |
void |
moveAt(Cell cellToMoveAt,
Cells newCells)
|
void |
remove(Cell cellToRemove)
Removes a Cell object from the collection. |
void |
setCell(int index,
Cell value)
Sets a Cell object from the collection according to cell index. |
void |
setCell(java.lang.String cellID,
Cell value)
Sets a Cell object from the collection according to cell ID. |
void |
setRow(Row value)
Sets the parent row of this cells collection. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public Cells()
Cells class.
| Method Detail |
|---|
public void addCell(Cell cell)
Cell object into the collection.
cell - The Cell object to be added.public void add(Cell cell)
Cell object into the collection.
cell - The Cell object to be added.public void appendToCells(Cell cell)
cell - public Cell add()
Cell class and add it to the Cells
collection.
Cell objectpublic Cell add(java.lang.String cellString)
Cell class,adds a string to the new
cell object and then add the Cell object to the Cells collection.
cellString - The string to be added to the cell.
Cell object.
public Cell add(java.lang.String cellString,
TextInfo textInfo)
Cell class and add it to the Cells
collection. Adds a string with specified text format to the new cell.
cellString - The string to be added to the cell.textInfo - The TextInfo object that contains text format information
Cell object.public Row getRow()
Row object.public void setRow(Row value)
value - A Row object.public Cell getCell(int index)
Cell object from the collection according to cell index.
index - Index number.
Cell object.
public void setCell(int index,
Cell value)
Cell object from the collection according to cell index.
index - Index number.value - Cell object.public Cell getCell(java.lang.String cellID)
Cell object from the collection according to cell ID.
cellID - ID name for Cell object.
Cell object.
public void setCell(java.lang.String cellID,
Cell value)
Cell object from the collection according to cell ID.
cellID - ID name for Cell object.value - Cell object.
public void insert(int index,
Cell cell)
Cell object into the collection at
specified position.
index - The zero-based index at which Cell object should be inserted.cell - The Cell object to be inserted.
public void insert(Cell cellToInsertAfter,
Cell newCell)
Cell object into the collection after
specified Cell object.
cellToInsertAfter - The Cell object to insert after.newCell - The Cell object to be inserted.public void remove(Cell cellToRemove)
Cell object from the collection.
cellToRemove - The Cell object to be removed.
public void copyTo(Cell[] cellArray,
int index)
cellArray - The cells array.index - The start index.public int indexOf(Cell cell)
cell - The specified Cell object.
public void moveAt(Cell cellToMoveAt,
Cells newCells)
cellToMoveAt - the cell which begins to be moved ,
the rest cells will also be moved to the new collection.newCells - the destination collection where cells to be move to .
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||