com.jrefinery.workbook
Class Cells

java.lang.Object
  |
  +--com.jrefinery.workbook.Cells

public class Cells
extends java.lang.Object

Represents the cells in a worksheet.


Field Summary
protected  java.util.ArrayList 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).
 void writeCells(java.io.PrintStream out, java.lang.String indent)
          Writes the cells to the specified stream in the format required by the Gnumeric XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rows

protected java.util.ArrayList 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.

writeCells

public void writeCells(java.io.PrintStream out,
                       java.lang.String indent)
Writes the cells to the specified stream in the format required by the Gnumeric XML file.
Parameters:
out - The output stream.
indent - The indentation.