issrg.editor2
Class PrintUtilities
java.lang.Object
issrg.editor2.PrintUtilities
- All Implemented Interfaces:
- java.awt.print.Printable
public class PrintUtilities
- extends java.lang.Object
- implements java.awt.print.Printable
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Constructor Summary |
PrintUtilities(java.awt.Component componentToBePrinted)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintUtilities
public PrintUtilities(java.awt.Component componentToBePrinted)
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)