|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XTable
XTable provides the API for accessing table data. It is similar to XTableNode but is more report oriented, and serves to provide more direct access without row iteration. The interface is used in the report engine.
| Field Summary | |
|---|---|
static int |
EOT
End of table flag for method moreRows. |
| Method Summary | |
|---|---|
void |
dispose()
Dispose the table to clear up temporary resources. |
boolean |
getBoolean(int r,
int c)
Get the boolean value in one row. |
byte |
getByte(int r,
int c)
Get the byte value in one row. |
int |
getColCount()
Return the number of columns in the table. |
Class |
getColType(int col)
Get the current column content type. |
String |
getColumnIdentifier(int col)
Get the column identifier of a column. |
TableDataDescriptor |
getDescriptor()
Get internal table data descriptor which contains table structural infos. |
double |
getDouble(int r,
int c)
Get the double value in one row. |
float |
getFloat(int r,
int c)
Get the float value in one row. |
int |
getHeaderColCount()
Return the number of columns on the left of the table to be treated as header columns. |
int |
getHeaderRowCount()
Return the number of rows on the top of the table to be treated as header rows. |
int |
getInt(int r,
int c)
Get the int value in one row. |
long |
getLong(int r,
int c)
Get the long value in one row. |
Object |
getObject(int r,
int c)
Return the value at the specified cell. |
int |
getRowCount()
Return the number of rows in the table. |
short |
getShort(int r,
int c)
Get the short value in one row. |
int |
getTrailerColCount()
Return the number of columns on the right of the table to be treated as trailer columns. |
int |
getTrailerRowCount()
Return the number of rows on the bottom of the table to be treated as trailer rows. |
boolean |
isNull(int r,
int c)
Check if the value at one cell is null. |
boolean |
isPrimitive(int col)
Check if is primitive. |
boolean |
moreRows(int row)
Check if there are more rows. |
void |
setColumnIdentifier(int col,
String identifier)
Set the column identifier of a column. |
void |
setObject(int r,
int c,
Object v)
Set the cell value. |
| Field Detail |
|---|
static final int EOT
| Method Detail |
|---|
boolean moreRows(int row)
row - row number. If EOT is passed in, this method should wait
until the table is fully loaded.
int getRowCount()
int getColCount()
int getHeaderRowCount()
int getHeaderColCount()
int getTrailerRowCount()
int getTrailerColCount()
boolean isNull(int r,
int c)
r - the specified row index.c - column number.
Object getObject(int r,
int c)
r - row number.c - column number.
double getDouble(int r,
int c)
r - the specified row index.c - column number.
float getFloat(int r,
int c)
r - the specified row index.c - column number.
long getLong(int r,
int c)
r - the specified row index.c - column number.
int getInt(int r,
int c)
r - the specified row index.c - column number.
short getShort(int r,
int c)
r - the specified row index.c - column number.
byte getByte(int r,
int c)
r - the specified row index.c - column number.
boolean getBoolean(int r,
int c)
r - the specified row index.c - column number.
void setObject(int r,
int c,
Object v)
r - row number.c - column number.v - cell value.Class getColType(int col)
col - column number.
boolean isPrimitive(int col)
void dispose()
String getColumnIdentifier(int col)
col - the specified column index.
void setColumnIdentifier(int col,
String identifier)
col - the specified column index.identifier - the column indentifier of the column. The identifier
might be different from the column name, for it may contain more
locating information than the column name.TableDataDescriptor getDescriptor()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||