|
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.filter.AbstractGroupedTable
inetsoft.report.filter.TransparentGroupFilter
public class TransparentGroupFilter
The transparent group filter can be used for wraping up a normal table filter which filters on a grouped table as a grouped table. The grouped table related calls are forwarded to the base grouped table, and other method calls will delegate to the normal filter itself.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inetsoft.report.filter.AbstractGroupedTable |
|---|
AbstractGroupedTable.BooleanObject |
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
descriptor, isLeftAlign |
| Fields inherited from interface inetsoft.report.filter.GroupedTable |
|---|
GROUP_HEADER_FULL, GROUP_HEADER_IN_PLACE, GROUP_HEADER_ROWS |
| Fields inherited from interface inetsoft.report.TableLens |
|---|
BREAK_BORDER, NULL |
| Fields inherited from interface inetsoft.uql.XTable |
|---|
EOT |
| Constructor Summary | |
|---|---|
TransparentGroupFilter(TableFilter lens)
Deprecated. Create a grouped table wrapper. |
|
| Method Summary | |
|---|---|
void |
dispose()
Deprecated. Dispose the table to clear up temporary resources. |
int |
getAlignment(int r,
int c)
Deprecated. Return the per cell alignment. |
int[] |
getAvailableLevels(int row)
Deprecated. Get available group levels of a row when get group first/last row. |
Color |
getBackground(int r,
int c)
Deprecated. Return the per cell background color. |
int |
getBaseColIndex(int col)
Deprecated. Get the base table column index corresponding to the filtered table. |
int |
getBaseRowIndex(int row)
Deprecated. Get the base table row index corresponding to the filtered table. |
int |
getColBorder(int r,
int c)
Deprecated. Return the style for right border of the specified row. |
Color |
getColBorderColor(int r,
int c)
Deprecated. Return the color for drawing the column border lines. |
int |
getColCount()
Deprecated. Return the number of columns in the table. |
Class |
getColType(int col)
Deprecated. Get the current column content type. |
int |
getColWidth(int col)
Deprecated. Get the current column width setting. |
Font |
getFont(int r,
int c)
Deprecated. Return the per cell font. |
Color |
getForeground(int r,
int c)
Deprecated. Return the per cell foreground color. |
Formula |
getGrandFormula(int col)
Deprecated. Get the grand total formula of the column. |
int |
getGroupColCount()
Deprecated. Get the number of grouping columns. |
int |
getGroupColumns(int level)
Deprecated. Get the number of columns used in the specified grouping level. |
int |
getGroupFirstRow(int row)
Deprecated. Get the first row at the specified row. |
int |
getGroupFirstRow(int row,
int level)
Deprecated. Get the first row at specified row and group level. |
Formula |
getGroupFormula(int col)
Deprecated. Get the group formula of the column. |
int |
getGroupHeaderStyle()
Deprecated. Get the group header style. |
int |
getGroupLastRow(int row)
Deprecated. Get the last row at the specified row. |
int |
getGroupLastRow(int row,
int level)
Deprecated. Get the last row at specified row and group level. |
int |
getGroupLevel(int r)
Deprecated. Get the grouping level of this group header. |
int |
getHeaderColCount()
Deprecated. Return the number of columns on the left of the table to be treated as header columns. |
int |
getHeaderRowCount()
Deprecated. Return the number of rows on the top of the table to be treated as header rows. |
Insets |
getInsets(int r,
int c)
Deprecated. Return the cell gap space. |
Object |
getObject(int r,
int c)
Deprecated. Return the value at the specified cell. |
int |
getRowBorder(int r,
int c)
Deprecated. Return the style for bottom border of the specified cell. |
Color |
getRowBorderColor(int r,
int c)
Deprecated. Return the color for drawing the row border lines. |
int |
getRowCount()
Deprecated. Return the number of rows in the table. |
int |
getRowHeight(int row)
Deprecated. Get the current row heights setting. |
Dimension |
getSpan(int r,
int c)
Deprecated. Return the spanning setting for the cell. |
int |
getSummaryLevel(int r)
Deprecated. Get the grouping level of a summary row. |
TableLens |
getTable()
Deprecated. Get the original table of this filter. |
int |
getTrailerColCount()
Deprecated. Return the number of columns on the right of the table to be treated as tail columns. |
int |
getTrailerRowCount()
Deprecated. Return the number of rows on the bottom of the table to be treated as tail rows. |
boolean |
hasGrandSummary()
Deprecated. Check if this table contains grand summary row. |
void |
invalidate()
Deprecated. Invalidate the table filter forcely, and the table filter will perform filtering calculation to validate itself. |
boolean |
isAddGroupHeader()
Deprecated. Check if group header is to be added to the grouped data. |
boolean |
isGroupHeaderCell(int r,
int c)
Deprecated. Check if a cell is a group header cell. |
boolean |
isGroupHeaderRow(int r)
Deprecated. Check if a row is displaying group header. |
boolean |
isLineWrap(int r,
int c)
Deprecated. Return the per cell line wrap mode. |
boolean |
isShowGroupColumns()
Deprecated. Check if the group column contents are shown. |
boolean |
isSummaryCol(int c)
Deprecated. Check if a column is a summary column. |
boolean |
isSummaryRow(int r)
Deprecated. Check if a row is a summary row. |
boolean |
moreRows(int row)
Deprecated. Check if there are more rows. |
void |
setAddGroupHeader(boolean h)
Deprecated. Set whether group headers are added to the table. |
void |
setGroupHeaderStyle(int headerS)
Deprecated. Set the group header style. |
void |
setObject(int r,
int c,
Object v)
Deprecated. Set the cell value. |
void |
setShowGroupColumns(boolean grp)
Deprecated. Set the show group column contents option. |
void |
setTable(TableLens table)
Deprecated. Set the base table of this filter. |
| Methods inherited from class inetsoft.report.filter.AbstractGroupedTable |
|---|
clearCache, clearPageBreaks, firstSummaryColumn, getColumnIdentifier, getGroupColLevel, getGroupFirstRow0, getGroupLastRow0, getGroupLevel0, getHeader2, getMergedGroup, getOriginalPath, getPageBreakLevels, getRealGroupColCount, isMergedGroup, isMergeGroupCells, setMergedGroup, setMergeGroupCells |
| Methods inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
addChangeListener, clone, containsDrill, containsFormat, findColumnByIdentifier, fireChangeEvent, getBoolean, getByte, getDefaultFormat, getDescriptor, getDouble, getFloat, getInt, getLong, getShort, getXDrillInfo, isNull, isPrimitive, removeChangeListener, setColumnIdentifier, setLeftAlign, setLocal |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.report.TableLens |
|---|
addChangeListener, containsDrill, containsFormat, getDefaultFormat, getDescriptor, getXDrillInfo, removeChangeListener |
| Methods inherited from interface inetsoft.uql.XTable |
|---|
getBoolean, getByte, getDouble, getFloat, getInt, getLong, getShort, isNull, isPrimitive, setColumnIdentifier |
| Constructor Detail |
|---|
public TransparentGroupFilter(TableFilter lens)
lens - the grouped table| Method Detail |
|---|
public TableLens getTable()
getTable in interface TableFilterpublic void setTable(TableLens table)
setTable in interface TableFiltertable - the specified grouped tablepublic void invalidate()
invalidate in interface TableFilterpublic int getBaseRowIndex(int row)
getBaseRowIndex in interface GroupedTablegetBaseRowIndex in interface TableFiltergetBaseRowIndex in class AbstractGroupedTablerow - row index in the filtered table
public int getBaseColIndex(int col)
getBaseColIndex in interface TableFiltercol - column index in the filtered table
public int getGroupColCount()
getGroupColCount in interface GroupedTablegetGroupColCount in class AbstractGroupedTablepublic boolean isGroupHeaderRow(int r)
isGroupHeaderRow in interface GroupedTableisGroupHeaderRow in class AbstractGroupedTabler - row number
public boolean isGroupHeaderCell(int r,
int c)
isGroupHeaderCell in interface GroupedTableisGroupHeaderCell in interface RegionTableisGroupHeaderCell in class AbstractGroupedTabler - row numberc - column number
public int getGroupColumns(int level)
getGroupColumns in interface GroupedTablegetGroupColumns in class AbstractGroupedTablelevel - the specified group level
public int getGroupLevel(int r)
getGroupLevel in interface GroupedTablegetGroupLevel in interface RegionTablegetGroupLevel in class AbstractGroupedTabler - the specified row
public boolean isShowGroupColumns()
isShowGroupColumns in interface GroupedTableisShowGroupColumns in class AbstractGroupedTablepublic void setShowGroupColumns(boolean grp)
setShowGroupColumns in interface GroupedTablesetShowGroupColumns in class AbstractGroupedTablegrp - show group column contents.public boolean isAddGroupHeader()
isAddGroupHeader in interface GroupedTableisAddGroupHeader in class AbstractGroupedTablepublic void setAddGroupHeader(boolean h)
setAddGroupHeader in interface GroupedTablesetAddGroupHeader in class AbstractGroupedTablepublic int getGroupHeaderStyle()
getGroupHeaderStyle in interface GroupedTablegetGroupHeaderStyle in class AbstractGroupedTablepublic void setGroupHeaderStyle(int headerS)
setGroupHeaderStyle in interface GroupedTablesetGroupHeaderStyle in class AbstractGroupedTableheaderS - one of GROUP_HEADER_IN_PLACE, GROUP_HEADER_ROWS (default).public boolean isSummaryRow(int r)
isSummaryRow in interface GroupedTableisSummaryRow in interface RegionTableisSummaryRow in class AbstractGroupedTabler - the row number
public boolean isSummaryCol(int c)
isSummaryCol in interface GroupedTableisSummaryCol in class AbstractGroupedTablec - the column number
public int getSummaryLevel(int r)
getSummaryLevel in interface GroupedTablegetSummaryLevel in interface RegionTablegetSummaryLevel in class AbstractGroupedTablepublic boolean hasGrandSummary()
hasGrandSummary in interface GroupedTablehasGrandSummary in class AbstractGroupedTable
public int getGroupFirstRow(int row,
int level)
getGroupFirstRow in interface GroupedTablegetGroupFirstRow in class AbstractGroupedTablerow - the specified rowlevel - the specified group level
-1 if not available
public int getGroupLastRow(int row,
int level)
getGroupLastRow in interface GroupedTablegetGroupLastRow in class AbstractGroupedTablerow - the specified rowlevel - the specified group level
-1 if not availablepublic int getGroupFirstRow(int row)
getGroupFirstRow in interface GroupedTablegetGroupFirstRow in class AbstractGroupedTablerow - the specified row
-1 if not availablepublic int getGroupLastRow(int row)
getGroupLastRow in interface GroupedTablegetGroupLastRow in class AbstractGroupedTablerow - the specified row
-1 if not availablepublic int[] getAvailableLevels(int row)
getAvailableLevels in interface GroupedTablegetAvailableLevels in class AbstractGroupedTablerow - the specified row
public boolean moreRows(int row)
moreRows in interface XTablemoreRows in class AbstractTableLensrow - row number.
public int getRowCount()
getRowCount in interface XTablepublic int getColCount()
getColCount in interface XTablepublic int getHeaderRowCount()
getHeaderRowCount in interface XTablegetHeaderRowCount in class AbstractTableLenspublic int getHeaderColCount()
getHeaderColCount in interface XTablegetHeaderColCount in class AbstractTableLenspublic int getTrailerRowCount()
getTrailerRowCount in interface XTablegetTrailerRowCount in class AbstractTableLenspublic int getTrailerColCount()
getTrailerColCount in interface XTablegetTrailerColCount in class AbstractTableLenspublic int getRowHeight(int row)
getRowHeight in interface TableLensgetRowHeight in class AbstractTableLenspublic int getColWidth(int col)
getColWidth in interface TableLensgetColWidth in class AbstractTableLenspublic Class getColType(int col)
getColType in interface XTablegetColType in class AbstractTableLenscol - column number.
public Color getRowBorderColor(int r,
int c)
getRowBorderColor in interface TableLensgetRowBorderColor in class AbstractTableLensr - row number.c - column number.
public Color getColBorderColor(int r,
int c)
getColBorderColor in interface TableLensgetColBorderColor in class AbstractTableLensr - row number.c - column number.
public int getRowBorder(int r,
int c)
getRowBorder in interface TableLensgetRowBorder in class AbstractTableLensr - row number.c - column number.
public int getColBorder(int r,
int c)
getColBorder in interface TableLensgetColBorder in class AbstractTableLensr - row number.c - column number.
public Insets getInsets(int r,
int c)
getInsets in interface TableLensgetInsets in class AbstractTableLensr - row number.c - column number.
public Dimension getSpan(int r,
int c)
getSpan in interface TableLensgetSpan in class AbstractGroupedTabler - row number.c - column number.
public int getAlignment(int r,
int c)
getAlignment in interface TableLensgetAlignment in class AbstractTableLensr - row number.c - column number.
public Font getFont(int r,
int c)
getFont in interface TableLensgetFont in class AbstractTableLensr - row number.c - column number.
public boolean isLineWrap(int r,
int c)
isLineWrap in interface TableLensisLineWrap in class AbstractTableLensr - row number.c - column number.
public Color getForeground(int r,
int c)
getForeground in interface TableLensgetForeground in class AbstractTableLensr - row number.c - column number.
public Color getBackground(int r,
int c)
getBackground in interface TableLensgetBackground in class AbstractTableLensr - row number.c - column number.
public Object getObject(int r,
int c)
getObject in interface XTabler - row number.c - column number.
public void setObject(int r,
int c,
Object v)
setObject in interface XTablesetObject in class AbstractTableLensr - row number.c - column number.v - cell value.public void dispose()
dispose in interface XTabledispose in class AbstractTableLenspublic Formula getGroupFormula(int col)
getGroupFormula in interface GroupedTablegetGroupFormula in class AbstractGroupedTablecol - column index in the grouped table.
public Formula getGrandFormula(int col)
getGrandFormula in interface GroupedTablegetGrandFormula in class AbstractGroupedTablecol - column index in the grouped table.
|
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 | ||||||||