public class IlvGanttPrintingController extends IlvPrintingController
IlvGanttPrintableDocument.| Constructor and Description |
|---|
IlvGanttPrintingController(IlvGanttPrintableDocument document)
Creates an
IlvGanttPrintingController for the specified
IlvGanttPrintableDocument. |
IlvGanttPrintingController(IlvHierarchyChart chart)
Creates an
IlvGanttPrintingController for the specified
IlvHierarchyChart. |
| 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
IlvGanttPrintableDocument 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 IlvGanttPrintingController(IlvHierarchyChart chart)
IlvGanttPrintingController for the specified
IlvHierarchyChart. The method creates an IlvGanttPrintableDocument with page oriented in landscape and two pages per band.chart - The IlvHierarchyChart to print.SecurityException - in applet mode, if the user does not grant
access to the printerpublic IlvGanttPrintingController(IlvGanttPrintableDocument document)
IlvGanttPrintingController for the specified
IlvGanttPrintableDocument.document - The IlvGanttPrintableDocument that
defines the contents to be printed.public void setDocument(IlvPrintableDocument document)
IlvGanttPrintableDocument 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 IlvGanttDocumentSetupDialog.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.