API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.event. PrintJobEvent View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      EventObject
          PrintEvent
              PrintJobEvent
Implements
Subclasses
Description
public class PrintJobEvent
Class PrintJobEvent encapsulates common events a print job reports to let a listener know of progress in the processing of the DocPrintJob.
See also:   
Constructors
public PrintJobEvent (DocPrintJob source, int reason)
  Constructs a PrintJobEvent object.
Methods
Hide/Show inherited methods
public int getPrintEventType ()
  Gets the reason for this event.
public DocPrintJob getPrintJob ()
  Determines the DocPrintJob to which this print job event pertains.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public String toString () [Inherited From PrintEvent]
 
Fields
Hide/Show inherited fields
publicfinalstatic int DATA_TRANSFER_COMPLETE = "106"
  The job is not necessarily printed yet, but the data has been transferred successfully from the client to the print service.
publicfinalstatic int JOB_CANCELED = "101"
The job was canceled by the PrintService.
publicfinalstatic int JOB_COMPLETE = "102"
The document cis completely printed.
publicfinalstatic int JOB_FAILED = "103"
  The print service reports that the job cannot be completed.
publicfinalstatic int NO_MORE_EVENTS = "105"
  Not all print services may be capable of delivering interesting events, or even telling when a job is complete.
publicfinalstatic int REQUIRES_ATTENTION = "104"
  The print service indicates that a - possibly transient - problem may require external intervention before the print service can continue.
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar