IPrintDriver Interface

com.bea.ide.document
IPrintDriver Interface

public interface IPrintDriver

    extends Pageable, Printable

Driver interface implemented by IDocumentView objects that allows printing of the document.


All Known Implementing Classes
DefaultPrintDriver
All Superinterfaces
Pageable, Printable

Nested Class Summary

public static interfaceIPrintDriver.Disabled
           This is a marker interface to prevent usage of the default print driver.
public static interfaceIPrintDriver.MultiThreadPrinting
           Implementing classes may optionally implement this as well if the document types can safely print off the AWT thread.

Field Summary

   
Fields from interface java.awt.print.Pageable
UNKNOWN_NUMBER_OF_PAGES
 
Fields from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 

Method Summary

public int
getNumberOfPages()
public PageFormat
getPageFormat(int pageNumber)
public Printable
getPrintable(int pageNumber)
public void
setDefaultFormat(PageFormat pf)
Set the default format for printing to the current printer.
 
Methods from interface java.awt.print.Printable
print
   

Method Detail

getNumberOfPages() Method

public int getNumberOfPages()

getPageFormat(int) Method

public PageFormat getPageFormat(int pageNumber)

getPrintable(int) Method

public Printable getPrintable(int pageNumber)

setDefaultFormat(PageFormat) Method

public void setDefaultFormat(PageFormat pf)
Set the default format for printing to the current printer.