IPrintDriver.MultiThreadPrinting Interface

com.bea.ide.document
IPrintDriver.MultiThreadPrinting Interface

public static interface IPrintDriver.MultiThreadPrinting

Implementing classes may optionally implement this as well if the document types can safely print off the AWT thread.

Enclosing interface

IPrintDriver

Method Summary

public boolean
beginThreadPrinting()
Called before printing on a second thread begins.
public void
endThreadPrinting()
Called at the conclusion of any multi-threaded printing.

Method Detail

beginThreadPrinting() Method

public boolean beginThreadPrinting()
Called before printing on a second thread begins. If the print driver implementation returns false, it does not support multi-threaded printing.

Returns

true if the document may be printed off of the AWT event thread.

endThreadPrinting() Method

public void endThreadPrinting()
Called at the conclusion of any multi-threaded printing.