Enum Class ColorModel

java.lang.Object
java.lang.Enum<ColorModel>
com.teamdev.jxbrowser.print.ColorModel
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ColorModel>, Constable

@Generated("Generated by the protocol buffer compiler") public enum ColorModel extends Enum<ColorModel> implements com.google.protobuf.ProtocolMessageEnum
Color models used for printing.

  • Enum Constant Details

    • COLOR_MODEL_UNSPECIFIED

      public static final ColorModel COLOR_MODEL_UNSPECIFIED
    • GRAY

      public static final ColorModel GRAY
    • COLOR

      public static final ColorModel COLOR
    • CMYK

      public static final ColorModel CMYK
    • CMY

      public static final ColorModel CMY
    • KCMY

      public static final ColorModel KCMY
    • CMYPlusK

      public static final ColorModel CMYPlusK
      kCMYPlusK represents CMY+K.

    • BLACK

      public static final ColorModel BLACK
    • GRAYSCALE

      public static final ColorModel GRAYSCALE
    • RGB

      public static final ColorModel RGB
    • RGB16

      public static final ColorModel RGB16
    • RGBA

      public static final ColorModel RGBA
    • COLOR_MODE_COLOR

      public static final ColorModel COLOR_MODE_COLOR
      Used in Samsung printer PPDs.

    • COLOR_MODE_MONOCHROME

      public static final ColorModel COLOR_MODE_MONOCHROME
      Used in Samsung printer PPDs.

    • HP_COLOR_COLOR

      public static final ColorModel HP_COLOR_COLOR
      Used in HP color printer PPDs.

    • HP_COLOR_BLACK

      public static final ColorModel HP_COLOR_BLACK
      Used in HP color printer PPDs.

    • PRINTOUT_MODE_NORMAL

      public static final ColorModel PRINTOUT_MODE_NORMAL
      Used in Foomatic PPDs.

    • PRINTOUT_MODE_NORMAL_GRAY

      public static final ColorModel PRINTOUT_MODE_NORMAL_GRAY
      Used in Foomatic PPDs.

    • PROCESS_COLOR_MODEL_CMYK

      public static final ColorModel PROCESS_COLOR_MODEL_CMYK
      Used in Canon printer PPDs.

    • PROCESS_COLOR_MODEL_GREYSCALE

      public static final ColorModel PROCESS_COLOR_MODEL_GREYSCALE
      Used in Canon printer PPDs.

    • PROCESS_COLOR_MODEL_RGB

      public static final ColorModel PROCESS_COLOR_MODEL_RGB
      Used in Canon printer PPDs

    • BROTHER_CUPS_COLOR

      public static final ColorModel BROTHER_CUPS_COLOR
      Used in Brother color laser printer PPDs.

    • BROTHER_CUPS_MONO

      public static final ColorModel BROTHER_CUPS_MONO
      Used in Brother color laser printer PPDs.

    • BROTHER_BR_SCRIPT_3_COLOR

      public static final ColorModel BROTHER_BR_SCRIPT_3_COLOR
      Used in Brother BRScript3 color printer PPDs.

    • BROTHER_BR_SCRIPT_3_BLACK

      public static final ColorModel BROTHER_BR_SCRIPT_3_BLACK
      Used in Brother BRScript3 color printer PPDs.

    • EPSON_INK_COLOR

      public static final ColorModel EPSON_INK_COLOR
      Used in Epson printer PPDs.

    • EPSON_INK_MONO

      public static final ColorModel EPSON_INK_MONO
      Used in Epson printer PPDs.

    • SHARP_ARC_MODE_CM_COLOR

      public static final ColorModel SHARP_ARC_MODE_CM_COLOR
      Used in Sharp printer PPDs.

    • SHARP_ARC_MODE_CM_BW

      public static final ColorModel SHARP_ARC_MODE_CM_BW
      Used in Sharp printer PPDs.

    • XEROX_XRX_COLOR_AUTOMATIC

      public static final ColorModel XEROX_XRX_COLOR_AUTOMATIC
      Used in Xerox printer PPDs.

    • XEROX_XRX_COLOR_BW

      public static final ColorModel XEROX_XRX_COLOR_BW
      Used in Xerox printer PPDs.

    • UNRECOGNIZED

      public static final ColorModel UNRECOGNIZED
  • Field Details

    • COLOR_MODEL_UNSPECIFIED_VALUE

      public static final int COLOR_MODEL_UNSPECIFIED_VALUE
      See Also:
    • GRAY_VALUE

      public static final int GRAY_VALUE
      See Also:
    • COLOR_VALUE

      public static final int COLOR_VALUE
      See Also:
    • CMYK_VALUE

      public static final int CMYK_VALUE
      See Also:
    • CMY_VALUE

      public static final int CMY_VALUE
      See Also:
    • KCMY_VALUE

      public static final int KCMY_VALUE
      See Also:
    • CMYPlusK_VALUE

      public static final int CMYPlusK_VALUE
      kCMYPlusK represents CMY+K.

      See Also:
    • BLACK_VALUE

      public static final int BLACK_VALUE
      See Also:
    • GRAYSCALE_VALUE

      public static final int GRAYSCALE_VALUE
      See Also:
    • RGB_VALUE

      public static final int RGB_VALUE
      See Also:
    • RGB16_VALUE

      public static final int RGB16_VALUE
      See Also:
    • RGBA_VALUE

      public static final int RGBA_VALUE
      See Also:
    • COLOR_MODE_COLOR_VALUE

      public static final int COLOR_MODE_COLOR_VALUE
      Used in Samsung printer PPDs.

      See Also:
    • COLOR_MODE_MONOCHROME_VALUE

      public static final int COLOR_MODE_MONOCHROME_VALUE
      Used in Samsung printer PPDs.

      See Also:
    • HP_COLOR_COLOR_VALUE

      public static final int HP_COLOR_COLOR_VALUE
      Used in HP color printer PPDs.

      See Also:
    • HP_COLOR_BLACK_VALUE

      public static final int HP_COLOR_BLACK_VALUE
      Used in HP color printer PPDs.

      See Also:
    • PRINTOUT_MODE_NORMAL_VALUE

      public static final int PRINTOUT_MODE_NORMAL_VALUE
      Used in Foomatic PPDs.

      See Also:
    • PRINTOUT_MODE_NORMAL_GRAY_VALUE

      public static final int PRINTOUT_MODE_NORMAL_GRAY_VALUE
      Used in Foomatic PPDs.

      See Also:
    • PROCESS_COLOR_MODEL_CMYK_VALUE

      public static final int PROCESS_COLOR_MODEL_CMYK_VALUE
      Used in Canon printer PPDs.

      See Also:
    • PROCESS_COLOR_MODEL_GREYSCALE_VALUE

      public static final int PROCESS_COLOR_MODEL_GREYSCALE_VALUE
      Used in Canon printer PPDs.

      See Also:
    • PROCESS_COLOR_MODEL_RGB_VALUE

      public static final int PROCESS_COLOR_MODEL_RGB_VALUE
      Used in Canon printer PPDs

      See Also:
    • BROTHER_CUPS_COLOR_VALUE

      public static final int BROTHER_CUPS_COLOR_VALUE
      Used in Brother color laser printer PPDs.

      See Also:
    • BROTHER_CUPS_MONO_VALUE

      public static final int BROTHER_CUPS_MONO_VALUE
      Used in Brother color laser printer PPDs.

      See Also:
    • BROTHER_BR_SCRIPT_3_COLOR_VALUE

      public static final int BROTHER_BR_SCRIPT_3_COLOR_VALUE
      Used in Brother BRScript3 color printer PPDs.

      See Also:
    • BROTHER_BR_SCRIPT_3_BLACK_VALUE

      public static final int BROTHER_BR_SCRIPT_3_BLACK_VALUE
      Used in Brother BRScript3 color printer PPDs.

      See Also:
    • EPSON_INK_COLOR_VALUE

      public static final int EPSON_INK_COLOR_VALUE
      Used in Epson printer PPDs.

      See Also:
    • EPSON_INK_MONO_VALUE

      public static final int EPSON_INK_MONO_VALUE
      Used in Epson printer PPDs.

      See Also:
    • SHARP_ARC_MODE_CM_COLOR_VALUE

      public static final int SHARP_ARC_MODE_CM_COLOR_VALUE
      Used in Sharp printer PPDs.

      See Also:
    • SHARP_ARC_MODE_CM_BW_VALUE

      public static final int SHARP_ARC_MODE_CM_BW_VALUE
      Used in Sharp printer PPDs.

      See Also:
    • XEROX_XRX_COLOR_AUTOMATIC_VALUE

      public static final int XEROX_XRX_COLOR_AUTOMATIC_VALUE
      Used in Xerox printer PPDs.

      See Also:
    • XEROX_XRX_COLOR_BW_VALUE

      public static final int XEROX_XRX_COLOR_BW_VALUE
      Used in Xerox printer PPDs.

      See Also:
  • Method Details

    • values

      public static ColorModel[] 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

      public static ColorModel valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ColorModel valueOf(int value)
      Deprecated.
      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:
      value - 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static ColorModel forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ColorModel> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ColorModel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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 name
      NullPointerException - if the argument is null