endrov.windowLineage
Class PrintTest

java.lang.Object
  extended by endrov.core.EvPrint2D
      extended by endrov.windowLineage.PrintTest
All Implemented Interfaces:
java.awt.print.Printable

public class PrintTest
extends EvPrint2D


Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
PrintTest(java.io.File filename)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
static void main(java.lang.String[] args)
           
 void paintComponent(java.awt.Graphics2D g, double width, double height)
          Fill in the content.
 
Methods inherited from class endrov.core.EvPrint2D
print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintTest

public PrintTest(java.io.File filename)
          throws java.io.IOException,
                 javax.print.PrintException
Throws:
java.io.IOException
javax.print.PrintException
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

paintComponent

public void paintComponent(java.awt.Graphics2D g,
                           double width,
                           double height)
Description copied from class: EvPrint2D
Fill in the content. The size of the drawing area is (0,0) to (width,height)

Specified by:
paintComponent in class EvPrint2D

main

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