|
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.DefaultTableDataDescriptor
public class DefaultTableDataDescriptor
The DefaultTableDataDescriptor class provides default implementations for most of the methods defined in the TableDataDescriptor interface.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.TableDataDescriptor |
|---|
CALC_TABLE, CROSSTAB_TABLE, FREEHAND_TABLE, GROUPED_TABLE, NORMAL_TABLE, SUMMARY_TABLE, TABLE_SUMMARY_TABLE, UNKNOWN_TABLE |
| Constructor Summary | |
|---|---|
DefaultTableDataDescriptor(XTable table)
Create a default table descriptor. |
|
| Method Summary | |
|---|---|
boolean |
containsDrill()
Check if contains drill. |
boolean |
containsFormat()
Check if contains format. |
TableDataPath |
getCellDataPath(int row,
int col)
Get table data path of a specified table cell. |
TableDataPath |
getColDataPath(int col)
Get table data path of a specified table column. |
protected Object |
getHeader(int col)
Get the column header for data path. |
protected Object |
getHeader(int col,
boolean pass)
Get the column header for data path. |
TableDataPath |
getRowDataPath(int row)
Get table data path of a specified table row. |
int |
getRowLevel(int row)
Get level of a specified table row, which is required for nested table. |
int |
getType()
Get table type which is one of the table types defined in table data descriptor like NORMAL_TABLE, CROSSTAB_TABLE, etc. |
XMetaInfo |
getXMetaInfo(TableDataPath path)
Get meta info of a specified table data path. |
boolean |
isCellDataPath(int row,
int col,
TableDataPath path)
Test if a cell belongs to a table data path. |
boolean |
isCellDataPathType(int row,
int col,
TableDataPath path)
Test if a cell belongs to a table data path in a not strict way. |
boolean |
isColDataPath(int col,
TableDataPath path)
Check if a column belongs to a table data path. |
boolean |
isRowDataPath(int row,
TableDataPath path)
Check if a row belongs to a table data path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTableDataDescriptor(XTable table)
table - the specified table lens| Method Detail |
|---|
public TableDataPath getColDataPath(int col)
getColDataPath in interface TableDataDescriptorcol - the specified table column
public TableDataPath getRowDataPath(int row)
getRowDataPath in interface TableDataDescriptorrow - the specified table row
public TableDataPath getCellDataPath(int row,
int col)
getCellDataPath in interface TableDataDescriptorrow - the specified table cell rowcol - the specified table cell col
public boolean isColDataPath(int col,
TableDataPath path)
isColDataPath in interface TableDataDescriptorcol - the specified table colpath - the specified table data path
public boolean isRowDataPath(int row,
TableDataPath path)
isRowDataPath in interface TableDataDescriptorrow - the specified table rowpath - the specified table data path
public boolean isCellDataPathType(int row,
int col,
TableDataPath path)
isCellDataPathType in interface TableDataDescriptorrow - the specified table cell rowcol - the specified table cell colpath - the specified table data path
public boolean isCellDataPath(int row,
int col,
TableDataPath path)
isCellDataPath in interface TableDataDescriptorrow - the specified table cell rowcol - the specified table cell colpath - the specified table data path
public int getRowLevel(int row)
getRowLevel in interface TableDataDescriptorrow - the specified table row
public int getType()
getType in interface TableDataDescriptorpublic XMetaInfo getXMetaInfo(TableDataPath path)
getXMetaInfo in interface TableDataDescriptorpath - the specified table data path
public boolean containsFormat()
containsFormat in interface TableDataDescriptorpublic boolean containsDrill()
containsDrill in interface TableDataDescriptorprotected Object getHeader(int col)
protected Object getHeader(int col,
boolean pass)
|
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 | ||||||||