org.gerhardb.lib.print
Class PageableImage

java.lang.Object
  extended by org.gerhardb.lib.print.PrintableBase
      extended by org.gerhardb.lib.print.PageableImage
All Implemented Interfaces:
java.awt.print.Pageable, java.awt.print.Printable, MediaPageable

public class PageableImage
extends PrintableBase

PrintableBase


Field Summary
 
Fields inherited from class org.gerhardb.lib.print.PrintableBase
centerX, centerY, DEFAULT_FOOTER, fontTheta, myBottomMargin, myBottomPictureMargin, myBuffGraphics, myDashed, myFontRenderContext, myLeftMargin, myNumberOfPages, myPBO, myPriorPageIndex, myRightMargin, myStroke, myTopMargin, myTopPictureMargin, PAGE_COUNT, PAGE_INDEX
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Fields inherited from interface java.awt.print.Pageable
UNKNOWN_NUMBER_OF_PAGES
 
Constructor Summary
PageableImage(java.lang.String description, java.awt.image.BufferedImage image)
           
 
Method Summary
protected  void drawPage(int pageIndex)
          Overriding superclass...
protected  void drawPageOLD(int pageIndex)
           
static void main(java.lang.String[] args)
           
 PrintableBase makeCopy()
           
 
Methods inherited from class org.gerhardb.lib.print.PrintableBase
convert, drawTestPage, getDoc, getFont, getMediaFormat, getNumberOfPages, getPageFormat, getPrintable, imprint, print, print, scaleDPI, scaleDPI, setPageFormat, showDebug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageableImage

public PageableImage(java.lang.String description,
                     java.awt.image.BufferedImage image)
Method Detail

makeCopy

public PrintableBase makeCopy()
Specified by:
makeCopy in class PrintableBase

drawPage

protected void drawPage(int pageIndex)
Overriding superclass...

Specified by:
drawPage in class PrintableBase

drawPageOLD

protected void drawPageOLD(int pageIndex)

main

public static void main(java.lang.String[] args)


Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.