jxl.write
Class Label
java.lang.Object
jxl.biff.RecordData
jxl.biff.WritableRecordData
jxl.write.biff.CellValue
jxl.write.biff.LabelRecord
- jxl.biff.ByteData, Cell, LabelCell, WritableCell
public class Label
extends jxl.write.biff.LabelRecord
A cell containing text which may be created by user applications
Label(int c, int r, 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, 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
|
WritableCell | copyTo(int col, int row) - Implementation of the deep copy function
|
void | setString(String s) - Sets the string contents of this cell
|
addCellFeatures , getCellFeatures , getCellFormat , getColumn , getData , getRow , getWritableCellFeatures , isHidden , removeComment , setCellFeatures , setCellFormat |
Label
public Label(int c,
int r,
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
c
- the columnr
- the rowcont
- the text
Label
public Label(int c,
int r,
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
c
- the columnr
- the rowcont
- the datast
- the cell format
Label
public Label(LabelCell lc)
Constructor used internally by the application when making a writable
copy of a spreadsheet being read in
copyTo
public WritableCell copyTo(int col,
int row)
Implementation of the deep copy function
- copyTo in interface WritableCell
col
- the column which the new cell will occupyrow
- the row which the new cell will occupy
- a copy of this cell, which can then be added to the sheet
setString
public void setString(String s)
Sets the string contents of this cell