Enum HemfPalette.EmfSetIcmMode.ICMMode

java.lang.Object
java.lang.Enum<HemfPalette.EmfSetIcmMode.ICMMode>
org.apache.poi.hemf.record.emf.HemfPalette.EmfSetIcmMode.ICMMode
All Implemented Interfaces:
Serializable, Comparable<HemfPalette.EmfSetIcmMode.ICMMode>, java.lang.constant.Constable
Enclosing class:
HemfPalette.EmfSetIcmMode

public static enum HemfPalette.EmfSetIcmMode.ICMMode extends Enum<HemfPalette.EmfSetIcmMode.ICMMode>
The ICMMode enumeration defines values that specify when to turn on and off ICM.
  • Enum Constant Details

    • ICM_OFF

      public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_OFF
      Turns off Image Color Management (ICM) in the playback device context. Turns on old-style color correction of halftones.
    • ICM_ON

      public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_ON
      Turns on ICM in the playback device context. Turns off old-style color correction of halftones.
    • ICM_QUERY

      public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_QUERY
      Queries the current state of color management in the playback device context.
    • ICM_DONE_OUTSIDEDC

      public static final HemfPalette.EmfSetIcmMode.ICMMode ICM_DONE_OUTSIDEDC
      Turns off ICM in the playback device context, and turns off old-style color correction of halftones.
  • Field Details

    • id

      public final int id
  • Method Details

    • values

      public static HemfPalette.EmfSetIcmMode.ICMMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HemfPalette.EmfSetIcmMode.ICMMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static HemfPalette.EmfSetIcmMode.ICMMode valueOf(int id)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      id - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null