public class IlvChartPrintingController extends IlvPrintingController
IlvChartPrintableDocument.| Constructor and Description |
|---|
IlvChartPrintingController(IlvChart chart)
Creates a
IlvChartPrintingController for the specified
IlvChart. |
IlvChartPrintingController(IlvChartPrintableDocument document)
Creates a
IlvChartPrintingController for the specified
IlvChartPrintableDocument . |
| Modifier and Type | Method and Description |
|---|---|
IlvDocumentSetupDialog |
createSetupDialog(Window owner,
boolean printButton,
boolean printPreviewButton)
Creates an
IlvDocumentSetupDialog for
editing the parameters of the document. |
void |
setDocument(IlvPrintableDocument document)
Changes the
IlvChartPrintableDocument to be printed. |
addPropertyChangeListener, addPropertyChangeListener, cleanPrintPreview, createPrintPreviewWindow, firePropertyChange, getComponentOrientation, getDefaultPageFormat, getDefaultPaperFormat, getDocument, getPreparedPrinterJob, getPreviewMode, getPrinterJob, isAutoDateUpdating, pageDialog, print, printDialog, printPreview, removePropertyChangeListener, removePropertyChangeListener, setAutoDateUpdating, setComponentOrientation, setLookAndFeel, setPreviewMode, setupDialogpublic IlvChartPrintingController(IlvChart chart)
IlvChartPrintingController for the specified
IlvChart. The method creates a IlvChartPrintableDocument
with page oriented in landscape.chart - The IlvChart to print.SecurityException - in applet mode, if the user does not grant
access to the printerpublic IlvChartPrintingController(IlvChartPrintableDocument document)
IlvChartPrintingController for the specified
IlvChartPrintableDocument .document - The IlvChartPrintableDocument that
defines the contents to be printed.public void setDocument(IlvPrintableDocument document)
IlvChartPrintableDocument to be printed.
This method refreshes the preview of the document if it is visible.setDocument in class IlvPrintingControllerdocument - The document that defines the contents to be printed.public IlvDocumentSetupDialog createSetupDialog(Window owner, boolean printButton, boolean printPreviewButton)
IlvDocumentSetupDialog for
editing the parameters of the document.
This method creates an instance of IlvChartDocumentSetupDialog.createSetupDialog in class IlvPrintingControllerowner - The owner of the dialog.printButton - Indicates if a button must be added to
the dialog to print the content of the document.printPreviewButton - Indicates if a button must be added
to the dialog to open the 'Print Preview' dialog.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.