|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.print.event.PrintEvent
javax.print.event.PrintJobEvent
public class PrintJobEvent
PrintJobEvent
s are generated by a print job during
print job processing to inform registered listeners about the state
of processing.
Field Summary | |
---|---|
static int |
DATA_TRANSFER_COMPLETE
Indicates that the data transfer to the print service has completed. |
static int |
JOB_CANCELED
Indicates that the print job was canceled. |
static int |
JOB_COMPLETE
Indicates that the print job was completed (=printed). |
static int |
JOB_FAILED
Indicates that the print job failed to complete. |
static int |
NO_MORE_EVENTS
Indicates that no more job events will be send. |
static int |
REQUIRES_ATTENTION
Indicates a situation where human intervention might be needed. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
PrintJobEvent(DocPrintJob source,
int reason)
Constructs a PrintJobEvent object. |
Method Summary | |
---|---|
int |
getPrintEventType()
Returns the reason for this event. |
DocPrintJob |
getPrintJob()
Returns the print job that generated this event. |
Methods inherited from class javax.print.event.PrintEvent |
---|
toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DATA_TRANSFER_COMPLETE
public static final int JOB_CANCELED
public static final int JOB_COMPLETE
public static final int JOB_FAILED
public static final int NO_MORE_EVENTS
public static final int REQUIRES_ATTENTION
Constructor Detail |
---|
public PrintJobEvent(DocPrintJob source, int reason)
PrintJobEvent
object.
source
- the source generating this eventreason
- the reason for this eventMethod Detail |
---|
public int getPrintEventType()
public DocPrintJob getPrintJob()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |