|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PrintEvent.PrintEventType> com.levigo.jadice.printer.event.PrintEvent.PrintEventType
public static enum PrintEvent.PrintEventType
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |