|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.dataView.ViewPrinter | +--oracle.dss.gridView.GridViewPrinter
Class for printing or previewing tables and crosstabs.
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Constructor Summary | |
GridViewPrinter(GridView gv) Constructor |
Method Summary | |
boolean |
isRepeatHeaders() Indicates whether the column and row headers are displayed on every physical page, when a table or crosstab is printed on multiple physical pages. |
boolean |
setLogicalPage(int[] hPos) Specifies the logical page to print, when you use the printPage method to print. |
void |
setRepeatHeaders(boolean repeat) Specifies whether to display the column and row headers on every physical page, when a table or crosstab is printed on multiple physical pages. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GridViewPrinter(GridView gv)
gv
- The GridView
that this GridViewPrinter
will print.Method Detail |
public void setRepeatHeaders(boolean repeat)
When RepeatHeaders
is true
, then the title, subtitle, footnote, and paging component are also repeated on each page.
When RepeatHeaders
is false
, then the title, subtitle, and paging component appear only on the first page. The footnote appears only on the last page. The column headers appear only on pages that display the first column, and the row headers appear only on pages that display the first row.
setRepeatHeaders
in class ViewPrinter
repeat
- true
to repeat row and column headers and titles, false
to prevent repeating.public boolean isRepeatHeaders()
When RepeatHeaders
is true
, then the title, subtitle, footnote, and paging component are also repeated on each page.
When RepeatHeaders
is false
, then the title, subtitle, and paging component appear only on the first page. The footnote appears only on the last page. The column headers appear only on pages that display the first column, and the row headers appear only on pages that display the first row.
isRepeatHeaders
in class ViewPrinter
repeat
- true
if row and column headers and titles appear on each page, false
if they do not.public boolean setLogicalPage(int[] hPos)
printPage
method to print. Call this method after you call the startPrint
method for each view that you print.setLogicalPage
in class ViewPrinter
hPos
- The hPos
array that identifies the logical page to print.true
if the logical page has been set, false
if the data in the view is not available to this GridViewPrinter
.CrosstabPrinter.printPage(java.awt.Graphics)
, CrosstabPrinter.printPage(Graphics, DataSubsetRecord)
, TablePrinter.printPage(Graphics)
, TablePrinter.printPage(Graphics, DataSubsetRecord)
, PrintDialog
, DataAccess.getFirstHPos(int)
, DataAccess.getNextHPos(int, int[])
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |