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
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
BlankRecord
protected BlankRecord(int c,
int r)
- Consructor used when creating a label from the user API
- Parameters:
c
- the columncont
- the contentsr
- 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 columnr
- the rowst
- 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
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