ilog.views.print
Class IlvManagerPrintingController

java.lang.Object
  extended by ilog.views.util.print.IlvPrintingController
      extended by ilog.views.print.IlvManagerPrintingController
Direct Known Subclasses:
IlvMapPrintingController

public class IlvManagerPrintingController
extends IlvPrintingController

A Printing controller to control the printing of an IlvManagerPrintableDocument.

Since:
JViews 5.5

Constructor Summary
IlvManagerPrintingController(IlvManagerView view)
          Creates a IlvManagerPrintingController.
 
Method Summary
 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.
 
Methods inherited from class ilog.views.util.print.IlvPrintingController
addPropertyChangeListener, addPropertyChangeListener, createPrintPreviewWindow, firePropertyChange, getComponentOrientation, getDocument, getPreviewMode, getPrinterJob, pageDialog, print, printDialog, printPreview, removePropertyChangeListener, removePropertyChangeListener, setComponentOrientation, setLookAndFeel, setPreviewMode, setupDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvManagerPrintingController

public IlvManagerPrintingController(IlvManagerView view)
Creates a IlvManagerPrintingController. This methods creates an IlvManagerPrintableDocument for the specified view.

Parameters:
view - The view to be printed.
Method Detail

setDocument

public void setDocument(IlvPrintableDocument document)
Changes the document of this controller.

Overrides:
setDocument in class IlvPrintingController
Parameters:
document - The document to be printed.

createSetupDialog

public IlvDocumentSetupDialog createSetupDialog(Window owner,
                                                boolean printButton,
                                                boolean printPreviewButton)
Creates an IlvDocumentSetupDialog for editing the parameters of the document. This method creates an instance of IlvManagerDocumentSetupDialog.

Overrides:
createSetupDialog in class IlvPrintingController
Parameters:
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 © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.