com.jgoodies.uifextras.printing
Class PrintManager

java.lang.Object
  extended by com.jgoodies.uifextras.printing.PrintManager

public final class PrintManager
extends Object

The PrintManager prints instances of PrintableDocument. It creates the necessary print job and handles problems. The printing is delegated back to the PrintableDocument. Also, it provides behavior for opening a page setup dialog.

Version:
$Revision: 1.7 $
Author:
Karsten Lentzsch

Method Summary
static PageFormat getPageFormat()
          Returns the current PageFormat.
static void openPageSetupDialog()
          Opens the default page setup dialog using the current page format.
static void setPageFormat(PageFormat pf)
          Sets the current PageFormat.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPageFormat

public static PageFormat getPageFormat()
Returns the current PageFormat.


setPageFormat

public static void setPageFormat(PageFormat pf)
Sets the current PageFormat.


openPageSetupDialog

public static void openPageSetupDialog()
Opens the default page setup dialog using the current page format.



Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.