issrg.editor2
Class PrintUtilities

java.lang.Object
  extended by issrg.editor2.PrintUtilities
All Implemented Interfaces:
java.awt.print.Printable

public class PrintUtilities
extends java.lang.Object
implements java.awt.print.Printable


Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
PrintUtilities(java.awt.Component componentToBePrinted)
           
 
Method Summary
static void disableDoubleBuffering(java.awt.Component c)
           
static void enableDoubleBuffering(java.awt.Component c)
           
 void print()
           
 int print(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex)
           
static void printComponent(java.awt.Component c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintUtilities

public PrintUtilities(java.awt.Component componentToBePrinted)
Method Detail

printComponent

public static void printComponent(java.awt.Component c)

print

public void print()

print

public int print(java.awt.Graphics g,
                 java.awt.print.PageFormat pf,
                 int pageIndex)
Specified by:
print in interface java.awt.print.Printable

disableDoubleBuffering

public static void disableDoubleBuffering(java.awt.Component c)

enableDoubleBuffering

public static void enableDoubleBuffering(java.awt.Component c)