jxl.write
Class Label

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.CellValue
                    |
                    +--jxl.write.biff.LabelRecord
                          |
                          +--jxl.write.Label
All Implemented Interfaces:
ByteData, Cell, LabelCell, WritableCell

public class Label
extends LabelRecord
implements WritableCell, LabelCell

A cell containing text which may be created by user applications


Fields inherited from class jxl.write.biff.LabelRecord
contents, index, sharedStrings
 
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
Label(int c, int r, java.lang.String cont)
          Creates a cell which, when added to the sheet, will be presented at the specified column and row co-ordinates and will contain the specified text
Label(int c, int r, java.lang.String cont, CellFormat st)
          Creates a cell which, when added to the sheet, will be presented at the specified column and row co-ordinates and will present the specified text in the manner specified by the CellFormat parameter
Label(LabelCell lc)
          Constructor used internally by the application when making a writable copy of a spreadsheet being read in
 
Method Summary
 void setString(java.lang.String s)
          Sets the string contents of this cell
 
Methods inherited from class jxl.write.biff.LabelRecord
getContents, getData, getString, getType, setCellDetails
 
Methods inherited from class jxl.write.biff.CellValue
decrementColumn, decrementRow, getCellFormat, getColumn, getRow, getXFIndex, incrementColumn, incrementRow, isHidden, isReferenced, 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
 
Methods inherited from interface jxl.write.WritableCell
setCellFormat
 
Methods inherited from interface jxl.Cell
getCellFormat, getColumn, getContents, getRow, getType, isHidden
 
Methods inherited from interface jxl.LabelCell
getString
 

Constructor Detail

Label

public Label(int c,
             int r,
             java.lang.String cont)
Creates a cell which, when added to the sheet, will be presented at the specified column and row co-ordinates and will contain the specified text
Parameters:
c -  
cont -  
r -  

Label

public Label(int c,
             int r,
             java.lang.String cont,
             CellFormat st)
Creates a cell which, when added to the sheet, will be presented at the specified column and row co-ordinates and will present the specified text in the manner specified by the CellFormat parameter
Parameters:
c -  
cont -  
r -  
st -  

Label

public Label(LabelCell lc)
Constructor used internally by the application when making a writable copy of a spreadsheet being read in
Parameters:
lc -  
Method Detail

setString

public void setString(java.lang.String s)
Sets the string contents of this cell
Overrides:
setString in class LabelRecord
Parameters:
s -