org.rapla.components.iolayer
Class ComponentPrinter
java.lang.Object
org.rapla.components.iolayer.ComponentPrinter
- All Implemented Interfaces:
- Printable
public class ComponentPrinter
- extends Object
- implements Printable
Use this to print an awt-Component on one page.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentPrinter
public ComponentPrinter(Component c,
boolean scaleToFit)
print
public int print(Graphics g,
PageFormat format,
int pagenumber)
throws PrinterException
- Specified by:
print
in interface Printable
- Throws:
PrinterException
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.