|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.extremecomponents.table.cell.BaseCell
Some of the common things that a cell needs to do. Most of the time this class should be extended for convenience
Field Summary | |
protected Column |
column
|
static java.lang.String |
EVEN
An even row in the table. |
protected TableModel |
model
|
static java.lang.String |
ODD
An odd row in the table. |
protected java.lang.Integer |
rowcount
|
Constructor Summary | |
BaseCell()
|
Method Summary | |
void |
destroy()
Destroy the objects set up in the init() method. |
java.lang.String |
endTD()
Get the HTML for the end td tag. |
abstract java.lang.String |
html()
Get the cell specific HTML |
void |
init(TableModel model,
Column column,
java.lang.Integer rowcount)
Set the Model, Column and current rowcount. |
boolean |
isRowEven()
Find out if the column is sitting on an even row. |
boolean |
isRowOdd()
Find out if the column is sitting on an odd row. |
java.lang.String |
startTD()
Get the HTML for the td tag. |
abstract java.lang.String |
value()
Get the cell specific simple value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String EVEN
public static final java.lang.String ODD
protected TableModel model
protected Column column
protected java.lang.Integer rowcount
Constructor Detail |
public BaseCell()
Method Detail |
public void init(TableModel model, Column column, java.lang.Integer rowcount)
init
in interface Cell
public void destroy()
destroy
in interface Cell
public boolean isRowEven()
public boolean isRowOdd()
public java.lang.String startTD()
public java.lang.String endTD()
public abstract java.lang.String html()
html
in interface Cell
public abstract java.lang.String value()
value
in interface Cell
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |