public enum ColorModel extends java.lang.Enum<ColorModel> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.print.ColorModel
Enum Constant and Description |
---|
BLACK |
BROTHER_BR_SCRIPT_3_BLACK
Used in Brother BRScript3 color printer PPDs.
|
BROTHER_BR_SCRIPT_3_COLOR
Used in Brother BRScript3 color printer PPDs.
|
BROTHER_CUPS_COLOR
Used in Brother color laser printer PPDs.
|
BROTHER_CUPS_MONO
Used in Brother color laser printer PPDs.
|
CMY |
CMYK |
CMYPlusK
kCMYPlusK represents CMY+K.
|
COLOR |
COLOR_MODE_COLOR
Used in Samsung printer PPDs.
|
COLOR_MODE_MONOCHROME
Used in Samsung printer PPDs.
|
COLOR_MODEL_UNSPECIFIED |
EPSON_INK_COLOR
Used in Epson printer PPDs.
|
EPSON_INK_MONO
Used in Epson printer PPDs.
|
GRAY |
GRAYSCALE |
HP_COLOR_BLACK
Used in HP color printer PPDs.
|
HP_COLOR_COLOR
Used in HP color printer PPDs.
|
KCMY |
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
|
RGB |
RGB16 |
RGBA |
SHARP_ARC_MODE_CM_BW
Used in Sharp printer PPDs.
|
SHARP_ARC_MODE_CM_COLOR
Used in Sharp printer PPDs.
|
UNRECOGNIZED |
XEROX_XRX_COLOR_AUTOMATIC
Used in Xerox printer PPDs.
|
XEROX_XRX_COLOR_BW
Used in Xerox printer PPDs.
|
Modifier and Type | Field and Description |
---|---|
static int |
BLACK_VALUE |
static int |
BROTHER_BR_SCRIPT_3_BLACK_VALUE
Used in Brother BRScript3 color printer PPDs.
|
static int |
BROTHER_BR_SCRIPT_3_COLOR_VALUE
Used in Brother BRScript3 color printer PPDs.
|
static int |
BROTHER_CUPS_COLOR_VALUE
Used in Brother color laser printer PPDs.
|
static int |
BROTHER_CUPS_MONO_VALUE
Used in Brother color laser printer PPDs.
|
static int |
CMY_VALUE |
static int |
CMYK_VALUE |
static int |
CMYPlusK_VALUE
kCMYPlusK represents CMY+K.
|
static int |
COLOR_MODE_COLOR_VALUE
Used in Samsung printer PPDs.
|
static int |
COLOR_MODE_MONOCHROME_VALUE
Used in Samsung printer PPDs.
|
static int |
COLOR_MODEL_UNSPECIFIED_VALUE |
static int |
COLOR_VALUE |
static int |
EPSON_INK_COLOR_VALUE
Used in Epson printer PPDs.
|
static int |
EPSON_INK_MONO_VALUE
Used in Epson printer PPDs.
|
static int |
GRAY_VALUE |
static int |
GRAYSCALE_VALUE |
static int |
HP_COLOR_BLACK_VALUE
Used in HP color printer PPDs.
|
static int |
HP_COLOR_COLOR_VALUE
Used in HP color printer PPDs.
|
static int |
KCMY_VALUE |
static int |
PRINTOUT_MODE_NORMAL_GRAY_VALUE
Used in Foomatic PPDs.
|
static int |
PRINTOUT_MODE_NORMAL_VALUE
Used in Foomatic PPDs.
|
static int |
PROCESS_COLOR_MODEL_CMYK_VALUE
Used in Canon printer PPDs.
|
static int |
PROCESS_COLOR_MODEL_GREYSCALE_VALUE
Used in Canon printer PPDs.
|
static int |
PROCESS_COLOR_MODEL_RGB_VALUE
Used in Canon printer PPDs
|
static int |
RGB_VALUE |
static int |
RGB16_VALUE |
static int |
RGBA_VALUE |
static int |
SHARP_ARC_MODE_CM_BW_VALUE
Used in Sharp printer PPDs.
|
static int |
SHARP_ARC_MODE_CM_COLOR_VALUE
Used in Sharp printer PPDs.
|
static int |
XEROX_XRX_COLOR_AUTOMATIC_VALUE
Used in Xerox printer PPDs.
|
static int |
XEROX_XRX_COLOR_BW_VALUE
Used in Xerox printer PPDs.
|
Modifier and Type | Method and Description |
---|---|
static ColorModel |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ColorModel> |
internalGetValueMap() |
static ColorModel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ColorModel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ColorModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorModel COLOR_MODEL_UNSPECIFIED
public static final ColorModel GRAY
public static final ColorModel COLOR
public static final ColorModel CMYK
public static final ColorModel CMY
public static final ColorModel KCMY
public static final ColorModel CMYPlusK
public static final ColorModel BLACK
public static final ColorModel GRAYSCALE
public static final ColorModel RGB
public static final ColorModel RGB16
public static final ColorModel RGBA
public static final ColorModel COLOR_MODE_COLOR
public static final ColorModel COLOR_MODE_MONOCHROME
public static final ColorModel HP_COLOR_COLOR
public static final ColorModel HP_COLOR_BLACK
public static final ColorModel PRINTOUT_MODE_NORMAL
public static final ColorModel PRINTOUT_MODE_NORMAL_GRAY
public static final ColorModel PROCESS_COLOR_MODEL_CMYK
public static final ColorModel PROCESS_COLOR_MODEL_GREYSCALE
public static final ColorModel PROCESS_COLOR_MODEL_RGB
public static final ColorModel BROTHER_CUPS_COLOR
public static final ColorModel BROTHER_CUPS_MONO
public static final ColorModel BROTHER_BR_SCRIPT_3_COLOR
public static final ColorModel BROTHER_BR_SCRIPT_3_BLACK
public static final ColorModel EPSON_INK_COLOR
public static final ColorModel EPSON_INK_MONO
public static final ColorModel SHARP_ARC_MODE_CM_COLOR
public static final ColorModel SHARP_ARC_MODE_CM_BW
public static final ColorModel XEROX_XRX_COLOR_AUTOMATIC
public static final ColorModel XEROX_XRX_COLOR_BW
public static final ColorModel UNRECOGNIZED
public static final int COLOR_MODEL_UNSPECIFIED_VALUE
public static final int GRAY_VALUE
public static final int COLOR_VALUE
public static final int CMYK_VALUE
public static final int CMY_VALUE
public static final int KCMY_VALUE
public static final int CMYPlusK_VALUE
public static final int BLACK_VALUE
public static final int GRAYSCALE_VALUE
public static final int RGB_VALUE
public static final int RGB16_VALUE
public static final int RGBA_VALUE
public static final int COLOR_MODE_COLOR_VALUE
public static final int COLOR_MODE_MONOCHROME_VALUE
public static final int HP_COLOR_COLOR_VALUE
public static final int HP_COLOR_BLACK_VALUE
public static final int PRINTOUT_MODE_NORMAL_VALUE
public static final int PRINTOUT_MODE_NORMAL_GRAY_VALUE
public static final int PROCESS_COLOR_MODEL_CMYK_VALUE
public static final int PROCESS_COLOR_MODEL_GREYSCALE_VALUE
public static final int PROCESS_COLOR_MODEL_RGB_VALUE
public static final int BROTHER_CUPS_COLOR_VALUE
public static final int BROTHER_CUPS_MONO_VALUE
public static final int BROTHER_BR_SCRIPT_3_COLOR_VALUE
public static final int BROTHER_BR_SCRIPT_3_BLACK_VALUE
public static final int EPSON_INK_COLOR_VALUE
public static final int EPSON_INK_MONO_VALUE
public static final int SHARP_ARC_MODE_CM_COLOR_VALUE
public static final int SHARP_ARC_MODE_CM_BW_VALUE
public static final int XEROX_XRX_COLOR_AUTOMATIC_VALUE
public static final int XEROX_XRX_COLOR_BW_VALUE
public static ColorModel[] values()
for (ColorModel c : ColorModel.values()) System.out.println(c);
public static ColorModel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ColorModel valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ColorModel forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ColorModel> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ColorModel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)