jxl.read.biff
Class LabelRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.read.biff.CellValue
|
+--jxl.read.biff.LabelRecord
- All Implemented Interfaces:
- Cell, LabelCell
- class LabelRecord
- extends CellValue
- implements LabelCell
A label which is stored in the cell
Inner Class Summary |
private static class |
LabelRecord.Biff7
Dummy indicators for overloading the constructor |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
length
private int length
- The length of the label in characters
string
private java.lang.String string
- The label
biff7
public static LabelRecord.Biff7 biff7
LabelRecord
public LabelRecord(Record t,
FormattingRecords fr,
SheetImpl si,
WorkbookSettings ws)
- Constructs this object from the raw data
- Parameters:
t
- the raw datafr
- the formatting recordssi
- the sheet
LabelRecord
public LabelRecord(Record t,
FormattingRecords fr,
SheetImpl si,
WorkbookSettings ws,
LabelRecord.Biff7 dummy)
- Constructs this object from the raw data
- Parameters:
t
- the raw datafr
- the formatting recordssi
- the sheetdummy
- dummy overload to indicate a biff 7 workbook
getString
public java.lang.String getString()
- Gets the label
- Specified by:
getString
in interface LabelCell
- Returns:
- the label
getContents
public java.lang.String getContents()
- Gets the cell contents as a string
- Specified by:
getContents
in interface Cell
- Returns:
- the label
getType
public CellType getType()
- Accessor for the cell type
- Specified by:
getType
in interface Cell
- Returns:
- the cell type