RingJavafor Ring

javax.print.event

8 classes of the module java.desktop.

Load them with:

using {
	"javax.print.event"
}

All packages

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

MethodRing callJava overloads
printDataTransferCompletedprintDataTransferCompleted(pje)void printDataTransferCompleted(PrintJobEvent pje)
printJobCanceledprintJobCanceled(pje)void printJobCanceled(PrintJobEvent pje)
printJobCompletedprintJobCompleted(pje)void printJobCompleted(PrintJobEvent pje)
printJobFailedprintJobFailed(pje)void printJobFailed(PrintJobEvent pje)
printJobNoMoreEventsprintJobNoMoreEvents(pje)void printJobNoMoreEvents(PrintJobEvent pje)
printJobRequiresAttentionprintJobRequiresAttention(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

MethodRing callJava overloads
getAttributesgetAttributes()PrintJobAttributeSet getAttributes()
getPrintJobgetPrintJob()DocPrintJob getPrintJob()

The methods and fields of PrintEvent are inherited.

PrintJobAttributeListener#

interface · javax.print.event.PrintJobAttributeListener

Methods

MethodRing callJava overloads
attributeUpdateattributeUpdate(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

NameTypeAccessIn Ring
JOB_CANCELEDintconstant · statico.JOB_CANCELED
JOB_COMPLETEintconstant · statico.JOB_COMPLETE
JOB_FAILEDintconstant · statico.JOB_FAILED
REQUIRES_ATTENTIONintconstant · statico.REQUIRES_ATTENTION
NO_MORE_EVENTSintconstant · statico.NO_MORE_EVENTS
DATA_TRANSFER_COMPLETEintconstant · statico.DATA_TRANSFER_COMPLETE

Methods

MethodRing callJava overloads
getPrintEventTypegetPrintEventType()int getPrintEventType()
getPrintJobgetPrintJob()DocPrintJob getPrintJob()

The methods and fields of PrintEvent are inherited.

PrintJobListener#

interface · javax.print.event.PrintJobListener

Methods

MethodRing callJava overloads
printDataTransferCompletedprintDataTransferCompleted(pje)void printDataTransferCompleted(PrintJobEvent pje)
printJobCanceledprintJobCanceled(pje)void printJobCanceled(PrintJobEvent pje)
printJobCompletedprintJobCompleted(pje)void printJobCompleted(PrintJobEvent pje)
printJobFailedprintJobFailed(pje)void printJobFailed(PrintJobEvent pje)
printJobNoMoreEventsprintJobNoMoreEvents(pje)void printJobNoMoreEvents(PrintJobEvent pje)
printJobRequiresAttentionprintJobRequiresAttention(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

MethodRing callJava overloads
getAttributesgetAttributes()PrintServiceAttributeSet getAttributes()
getPrintServicegetPrintService()PrintService getPrintService()

The methods and fields of PrintEvent are inherited.

PrintServiceAttributeListener#

interface · javax.print.event.PrintServiceAttributeListener

Methods

MethodRing callJava overloads
attributeUpdateattributeUpdate(psae)void attributeUpdate(PrintServiceAttributeEvent psae)
RingJava - use Java classes and methods from Ring programs.