org.jopendocument.util
Class PrintUtilities
java.lang.Object
org.jopendocument.util.PrintUtilities
- All Implemented Interfaces:
- Printable
public class PrintUtilities
- extends Object
- implements Printable
A simple way to print a component
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintUtilities
public PrintUtilities(Component componentToBePrinted)
printComponent
public static void printComponent(Component c)
print
public void print()
print
public int print(Graphics g,
PageFormat pageFormat,
int pageIndex)
- Specified by:
print
in interface Printable
disableDoubleBuffering
public static void disableDoubleBuffering(Component c)
- Disable double buffering painting of a Component
- Parameters:
c
- the component
enableDoubleBuffering
public static void enableDoubleBuffering(Component c)
- Enable double buffering painting of a Component
- Parameters:
c
- the component
Copyright © 2010 jOpenDocument All Rights Reserved.