public class Label extends jxl.write.biff.LabelRecord implements WritableCell, LabelCell
构造器和说明 |
---|
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
|
限定符和类型 | 方法和说明 |
---|---|
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, setCellFormat
getWritableCellFeatures, setCellFeatures, setCellFormat
getCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHidden
public 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
在类中 jxl.write.biff.LabelRecord
s
- the new datapublic WritableCell copyTo(int col, int row)
copyTo
在接口中 WritableCell
col
- the column which the new cell will occupyrow
- the row which the new cell will occupy