|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.workbook.Cell
Represents one cell in a worksheet.
Field Summary | |
protected int |
column
The column number (0 to Worksheet.MAX_COLUMNS-1). |
protected java.lang.String |
content
The cell contents. |
protected int |
row
The row number (0 to Worksheet.MAX_ROWS-1). |
protected int |
type
The type of data in the cell. |
protected java.lang.String |
valueFormat
The value format (if required). |
Fields inherited from interface org.jfree.workbook.CellConstants |
DATE_TYPE, EXPRESSION_TYPE, LABEL_TYPE, VALUE_TYPE |
Constructor Summary | |
protected |
Cell(int type,
java.lang.String content,
int row,
int column)
Constructs a new cell. |
Method Summary | |
int |
compareTo(java.lang.Object other)
Implements the Comparable interface so that cells can easily be sorted. |
int |
getColumn()
Returns the cell's column. |
java.lang.String |
getContent()
Returns the cell's content. |
int |
getRow()
Returns the cell's row. |
protected int |
getSerialNumber()
Returns an integer that increases across columns and down rows. |
int |
getType()
Returns the cell's type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int column
protected int row
protected int type
protected java.lang.String content
protected java.lang.String valueFormat
Constructor Detail |
protected Cell(int type, java.lang.String content, int row, int column)
type
- the cell type.content
- the cell contents.row
- the row.column
- the column.Method Detail |
public int getColumn()
public int getRow()
public int getType()
public java.lang.String getContent()
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
other
- The object being compared to.
protected int getSerialNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |