com.ajc.esim.gui.printing
Class EFDoc.PrintableDoc

java.lang.Object
  extended by com.ajc.esim.gui.printing.EFDoc.PrintableDoc
All Implemented Interfaces:
javax.print.Doc
Enclosing class:
EFDoc

 class EFDoc.PrintableDoc
extends java.lang.Object
implements javax.print.Doc


Constructor Summary
EFDoc.PrintableDoc(java.awt.print.Printable printable)
           
 
Method Summary
 javax.print.attribute.DocAttributeSet getAttributes()
           
 javax.print.DocFlavor getDocFlavor()
           
 java.lang.Object getPrintData()
           
 java.io.Reader getReaderForText()
           
 java.io.InputStream getStreamForBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EFDoc.PrintableDoc

public EFDoc.PrintableDoc(java.awt.print.Printable printable)
Method Detail

getAttributes

public javax.print.attribute.DocAttributeSet getAttributes()
Specified by:
getAttributes in interface javax.print.Doc

getDocFlavor

public javax.print.DocFlavor getDocFlavor()
Specified by:
getDocFlavor in interface javax.print.Doc

getPrintData

public java.lang.Object getPrintData()
                              throws java.io.IOException
Specified by:
getPrintData in interface javax.print.Doc
Throws:
java.io.IOException

getReaderForText

public java.io.Reader getReaderForText()
                                throws java.io.IOException
Specified by:
getReaderForText in interface javax.print.Doc
Throws:
java.io.IOException

getStreamForBytes

public java.io.InputStream getStreamForBytes()
                                      throws java.io.IOException
Specified by:
getStreamForBytes in interface javax.print.Doc
Throws:
java.io.IOException