jxl
public interface: Cell [javadoc |
source]
All Known Implementing Classes:
LabelSSTRecord, StringFormulaCell, EmptyCell, ReadNumberFormulaRecord, ErrorCell, Formula, BooleanRecord, SharedBooleanFormulaRecord, SharedDateFormulaRecord, BlankRecord, NumberValue, ReadDateFormulaRecord, RStringRecord, DateRecord, LabelRecord, NumberRecord, DateCell, WritableCell, FormulaData, NumberFormulaRecord, ReadFormulaRecord, FormulaCell, FormulaRecord, SharedErrorFormulaRecord, ErrorFormulaRecord, SharedNumberFormulaRecord, CellValue, MulBlankCell, NumberRecord, CellValue, FormulaRecord, ReadErrorFormulaRecord, DateFormulaRecord, ReadBooleanFormulaRecord, NumberFormulaCell, StringFormulaRecord, DateRecord, Blank, NumberCell, Number, SharedStringFormulaRecord, DateFormulaCell, BooleanRecord, RKRecord, BaseSharedFormulaRecord, ErrorFormulaCell, ReadStringFormulaRecord, LabelCell, Boolean, LabelRecord, ErrorRecord, BooleanFormulaRecord, BlankCell, Label, BooleanCell, Formula, DateTime, BooleanFormulaCell
Represents an individual Cell within a Sheet. May be queried for its
type and its content
| Method from jxl.Cell Detail: |
public CellFeatures getCellFeatures()
Gets any special cell features, such as comments (notes) or cell
validation present for this cell |
public CellFormat getCellFormat()
Gets the cell format which applies to this cell
Note that for cell with a cell type of EMPTY, which has no formatting
information, this method will return null. Some empty cells (eg. on
template spreadsheets) may have a cell type of EMPTY, but will
actually contain formatting information |
public int getColumn()
Returns the column number of this cell |
public String getContents()
Quick and dirty function to return the contents of this cell as a string.
For more complex manipulation of the contents, it is necessary to cast
this interface to correct subinterface |
public int getRow()
Returns the row number of this cell |
public CellType getType()
Returns the content type of this cell |
public boolean isHidden()
Indicates whether or not this cell is hidden, by virtue of either
the entire row or column being collapsed |