org.jfree.workbook
Class Cells

java.lang.Object
  |
  +--org.jfree.workbook.Cells

public class Cells
extends java.lang.Object

Represents the cells in a worksheet.


Field Summary
protected  java.util.List rows
          A list of the rows of cells.
 
Constructor Summary
Cells()
          Default constructor.
 
Method Summary
 void add(Cell cell)
          Adds the specified cell to the collection of cells (if the cell already exists it is replaced).
 java.util.Iterator getRowsIterator()
          Returns an iterator that provides access to the rows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rows

protected java.util.List rows
A list of the rows of cells.

Constructor Detail

Cells

public Cells()
Default constructor.

Method Detail

add

public void add(Cell cell)
Adds the specified cell to the collection of cells (if the cell already exists it is replaced).

Parameters:
cell - The cell to add.

getRowsIterator

public java.util.Iterator getRowsIterator()
Returns an iterator that provides access to the rows.

Returns:
An iterator.