|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jfree.workbook.Row
Represents a single row of cells in a worksheet.
| Field Summary | |
protected java.util.List |
cells
The cells in the row. |
protected int |
index
The row index (0 to Worksheet.MAX_ROWS). |
| Constructor Summary | |
Row(int index)
Constructs an empty row with the specified index. |
|
| Method Summary | |
void |
add(Cell cell)
Adds a cell to the row, replacing the existing cell if any. |
int |
compareTo(java.lang.Object other)
Implements the Comparator interface so that the rows can easily be sorted into order. |
Cell |
get(int column)
Returns the cell at the specified column. |
java.util.Iterator |
getCellsIterator()
Returns an iterator that provides access to the cells in the row. |
int |
getIndex()
Returns the index of the row. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int index
protected java.util.List cells
| Constructor Detail |
public Row(int index)
index - the row index.| Method Detail |
public int getIndex()
public java.util.Iterator getCellsIterator()
public void add(Cell cell)
cell - the cell to add.public Cell get(int column)
column - the column.
public int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparableother - the object to compare against.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||