javax.print.event
8 classes of the module java.desktop.
Load them with:
using {
"javax.print.event"
}
PrintEvent#
class · extends EventObject · javax.print.event.PrintEvent
Constructors
new PrintEvent(Object source) |
Ring: new PrintEvent(args) uses the constructor with the fewest parameters (at least one); new PrintEvent makes the object with the constructor without parameters; the others: (new PrintEvent).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of EventObject are inherited.
PrintJobAdapter#
abstract · extends Object · javax.print.event.PrintJobAdapter
Implements: PrintJobListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
printDataTransferCompleted | printDataTransferCompleted(pje) | void printDataTransferCompleted(PrintJobEvent pje) |
printJobCanceled | printJobCanceled(pje) | void printJobCanceled(PrintJobEvent pje) |
printJobCompleted | printJobCompleted(pje) | void printJobCompleted(PrintJobEvent pje) |
printJobFailed | printJobFailed(pje) | void printJobFailed(PrintJobEvent pje) |
printJobNoMoreEvents | printJobNoMoreEvents(pje) | void printJobNoMoreEvents(PrintJobEvent pje) |
printJobRequiresAttention | printJobRequiresAttention(pje) | void printJobRequiresAttention(PrintJobEvent pje) |
The methods and fields of Object are inherited.
PrintJobAttributeEvent#
class · extends PrintEvent · javax.print.event.PrintJobAttributeEvent
Constructors
new PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes) |
Ring: new PrintJobAttributeEvent(args) uses the constructor with the fewest parameters (at least one); new PrintJobAttributeEvent makes the object with the constructor without parameters; the others: (new PrintJobAttributeEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | PrintJobAttributeSet getAttributes() |
getPrintJob | getPrintJob() | DocPrintJob getPrintJob() |
The methods and fields of PrintEvent are inherited.
PrintJobAttributeListener#
interface · javax.print.event.PrintJobAttributeListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeUpdate | attributeUpdate(pjae) | void attributeUpdate(PrintJobAttributeEvent pjae) |
PrintJobEvent#
class · extends PrintEvent · javax.print.event.PrintJobEvent
Constructors
new PrintJobEvent(DocPrintJob source, int reason) |
Ring: new PrintJobEvent(args) uses the constructor with the fewest parameters (at least one); new PrintJobEvent makes the object with the constructor without parameters; the others: (new PrintJobEvent).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
JOB_CANCELED | int | constant · static | o.JOB_CANCELED |
JOB_COMPLETE | int | constant · static | o.JOB_COMPLETE |
JOB_FAILED | int | constant · static | o.JOB_FAILED |
REQUIRES_ATTENTION | int | constant · static | o.REQUIRES_ATTENTION |
NO_MORE_EVENTS | int | constant · static | o.NO_MORE_EVENTS |
DATA_TRANSFER_COMPLETE | int | constant · static | o.DATA_TRANSFER_COMPLETE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPrintEventType | getPrintEventType() | int getPrintEventType() |
getPrintJob | getPrintJob() | DocPrintJob getPrintJob() |
The methods and fields of PrintEvent are inherited.
PrintJobListener#
interface · javax.print.event.PrintJobListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
printDataTransferCompleted | printDataTransferCompleted(pje) | void printDataTransferCompleted(PrintJobEvent pje) |
printJobCanceled | printJobCanceled(pje) | void printJobCanceled(PrintJobEvent pje) |
printJobCompleted | printJobCompleted(pje) | void printJobCompleted(PrintJobEvent pje) |
printJobFailed | printJobFailed(pje) | void printJobFailed(PrintJobEvent pje) |
printJobNoMoreEvents | printJobNoMoreEvents(pje) | void printJobNoMoreEvents(PrintJobEvent pje) |
printJobRequiresAttention | printJobRequiresAttention(pje) | void printJobRequiresAttention(PrintJobEvent pje) |
PrintServiceAttributeEvent#
class · extends PrintEvent · javax.print.event.PrintServiceAttributeEvent
Constructors
new PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes) |
Ring: new PrintServiceAttributeEvent(args) uses the constructor with the fewest parameters (at least one); new PrintServiceAttributeEvent makes the object with the constructor without parameters; the others: (new PrintServiceAttributeEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | PrintServiceAttributeSet getAttributes() |
getPrintService | getPrintService() | PrintService getPrintService() |
The methods and fields of PrintEvent are inherited.
PrintServiceAttributeListener#
interface · javax.print.event.PrintServiceAttributeListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeUpdate | attributeUpdate(psae) | void attributeUpdate(PrintServiceAttributeEvent psae) |