Package limn.backend
Enum Class PrintResult
- All Implemented Interfaces:
Serializable,Comparable<PrintResult>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe user closed the system's dialog without printing.The system was asked and refused or failed; the reason is logged atWARNING.The system's dialog was confirmed and the system took the job.Nothing was asked: there is no printing under this window (a headless or embedded window, a Linux desktop with no print portal), or the window had closed. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrintResultReturns the enum constant of this class with the specified name.static PrintResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRINTED
The system's dialog was confirmed and the system took the job. -
CANCELLED
The user closed the system's dialog without printing. -
UNAVAILABLE
Nothing was asked: there is no printing under this window (a headless or embedded window, a Linux desktop with no print portal), or the window had closed. -
FAILED
The system was asked and refused or failed; the reason is logged atWARNING.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-