jxl.read.biff
Class LabelSSTRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.read.biff.CellValue
              |
              +--jxl.read.biff.LabelSSTRecord
All Implemented Interfaces:
Cell, LabelCell

class LabelSSTRecord
extends CellValue
implements LabelCell

A label which is stored in the shared string table


Field Summary
private  int index
          The index into the shared string table
private  java.lang.String string
          The label
 
Fields inherited from class jxl.read.biff.CellValue
column, format, formattingRecords, initialized, row, sheet, xfIndex
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
LabelSSTRecord(Record t, SSTRecord stringTable, FormattingRecords fr, SheetImpl si)
          Constructor.
 
Method Summary
 java.lang.String getContents()
          Gets this cell's contents as a string
 java.lang.String getString()
          Gets the label
 CellType getType()
          Returns the cell type
 
Methods inherited from class jxl.read.biff.CellValue
getCellFormat, getColumn, getRow, getXFIndex, isHidden
 
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
 
Methods inherited from interface jxl.Cell
getCellFormat, getColumn, getRow, isHidden
 

Field Detail

index

private int index
The index into the shared string table

string

private java.lang.String string
The label
Constructor Detail

LabelSSTRecord

public LabelSSTRecord(Record t,
                      SSTRecord stringTable,
                      FormattingRecords fr,
                      SheetImpl si)
Constructor. Retrieves the index from the raw data and looks it up in the shared string table
Parameters:
stringTable - the shared string table
t - the raw data
fr - the formatting records
si - the sheet
Method Detail

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 this cell's contents as a string
Specified by:
getContents in interface Cell
Returns:
the label

getType

public CellType getType()
Returns the cell type
Specified by:
getType in interface Cell
Returns:
the cell type