1 |
/* PrintJobListener.java -- |
/* PrintJobListener.java -- |
2 |
Copyright (C) 2004 Free Software Foundation, Inc. |
Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
39 |
|
|
40 |
|
|
41 |
/** |
/** |
42 |
* @author Michael Koch (konqueror@gmx.de) */ |
* Listener interface to receive processing events from a print job. |
43 |
|
* Implementations of this interface can be registered with a |
44 |
|
* {@link javax.print.DocPrintJob} instance. |
45 |
|
* |
46 |
|
* @see javax.print.event.PrintJobAdapter |
47 |
|
* |
48 |
|
* @author Michael Koch (konqueror@gmx.de) |
49 |
|
*/ |
50 |
public interface PrintJobListener |
public interface PrintJobListener |
51 |
{ |
{ |
52 |
/** |
/** |
86 |
void printJobNoMoreEvents(PrintJobEvent event); |
void printJobNoMoreEvents(PrintJobEvent event); |
87 |
|
|
88 |
/** |
/** |
89 |
* Notifies the listener that an error occured and the user might be able to fix it. |
* Notifies the listener that a problem occured during printing. |
90 |
|
* This event signals problems a user might be able to fix |
91 |
|
* (e.g. out of paper or paper jam). |
92 |
* |
* |
93 |
* @param event the event |
* @param event the event |
94 |
*/ |
*/ |