|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.PdfElementBase com.aspose.pdf.elements.Cells
public class Cells
Represents a collection of Cell objects.
Constructor Summary | |
---|---|
Cells(Row row)
Initializes a new instance of the Cells class. |
|
Cells(Table table)
Initializes a new instance of the Cells class. |
Method Summary | |
---|---|
Cell |
add()
Adds a new Cell object into the collection. |
void |
add(Cell cell)
Adds a new Cell object into the collection. |
Cell |
add(java.lang.String content)
Adds a new Cell object into the collection. |
void |
clear()
Clear rows of table. |
java.lang.Object |
clone()
Cells does not support clone method. |
Cell |
get(int index)
|
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
int |
indexOf(Cell cell)
Gets the index of a specified cell in the collection. |
void |
Insert(int index,
Cell cell)
Inserts a new Cell object into the collection at specified position. |
boolean |
isEmpty()
Returns true if the collection contains no cell. |
java.util.Iterator |
iterator()
Returns an iterator over the cell objects in paragraphs in proper sequence. |
void |
remove(Cell cell)
Removes a Cell object from the collection. |
void |
remove(int index)
Removes a Cell object from the collection at the specified position. |
int |
size()
Gets the size of cell objects collection. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
---|
getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cells(Table table)
table
- The table that owns the Cells.public Cells(Row row)
row
- The Row that owns the Cells.Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class PdfElementBase
java.lang.CloneNotSupportedException
Object.clone()
public void add(Cell cell)
cell
- the cell that will be added.public Cell add()
public Cell add(java.lang.String content)
public void clear()
public int indexOf(Cell cell)
public void Insert(int index, Cell cell)
index
- The position that the cell will be inserted at.cell
- the cell that willed inserted.public void remove(Cell cell)
cell
- The cell that willed removed.public void remove(int index)
index
- The index of the cell that willed removed.public int size()
public java.util.Iterator iterator()
public boolean isEmpty()
public Cell get(int index)
public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |