public class IlvManagerPrintingController extends IlvPrintingController
IlvManagerPrintableDocument
.Constructor and Description |
---|
IlvManagerPrintingController(IlvManagerView view)
Creates a
IlvManagerPrintingController . |
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 document of this controller.
|
addPropertyChangeListener, addPropertyChangeListener, cleanPrintPreview, createPrintPreviewWindow, firePropertyChange, getComponentOrientation, getDefaultPageFormat, getDefaultPaperFormat, getDocument, getPreparedPrinterJob, getPreviewMode, getPrinterJob, isAutoDateUpdating, pageDialog, print, printDialog, printPreview, removePropertyChangeListener, removePropertyChangeListener, setAutoDateUpdating, setComponentOrientation, setLookAndFeel, setPreviewMode, setupDialog
public IlvManagerPrintingController(IlvManagerView view)
IlvManagerPrintingController
.
This methods creates an IlvManagerPrintableDocument
for the
specified view.view
- The view to be printed.SecurityException
- in applet mode, if the user does not grant
access to the printerpublic void setDocument(IlvPrintableDocument document)
setDocument
in class IlvPrintingController
document
- The document 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 IlvManagerDocumentSetupDialog
.createSetupDialog
in class IlvPrintingController
owner
- 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.