|
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.AttributeTableLens
inetsoft.report.lens.HeaderRowTableLens
public class HeaderRowTableLens
Header row table lens.
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.lens.AttributeTableLens |
|---|
alignmap, attritable, backgroundmap, cache, check, colborderCmap, colbordermap, fontmap, foregroundmap, insetsmap, linkmap, presentermap, rowborderCmap, rowbordermap, table, wrapmap |
| 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 | |
|---|---|
HeaderRowTableLens(TableLens table)
Create a table filter that can override the table header. |
|
HeaderRowTableLens(TableLens table,
int headerRowCount)
Create a table filter that can override the table header. |
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of this table. |
int |
getAlignment(int r,
int c)
Return the per cell alignment. |
Color |
getBackground(int r,
int c)
Return the per cell background color. |
int |
getBaseColIndex(int col)
Get the base table column index corresponding to the filtered table. |
int |
getBaseRowIndex(int row)
Get the base table row index corresponding to the filtered table. |
int |
getColBorder(int r,
int c)
Return the style for right border of the specified row. |
Color |
getColBorderColor(int r,
int c)
Return the color for drawing the column border lines. |
int |
getColCount()
Return the number of columns in the table. |
int |
getColWidth(int col)
Get the current column width setting. |
TableDataDescriptor |
getDescriptor()
Get internal table data descriptor which contains table structural infos. |
Font |
getFont(int r,
int c)
Return the per cell font. |
Color |
getForeground(int r,
int c)
Return the per cell foreground color. |
Object |
getHeader(Object col,
int row)
Get the column header. |
int |
getHeaderColCount()
Return the number of columns on the left of the table to be treated as header columns. |
int |
getHeaderRowCount()
Get the number of header rows. |
Hyperlink.Ref |
getHyperlink(int row,
int col)
Get hyperlink of a table cell. |
Insets |
getInsets(int r,
int c)
Return the cell gap space. |
Object |
getObject(int r,
int c)
Get the table cell value. |
int |
getRowBorder(int r,
int c)
Return the style for bottom border of the specified cell. |
Color |
getRowBorderColor(int r,
int c)
Return the color for drawing the row border lines. |
int |
getRowCount()
Return the number of rows in the table. |
int |
getRowHeight(int row)
Get the current row heights setting. |
Dimension |
getSpan(int r,
int c)
Return the spanning setting for the cell. |
boolean |
isLineWrap(int r,
int c)
Return the per cell line wrap mode. |
boolean |
moreRows(int row)
Check if there are more rows. |
void |
setData(int r,
int c,
Object val)
Return the data at the specified cell. |
void |
setHeader(Object col,
int row,
Object header)
Set the column header. |
void |
setHeaderRowCount(int headerRowCount)
Set the number of header rows. |
void |
setHeaders(FreehandLayout layout)
Set the headers from the table layout. |
void |
setObject(int r,
int c,
Object val)
Set a cell value. |
void |
setTable(TableLens table)
Set the base table to be used with the attribute table table. |
| Methods inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
addChangeListener, containsDrill, containsFormat, findColumnByIdentifier, fireChangeEvent, getBoolean, getByte, getDefaultFormat, 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, getXDrillInfo, removeChangeListener |
| Methods inherited from interface inetsoft.uql.XTable |
|---|
getBoolean, getByte, getDouble, getFloat, getInt, getLong, getShort, isNull, isPrimitive, setColumnIdentifier |
| Constructor Detail |
|---|
public HeaderRowTableLens(TableLens table)
table - the specified base table.
public HeaderRowTableLens(TableLens table,
int headerRowCount)
table - the specified base table.headerRowCount - the specified header row count.| Method Detail |
|---|
public void setHeaderRowCount(int headerRowCount)
setHeaderRowCount in class AttributeTableLensheaderRowCount - number of header rows.public void setHeaders(FreehandLayout layout)
public Object getHeader(Object col,
int row)
public void setTable(TableLens table)
setTable in interface TableFiltersetTable in class AttributeTableLenstable - base table.public TableDataDescriptor getDescriptor()
getDescriptor in interface TableLensgetDescriptor in interface XTablegetDescriptor in class AttributeTableLenspublic int getBaseRowIndex(int row)
getBaseRowIndex in interface TableFiltergetBaseRowIndex in class AttributeTableLensrow - row index in the filtered table.
public int getBaseColIndex(int col)
getBaseColIndex in interface TableFiltergetBaseColIndex in class AttributeTableLenscol - column index in the filtered table.
public void setHeader(Object col,
int row,
Object header)
public int getColCount()
getColCount in interface XTablegetColCount in class AttributeTableLenspublic int getHeaderRowCount()
getHeaderRowCount in interface XTablegetHeaderRowCount in class AttributeTableLenspublic int getHeaderColCount()
getHeaderColCount in interface XTablegetHeaderColCount in class AttributeTableLens
public Hyperlink.Ref getHyperlink(int row,
int col)
getHyperlink in class AttributeTableLensrow - the specified rowcol - the specified colpublic int getRowHeight(int row)
getRowHeight in interface TableLensgetRowHeight in class AttributeTableLenspublic int getColWidth(int col)
getColWidth in interface TableLensgetColWidth in class AttributeTableLens
public Color getRowBorderColor(int r,
int c)
getRowBorderColor in interface TableLensgetRowBorderColor in class AttributeTableLensr - row number.c - column number.
public Color getColBorderColor(int r,
int c)
getColBorderColor in interface TableLensgetColBorderColor in class AttributeTableLensr - row number.c - column number.
public int getRowBorder(int r,
int c)
getRowBorder in interface TableLensgetRowBorder in class AttributeTableLensr - row number.c - column number.
public int getColBorder(int r,
int c)
getColBorder in interface TableLensgetColBorder in class AttributeTableLensr - row number.c - column number.
public Insets getInsets(int r,
int c)
getInsets in interface TableLensgetInsets in class AttributeTableLensr - row number.c - column number.
public Dimension getSpan(int r,
int c)
getSpan in interface TableLensgetSpan in class AttributeTableLensr - row number.c - column number.
public int getAlignment(int r,
int c)
getAlignment in interface TableLensgetAlignment in class AttributeTableLensr - row number.c - column number.
public Font getFont(int r,
int c)
getFont in interface TableLensgetFont in class AttributeTableLensr - row number.c - column number.
public boolean isLineWrap(int r,
int c)
isLineWrap in interface TableLensisLineWrap in class AttributeTableLensr - row number.c - column number.
public Color getForeground(int r,
int c)
getForeground in interface TableLensgetForeground in class AttributeTableLensr - row number.c - column number.
public Color getBackground(int r,
int c)
getBackground in interface TableLensgetBackground in class AttributeTableLensr - row number.c - column number.
public Object getObject(int r,
int c)
getObject in interface XTablegetObject in class AttributeTableLensr - row number.c - column number.
public void setData(int r,
int c,
Object val)
setData in class AttributeTableLensr - row number.c - column number.val - cell value.
public void setObject(int r,
int c,
Object val)
setObject in interface XTablesetObject in class AttributeTableLensr - row index.c - column index.val - cell value.public int getRowCount()
getRowCount in interface XTablegetRowCount in class AttributeTableLenspublic boolean moreRows(int row)
moreRows in interface XTablemoreRows in class AttributeTableLensrow - row number.
public Object clone()
clone in class AttributeTableLens
|
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 | ||||||||