public class Label extends jxl.write.biff.LabelRecord implements WritableCell, LabelCell
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
WritableCell |
copyTo(int col,
int row)
Implementation of the deep copy function
|
void |
setString(java.lang.String s)
Sets the string contents of this cell
|
addCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getWritableCellFeatures, isHidden, removeCellFeatures, removeComment, removeDataValidation, setCellFeatures, setCellFormatequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWritableCellFeatures, setCellFeatures, setCellFormatgetCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHiddenpublic Label(int c,
int r,
java.lang.String cont)
c - the columncont - the textr - the rowpublic Label(int c,
int r,
java.lang.String cont,
CellFormat st)
c - the columncont - the datar - the rowst - the cell formatpublic Label(LabelCell lc)
lc - the label to copypublic void setString(java.lang.String s)
setString in class jxl.write.biff.LabelRecords - the new datapublic WritableCell copyTo(int col, int row)
copyTo in interface WritableCellcol - the column which the new cell will occupyrow - the row which the new cell will occupy