|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Page
The base interface for pages written to the "workbook" or model file.
Each page holds raw data in rows and columns.
The page is divided into tables, and the bounds of each table can be queried. All row and column values are on the page, not in each table.
| Field Summary | |
|---|---|
static String |
TYPE_PAGE_BASE_SEP
The separator string used between page type, page name and base name in the internal name of a page. |
| Fields inherited from interface com.azalient.api.a.tables.IPage |
|---|
ZERO |
| Method Summary | |
|---|---|
void |
baseName(String s)
Reset the base |
BookR |
book()
The book to which this page belongs |
int |
columns()
return the number of columns |
Object |
get(int col,
int row)
Return a value of a type in { String, Integer, Double, UTime, Boolean, null } |
Object |
get(int col,
int row,
boolean checkMerged)
Return a value of a type in { String, Integer, Double, UTime, Boolean, null } |
void |
pageName(String s)
Rename the page |
int |
rows()
return the number of rows |
TableB |
tableBounds(String tableName)
Return the bounds of a given table |
String[] |
tableNames()
Return the list of tables that already exist on this page |
| Methods inherited from interface com.azalient.api.a.tables.IPage |
|---|
baseName, pageName, pageType |
| Field Detail |
|---|
static final String TYPE_PAGE_BASE_SEP
| Method Detail |
|---|
BookR book()
Object get(int col,
int row)
col - the page columnrow - the page row
Object get(int col,
int row,
boolean checkMerged)
col - the page columnrow - the page rowcheckMerged - if this is true, and the page allows cell merging, use the primary cell if this cell is part of a set of merged cells.
If the page does not allow cell merging then this has no effect. XLS pages allow cell merging, AZA and CSV do not.int rows()
int columns()
TableB tableBounds(String tableName)
String[] tableNames()
void pageName(String s)
void baseName(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||