|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TableW
An interface to a table that can be written to a page in the model file. IMplementing this interface means that the table can be queried for an array of records, and each of those records can be queried for their values in each of their fields.
| Method Summary | |
|---|---|
String |
columnName(Object nameObj)
Map a column name object to a printable name. |
void |
finishedW(PageW page)
The writer is finished |
CellF |
format(Object col,
int row)
Return the format for (column, row) cell. |
void |
newPage(IPage newPage)
Move this table to a new page |
RecordW[] |
recordArray()
Return an array all records. |
boolean |
save()
save the table to current open file |
void |
save(SavingStatus ss)
save the table to current open file |
int |
width(Object col)
Set the width of a column, return -1 to get default width |
| Methods inherited from interface com.azalient.api.file.Table |
|---|
destroy, headerRows, keyTypes |
| Methods inherited from interface com.azalient.api.a.tables.ITable |
|---|
page, pageName |
| Methods inherited from interface com.azalient.api.a.tables.ITableType |
|---|
colNameObjects, pageType, tableName |
| Method Detail |
|---|
void newPage(IPage newPage)
RecordW[] recordArray()
String columnName(Object nameObj)
nameObj - the column key, which may be the same as the name
CellF format(Object col,
int row)
col - The key specifying the column of the cell to be formattedrow - The row index for the cell to be formatted
int width(Object col)
void finishedW(PageW page)
void save(SavingStatus ss)
boolean save()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||