public static enum PrintEvent.PrintEventType extends Enum<PrintEvent.PrintEventType>
Enum Constant and Description |
---|
ABORTED
Print job aborted.
|
ERROR
A PrintEvent of this type will be propagated, when the print job fails or another problem
occurs.
|
FINISHED
A PrintEvent of this type will be propagated, when the print job finished successfully.
|
PAGE
A PrintEvent of this type will be propagated, every time a page of the document is printed.
|
PREPARATION
The print process preparation started.
|
STARTED
Print job processing started.
|
Modifier and Type | Method and Description |
---|---|
static PrintEvent.PrintEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintEvent.PrintEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintEvent.PrintEventType PREPARATION
This is the very early entry point before a print process begin. It is before any pre-conditional print settings are collected and therefore before the pageformat and printer dialog will be shown.
public static final PrintEvent.PrintEventType STARTED
A PrintEvent of this type will be propagated, when all pre-conditional print settings, like a page format defined with over a page format dialog, are collected and the execution of the print job started.
public static final PrintEvent.PrintEventType PAGE
public static final PrintEvent.PrintEventType FINISHED
public static final PrintEvent.PrintEventType ABORTED
A PrintEvent of this type will be propagated, when the print job is canceled by the user.
public static final PrintEvent.PrintEventType ERROR
public static PrintEvent.PrintEventType[] values()
for (PrintEvent.PrintEventType c : PrintEvent.PrintEventType.values()) System.out.println(c);
public static PrintEvent.PrintEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 levigo holding gmbh. All rights reserved.