gistoolkit.display
Class PrintMap

java.lang.Object
  extended bygistoolkit.display.PrintMap
All Implemented Interfaces:
java.awt.print.Printable

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

Object for handling printing call backs from the printing subsystem.


Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
PrintMap(GISDisplay inDisplay)
          Creates new PrintMap
 
Method Summary
 void print()
          Send this graphic to the printer.
 int print(java.awt.Graphics g, java.awt.print.PageFormat pageFormat, int page)
          Prints the map on the given graphics context with the given page format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintMap

public PrintMap(GISDisplay inDisplay)
Creates new PrintMap

Method Detail

print

public void print()
Send this graphic to the printer.


print

public int print(java.awt.Graphics g,
                 java.awt.print.PageFormat pageFormat,
                 int page)
Prints the map on the given graphics context with the given page format.

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