|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.lens.AbstractTableLens
inetsoft.report.lens.PagedTableLens
public abstract class PagedTableLens
This class implements paged table lens. A subclass of this class must call addRow() to populate the rows, including the header row. It should call complete() when all rows are populated. The addRow() can be called in a separate thread, and the table lens can be used for data binding before the data is fully loaded.
| Field Summary | |
|---|---|
protected inetsoft.uql.table.XSwappableTable |
delegate
|
| Fields inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
descriptor, isLeftAlign |
| Fields inherited from interface inetsoft.report.TableLens |
|---|
BREAK_BORDER, NULL |
| Fields inherited from interface inetsoft.uql.XTable |
|---|
EOT |
| Constructor Summary | |
|---|---|
PagedTableLens()
Create a pgaed table lens. |
|
| Method Summary | |
|---|---|
void |
addRow(Object[] row)
Add a new row to the table. |
void |
clearCache()
Clear all cached data. |
void |
complete()
This method must be called after all addRow() have been called. |
void |
dispose()
Dispose the table. |
protected void |
finalize()
finalize the object. |
int |
getColCount()
Get the number of columns in the table. |
TableDataDescriptor |
getDescriptor()
Get internal table data descriptor which contains table structural infos. |
Object |
getObject(int r,
int c)
Return the value at the specified cell. |
int |
getRowCount()
Return the number of rows in the table. |
boolean |
moreRows(int row)
Check if there are more rows. |
void |
setColCount(int ncol)
Set the number of columns in the table. |
void |
setObject(int r,
int c,
Object val)
Set the value of a cell. |
| Methods inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
addChangeListener, clone, containsDrill, containsFormat, findColumnByIdentifier, fireChangeEvent, getAlignment, getBackground, getBoolean, getByte, getColBorder, getColBorderColor, getColType, getColumnIdentifier, getColWidth, getDefaultFormat, getDouble, getFloat, getFont, getForeground, getHeaderColCount, getHeaderRowCount, getInsets, getInt, getLong, getRowBorder, getRowBorderColor, getRowHeight, getShort, getSpan, getTrailerColCount, getTrailerRowCount, getXDrillInfo, isLineWrap, isNull, isPrimitive, removeChangeListener, setColumnIdentifier, setLeftAlign, setLocal |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.report.TableLens |
|---|
addChangeListener, containsDrill, containsFormat, getAlignment, getBackground, getColBorder, getColBorderColor, getColWidth, getDefaultFormat, getFont, getForeground, getInsets, getRowBorder, getRowBorderColor, getRowHeight, getSpan, getXDrillInfo, isLineWrap, removeChangeListener |
| Methods inherited from interface inetsoft.uql.XTable |
|---|
getBoolean, getByte, getColType, getColumnIdentifier, getDouble, getFloat, getHeaderColCount, getHeaderRowCount, getInt, getLong, getShort, getTrailerColCount, getTrailerRowCount, isNull, isPrimitive, setColumnIdentifier |
| Field Detail |
|---|
protected inetsoft.uql.table.XSwappableTable delegate
| Constructor Detail |
|---|
public PagedTableLens()
| Method Detail |
|---|
public void setColCount(int ncol)
public int getColCount()
getColCount in interface XTablepublic int getRowCount()
getRowCount in interface XTablepublic boolean moreRows(int row)
moreRows in interface XTablemoreRows in class AbstractTableLensrow - row number.
public void setObject(int r,
int c,
Object val)
setObject in interface XTablesetObject in class AbstractTableLensr - row number.c - column number.val - cell value.
public Object getObject(int r,
int c)
getObject in interface XTabler - row number.c - column number.
public TableDataDescriptor getDescriptor()
getDescriptor in interface TableLensgetDescriptor in interface XTablegetDescriptor in class AbstractTableLenspublic void addRow(Object[] row)
public void complete()
public void clearCache()
clearCache in interface inetsoft.report.internal.table.CachedTableLenspublic void dispose()
dispose in interface XTabledispose in class AbstractTableLens
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
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 | ||||||||