Package com.teamdev.jxbrowser.print
Enum Class ColorModel
- All Implemented Interfaces:
Serializable,Comparable<ColorModel>,Constable
Color models used for printing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed in Brother BRScript3 color printer PPDs.Used in Brother BRScript3 color printer PPDs.Used in Brother color laser printer PPDs.Used in Brother color laser printer PPDs.Used in Canon CN printer PPDs.Used in Canon CN printer PPDs.Used in Canon CNIJ printer PPDs.Used in Canon CNIJ printer PPDs.kCMYPlusK represents CMY+K.Used in Samsung printer PPDs.Used in Samsung printer PPDs.Used in Epson printer PPDs.Used in Epson printer PPDs.Used in HP color printer PPDs.Used in HP color printer PPDs.Used in HP printer PPDs.Used in HP printer PPDs.Used in Konica Minolta printer PPDs.Used in Konica Minolta printer PPDs.Used in OKI printer PPDs.Used in OKI printer PPDs.Used in Foomatic PPDs.Used in Foomatic PPDs.Used in Canon printer PPDs.Used in Canon printer PPDs.Used in Canon printer PPDs.Used in Sharp printer PPDs.Used in Sharp printer PPDs.The color model is unknown.Used in Xerox printer PPDs.Used in Xerox printer PPDs.Used in Xerox printer PPDs.Used in Xerox printer PPDs. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorModelReturns the enum constant of this class with the specified name.static ColorModel[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNKNOWN
The color model is unknown. -
GRAY
-
COLOR
-
CMYK
-
CMY
-
KCMY
-
CMYPlusK
kCMYPlusK represents CMY+K. -
BLACK
-
GRAYSCALE
-
RGB
-
RGB16
-
RGBA
-
COLOR_MODE_COLOR
Used in Samsung printer PPDs. -
COLOR_MODE_MONOCHROME
Used in Samsung printer PPDs. -
HP_COLOR_COLOR
Used in HP color printer PPDs. -
HP_COLOR_BLACK
Used in HP color printer PPDs. -
PRINTOUT_MODE_NORMAL
Used in Foomatic PPDs. -
PRINTOUT_MODE_NORMAL_GRAY
Used in Foomatic PPDs. -
PROCESS_COLOR_MODEL_CMYK
Used in Canon printer PPDs. -
PROCESS_COLOR_MODEL_GREYSCALE
Used in Canon printer PPDs. -
PROCESS_COLOR_MODEL_RGB
Used in Canon printer PPDs. -
BROTHER_CUPS_COLOR
Used in Brother color laser printer PPDs. -
BROTHER_CUPS_MONO
Used in Brother color laser printer PPDs. -
BROTHER_BR_SCRIPT_3_COLOR
Used in Brother BRScript3 color printer PPDs. -
BROTHER_BR_SCRIPT_3_BLACK
Used in Brother BRScript3 color printer PPDs. -
EPSON_INK_COLOR
Used in Epson printer PPDs. -
EPSON_INK_MONO
Used in Epson printer PPDs. -
SHARP_ARC_MODE_CM_COLOR
Used in Sharp printer PPDs. -
SHARP_ARC_MODE_CM_BW
Used in Sharp printer PPDs. -
XEROX_XRX_COLOR_AUTOMATIC
Used in Xerox printer PPDs. -
XEROX_XRX_COLOR_BW
Used in Xerox printer PPDs. -
CANON_CN_COLOR_MODE_COLOR
Used in Canon CN printer PPDs. -
CANON_CN_COLOR_MODE_MONO
Used in Canon CN printer PPDs. -
CANON_CNIJ_GRAY_SCALE_ONE
Used in Canon CNIJ printer PPDs. -
CANON_CNIJ_GRAY_SCALE_ZERO
Used in Canon CNIJ printer PPDs. -
KONICA_MINOLTA_SELECT_COLOR_COLOR
Used in Konica Minolta printer PPDs. -
KONICA_MINOLTA_SELECT_COLOR_GRAYSCALE
Used in Konica Minolta printer PPDs. -
OKI_OK_CONTROL_COLOR
Used in OKI printer PPDs. -
OKI_OK_CONTROL_GRAY
Used in OKI printer PPDs. -
XEROX_XR_OUTPUT_CONTROL_PRINT_AS_COLOR
Used in Xerox printer PPDs. -
XEROX_XR_OUTPUT_CONTROL_PRINT_AS_GRAYSCALE
Used in Xerox printer PPDs. -
HP_PJL_COLOR_AS_GRAY_NO
Used in HP printer PPDs. -
HP_PJL_COLOR_AS_GRAY_YES
Used in HP printer PPDs.
-
-
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
-