Liking cljdoc? Tell your friends :D

javax.print.event.PrintJobEvent

Class PrintJobEvent encapsulates common events a print job reports to let a listener know of progress in the processing of the DocPrintJob.

Class PrintJobEvent encapsulates common events a print job
reports to let a listener know of progress in the processing of the
DocPrintJob.
raw docstring

*-data-transfer-completeclj

Static Constant.

The job is not necessarily printed yet, but the data has been transferred successfully from the client to the print service. The client may free data resources.

type: int

Static Constant.

The job is not necessarily printed yet, but the data has been transferred
 successfully from the client to the print service. The client may
 free data resources.

type: int
raw docstring

*-job-canceledclj

Static Constant.

The job was canceled by the PrintService.

type: int

Static Constant.

The job was canceled by the PrintService.

type: int
raw docstring

*-job-completeclj

Static Constant.

The document cis completely printed.

type: int

Static Constant.

The document cis completely printed.

type: int
raw docstring

*-job-failedclj

Static Constant.

The print service reports that the job cannot be completed. The application must resubmit the job.

type: int

Static Constant.

The print service reports that the job cannot be completed.
 The application must resubmit the job.

type: int
raw docstring

*-no-more-eventsclj

Static Constant.

Not all print services may be capable of delivering interesting events, or even telling when a job is complete. This message indicates the print job has no further information or communication with the print service. This message should always be delivered if a terminal event (completed/failed/canceled) is not delivered. For example, if messages such as JOB_COMPLETE have NOT been received before receiving this message, the only inference that should be drawn is that the print service does not support delivering such an event.

type: int

Static Constant.

Not all print services may be capable of delivering interesting
 events, or even telling when a job is complete. This message indicates
 the print job has no further information or communication
 with the print service. This message should always be delivered
 if a terminal event (completed/failed/canceled) is not delivered.
 For example, if messages such as JOB_COMPLETE have NOT been received
 before receiving this message, the only inference that should be drawn
 is that the print service does not support delivering such an event.

type: int
raw docstring

*-requires-attentionclj

Static Constant.

The print service indicates that a - possibly transient - problem may require external intervention before the print service can continue. One example of an event that can generate this message is when the printer runs out of paper.

type: int

Static Constant.

The print service indicates that a - possibly transient - problem
 may require external intervention before the print service can
 continue.  One example of an event that can
 generate this message is when the printer runs out of paper.

type: int
raw docstring

->print-job-eventclj

(->print-job-event source reason)

Constructor.

Constructs a PrintJobEvent object.

source - a DocPrintJob object - javax.print.DocPrintJob reason - an int specifying the reason. - int

throws: java.lang.IllegalArgumentException - if source is null.

Constructor.

Constructs a PrintJobEvent object.

source - a DocPrintJob object - `javax.print.DocPrintJob`
reason - an int specifying the reason. - `int`

throws: java.lang.IllegalArgumentException - if source is null.
raw docstring

get-print-event-typeclj

(get-print-event-type this)

Gets the reason for this event.

returns: reason int. - int

Gets the reason for this event.

returns: reason int. - `int`
raw docstring

get-print-jobclj

(get-print-job this)

Determines the DocPrintJob to which this print job event pertains.

returns: the DocPrintJob object that represents the print job that reports the events encapsulated by this PrintJobEvent. - javax.print.DocPrintJob

Determines the DocPrintJob to which this print job
 event pertains.

returns: the DocPrintJob object that represents the
          print job that reports the events encapsulated by this
          PrintJobEvent. - `javax.print.DocPrintJob`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close