jfig.utils
Class PrintTexturePaint

java.lang.Object
  extended byjfig.utils.PrintTexturePaint
All Implemented Interfaces:
java.awt.print.Printable

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

Simple demonstration for crazy texture paint printing on JDK 1.3


Field Summary
(package private) static int count
           
(package private)  java.awt.Frame f
           
(package private)  java.awt.Image icon
           
(package private)  java.awt.Button lButton
           
(package private)  java.awt.Button pButton
           
(package private)  java.awt.Image textures
           
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
PrintTexturePaint()
           
 
Method Summary
 void doPrint(boolean isLandscape)
           
static void main(java.lang.String[] argv)
           
 int print(java.awt.Graphics _g, java.awt.print.PageFormat pf, int pagenum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f

java.awt.Frame f

lButton

java.awt.Button lButton

pButton

java.awt.Button pButton

icon

java.awt.Image icon

textures

java.awt.Image textures

count

static int count
Constructor Detail

PrintTexturePaint

public PrintTexturePaint()
Method Detail

doPrint

public void doPrint(boolean isLandscape)

print

public int print(java.awt.Graphics _g,
                 java.awt.print.PageFormat pf,
                 int pagenum)
          throws java.awt.print.PrinterException
Specified by:
print in interface java.awt.print.Printable
Throws:
java.awt.print.PrinterException

main

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