Package org.apache.poi.hssf.record
Class CellRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.CellRecord
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord,CellValueRecordInterface
- Direct Known Subclasses:
BoolErrRecord,FormulaRecord,LabelSSTRecord,NumberRecord,RKRecord
Base class for all cell value records (implementors of
CellValueRecordInterface).
Subclasses are expected to manage the cell data values (of various types).-
Method Summary
Modifier and TypeMethodDescriptionabstract CellRecordcopy()final shortfinal intgetRow()final shortget the index to the ExtendedFormatfinal voidfinal voidsetColumn(short col) final voidsetRow(int row) final voidsetXFIndex(short xf) set the index to the ExtendedFormatMethods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, getGenericRecordType, getSid, serialize, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Method Details
-
setRow
public final void setRow(int row) - Specified by:
setRowin interfaceCellValueRecordInterface- Parameters:
row- the row this cell occurs within
-
setColumn
public final void setColumn(short col) - Specified by:
setColumnin interfaceCellValueRecordInterface- Parameters:
col- the column this cell defines
-
setXFIndex
public final void setXFIndex(short xf) set the index to the ExtendedFormat- Specified by:
setXFIndexin interfaceCellValueRecordInterface- Parameters:
xf- index to the XF record- See Also:
-
getRow
public final int getRow()- Specified by:
getRowin interfaceCellValueRecordInterface- Returns:
- the row this cell occurs on
-
getColumn
public final short getColumn()- Specified by:
getColumnin interfaceCellValueRecordInterface- Returns:
- the column this cell defines within the row
-
getXFIndex
public final short getXFIndex()get the index to the ExtendedFormat- Specified by:
getXFIndexin interfaceCellValueRecordInterface- Returns:
- index to the XF record
- See Also:
-
serialize
-
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-