FileDocCategorySizeDatePackage
CellValueRecordInterface.javaAPI DocApache Poi 3.0.13036Mon Jan 01 12:39:40 GMT 2007org.apache.poi.hssf.record

CellValueRecordInterface

public interface CellValueRecordInterface
The cell value record interface is implemented by all classes of type Record that contain cell values. It allows the containing sheet to move through them and compare them.
author
Andrew C. Oliver (acoliver at apache dot org)
author
Jason Height (jheight at chariot dot net dot au)
see
org.apache.poi.hssf.model.Sheet
see
org.apache.poi.hssf.record.Record
see
org.apache.poi.hssf.record.RecordFactory

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectclone()

public shortgetColumn()
get the column this cell defines within the row

return
the column

public intgetRow()
get the row this cell occurs on

return
the row

public shortgetXFIndex()

public booleanisAfter(org.apache.poi.hssf.record.CellValueRecordInterface i)
returns whether this cell is after the passed in cell

param
i record to compare
return
true if the cell is after, false if not

public booleanisBefore(org.apache.poi.hssf.record.CellValueRecordInterface i)
returns whether this cell is before the passed in cell

param
i another cell interface record to compare
return
true if the cells is before, or false if not

public booleanisEqual(org.apache.poi.hssf.record.CellValueRecordInterface i)
returns whether this cell represents the same cell (NOT VALUE)

param
i record to compare
return
true if the cells are the same cell (positionally), false if not.

public voidsetColumn(short col)
set the column this cell defines within the row

param
col the column this cell defines

public voidsetRow(int row)
set the row this cell occurs on

param
row the row this cell occurs within

public voidsetXFIndex(short xf)