|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface TableCell
This interface defines the methods required for a TableView cell. It generates the entire contents of the table's cell within the appropriate markup language.
| Method Summary | |
|---|---|
boolean |
isHeader()
Return true if the cell is a header cell. |
void |
setHeader(boolean headerCell)
Set whether the cell is a header cell. |
void |
write(java.io.PrintWriter out,
AbstractBaseTableView tableview,
java.lang.Object value,
java.lang.String name,
ActionList actions)
Write the entire table cell in the appropriate markup language. |
void |
writeBeginCell(java.io.PrintWriter out)
Writes the begin tag for the table cell in the appropriate markup language. |
void |
writeEndCell(java.io.PrintWriter out)
Writes the end tag for the table cell in the appropriate markup language. |
| Method Detail |
|---|
void write(java.io.PrintWriter out,
AbstractBaseTableView tableview,
java.lang.Object value,
java.lang.String name,
ActionList actions)
throws java.io.IOException
out - the output streamtableview - the instance of the tableview being written.value - the value to display as the cell's contentsname - the name to use for the contents componentactions - an actionlist of all the valid actions for this cell
java.io.IOException - Thrown if some type of I/O error occurs
void writeBeginCell(java.io.PrintWriter out)
throws java.io.IOException
out - the output stream
java.io.IOException - Thrown if some type of I/O error occurs
void writeEndCell(java.io.PrintWriter out)
throws java.io.IOException
out - the output stream
java.io.IOException - Thrown if some type of I/O error occursboolean isHeader()
void setHeader(boolean headerCell)
headerCell - true if the cell is a header cell
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||