jxl.write.biff
Class BlankRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.CellValue
                    |
                    +--jxl.write.biff.BlankRecord
All Implemented Interfaces:
ByteData, Cell, WritableCell
Direct Known Subclasses:
Blank

public class BlankRecord
extends CellValue

A blank record, which is used to contain formatting information


Fields inherited from class jxl.write.biff.CellValue
column, format, formattingRecords, referenced, row, sheet
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
protected BlankRecord(Cell c)
          Constructor used when copying a formatted blank cell from a read only spreadsheet
protected BlankRecord(int c, int r)
          Consructor used when creating a label from the user API
protected BlankRecord(int c, int r, CellFormat st)
          Constructor used when creating a label from the API.
 
Method Summary
 java.lang.String getContents()
          Quick and dirty function to return the contents of this cell as a string.
 CellType getType()
          Returns the content type of this cell
 
Methods inherited from class jxl.write.biff.CellValue
decrementColumn, decrementRow, getCellFormat, getColumn, getData, getRow, getXFIndex, incrementColumn, incrementRow, isHidden, isReferenced, setCellDetails, setCellFormat
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

BlankRecord

protected BlankRecord(int c,
                      int r)
Consructor used when creating a label from the user API
Parameters:
c - the column
cont - the contents
r - the row

BlankRecord

protected BlankRecord(int c,
                      int r,
                      CellFormat st)
Constructor used when creating a label from the API. This is overloaded to allow formatting information to be passed to the record
Parameters:
c - the column
r - the row
st - the format applied to the cell

BlankRecord

protected BlankRecord(Cell c)
Constructor used when copying a formatted blank cell from a read only spreadsheet
Parameters:
c - the blank cell to copy
Method Detail

getType

public CellType getType()
Returns the content type of this cell
Returns:
the content type for this cell

getContents

public java.lang.String getContents()
Quick and dirty function to return the contents of this cell as a string.
Returns:
the contents of this cell as a string