Class JESPrintable
java.lang.Object
JESPrintable
- All Implemented Interfaces:
- java.awt.print.Printable
public abstract class JESPrintable
- extends java.lang.Object
- implements java.awt.print.Printable
This is a simple wrapper for java.awt.print.Printable that passes on
the print() call to a printPage() method. This must be done because
Jython 2.5 doesn't let you define a method named print.
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Method Summary |
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
|
abstract int |
printPage(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JESPrintable
public JESPrintable()
printPage
public abstract int printPage(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
print
public int print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
- Specified by:
print
in interface java.awt.print.Printable