|
||||||||
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.Rows
public class Rows
Represents a collection of Row
objects.
Typical usages are the following:
Constructor Summary | |
---|---|
Rows()
Initializes a new instance of the Rows class. |
Method Summary | |
---|---|
Row |
add()
Initializes a new instance of the Row class and add it to the Rows
collection. |
void |
add(Row row)
Adds a new Row object into the collection. |
void |
addRow(Row row)
Adds a new Row object into the collection. |
void |
copyTo(Row[] rowArray,
int index)
Copies the elements to a Row object array, starting at a specified array
index. |
Row |
getRow(int index)
Gets a Row object from the collection according to Row index. |
Row |
getRow(java.lang.String rowID)
Gets a Row object from the collection according to Row ID. |
Table |
getTable()
Gets parentTable object |
int |
indexOf(Row row)
Gets the index of a specified row in the collection. |
void |
insert(int index,
Row row)
Inserts a new Row object into the collection at specified position. |
void |
insert(Row rowToInsertAfter,
Row newRow)
Inserts a new Row object into the collection after
specified Cell object. |
void |
moveAfter(Row rowToMoveAfter,
Rows newRows)
move the row from row collection |
void |
moveAt(Row rowToMoveAt,
Rows newRows)
move row from row collection |
void |
remove(Row rowToRemove)
Removes a Row object from the collection. |
void |
setRow(int index,
Row value)
Sets a Row object from the collection according to Row index. |
void |
setRow(java.lang.String rowID,
Row value)
Sets a Row object from the collection according to Row ID. |
void |
setTable(Table value)
Sets the parent table |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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 |
---|
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 Rows()
Rows
class.
Method Detail |
---|
public void addRow(Row row)
Row
object into the collection.
row
- public void add(Row row)
Row
object into the collection.
row
- The Row
object to be added.public Row add()
Row
class and add it to the Rows
collection.
Row
object.public Table getTable()
public void setTable(Table value)
value
- public Row getRow(int index)
Row
object from the collection according to Row index.
index
- public void setRow(int index, Row value)
Row
object from the collection according to Row index.
index
- value
- public Row getRow(java.lang.String rowID)
Row
object from the collection according to Row ID.
public void setRow(java.lang.String rowID, Row value)
Row
object from the collection according to Row ID.
rowID
- value
- public void insert(int index, Row row)
Row
object into the collection at specified position.
index
- The zero-based index at which Row object should be inserted.row
- The Row object to be inserted.public void insert(Row rowToInsertAfter, Row newRow)
Row
object into the collection after
specified Cell object.
rowToInsertAfter
- The Row
object to insert after.newRow
- The Row
object to be inserted.public int indexOf(Row row)
row
- The specified row.
public void remove(Row rowToRemove)
Row
object from the collection.
rowToRemove
- The Row
object to be removed.public void moveAt(Row rowToMoveAt, Rows newRows)
rowToMoveAt
- newRows
- public void moveAfter(Row rowToMoveAfter, Rows newRows)
rowToMoveAfter
- newRows
- public void copyTo(Row[] rowArray, int index)
Row
object array, starting at a specified array
index.
rowArray
- The Row
object array.index
- The start index.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |