Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataView.gui
Class PrintDialogsAdapter

java.lang.Object
  |
  +--oracle.dss.dataView.gui.PrintDialogsAdapter
All Implemented Interfaces:
PreviewDialogProvider, PrintDialogsProvider

public class PrintDialogsAdapter
extends java.lang.Object
implements PrintDialogsProvider, PreviewDialogProvider

This is the default adapter class that implements PrintDialogsProvider and PreviewDialogProvider interfaces.


Constructor Summary
PrintDialogsAdapter(ViewPrinter printer, PrintDialog dialog, java.awt.print.PrinterJob printerJob)
           

 

Method Summary
 oracle.bali.ewt.help.HelpProvider getHelpProvider()
          Gets the Help provider for this panel.
 void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
          Sets the Help provider for this panel.
 void setLocale(java.util.Locale loc)
          set locale of the font
 void showPageSetupDialog(java.awt.Frame f)
          Retrives the PageSetupDialog to be displayed when pageSetup button is pressed in the preview dilaog.
 void showPreviewDialog(java.awt.Frame f)
          Retrives the PreviewDialog to be displayed when preview button is pressed in the print dialog or pageSetup dialog.
 void showPrintDialog(java.awt.Frame f)
          This method shows system print dialog if the SystemPrintDialogDisplayed property is true on the Print dialog.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PrintDialogsAdapter

public PrintDialogsAdapter(ViewPrinter printer,
PrintDialog dialog,
                           java.awt.print.PrinterJob printerJob)
Method Detail

showPrintDialog

public void showPrintDialog(java.awt.Frame f)
This method shows system print dialog if the SystemPrintDialogDisplayed property is true on the Print dialog. Otherwise printing is initiated.
Specified by:
showPrintDialog in interface PrintDialogsProvider
Parameters:
f - the frame from which the print dialog should be displayed.

showPageSetupDialog

public void showPageSetupDialog(java.awt.Frame f)
Retrives the PageSetupDialog to be displayed when pageSetup button is pressed in the preview dilaog.
Specified by:
showPageSetupDialog in interface PrintDialogsProvider
Parameters:
f - the frame from which the print dialog should be displayed.

showPreviewDialog

public void showPreviewDialog(java.awt.Frame f)
Retrives the PreviewDialog to be displayed when preview button is pressed in the print dialog or pageSetup dialog.
Specified by:
showPreviewDialog in interface PreviewDialogProvider
Parameters:
f - the frame from which the print dialog should be displayed.

setHelpProvider

public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
Sets the Help provider for this panel.

getHelpProvider

public oracle.bali.ewt.help.HelpProvider getHelpProvider()
Gets the Help provider for this panel.

setLocale

public void setLocale(java.util.Locale loc)
set locale of the font

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.