net.sourceforge.ganttproject
Class GanttPrintable

java.lang.Object
  |
  +--net.sourceforge.ganttproject.GanttPrintable
All Implemented Interfaces:
java.awt.print.Printable

public class GanttPrintable
extends java.lang.Object
implements java.awt.print.Printable

Class able to print an image


Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
GanttPrintable(java.awt.image.BufferedImage image)
          Constructor
 
Method Summary
 int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex)
          Print the page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GanttPrintable

public GanttPrintable(java.awt.image.BufferedImage image)
Constructor

Method Detail

print

public int print(java.awt.Graphics graphics,
                 java.awt.print.PageFormat pageFormat,
                 int pageIndex)
Print the page

Specified by:
print in interface java.awt.print.Printable


Copyright © 2002 Alexandre THOMAS.