|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.common.PrinterTask
public class PrinterTask
The PrinterTask class is responsible for starting a
PrinterJob's print function in a new thread. This class assumes that the
PrinterJob is pre-configured and ready for its print() method to be called.
| Constructor Summary | |
|---|---|
PrinterTask(PrintHelper printHelper)
Create a new instance of a PrinterTask. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the PrinterTask by calling the PrinterJob's cancel() method. |
void |
run()
Threads Runnable method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrinterTask(PrintHelper printHelper)
printHelper - print helper| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void cancel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||