Package org.apache.poi.hemf.record.emf
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTurns off ICM in the playback device context, and turns off old-style color correction of halftones.Turns off Image Color Management (ICM) in the playback device context.Turns on ICM in the playback device context.Queries the current state of color management in the playback device context. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvalueOf(int id) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static HemfPalette.EmfSetIcmMode.ICMMode[]values()Returns an array containing the constants of this enum type, 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
-
ICM_OFF
Turns off Image Color Management (ICM) in the playback device context. Turns on old-style color correction of halftones. -
ICM_ON
Turns on ICM in the playback device context. Turns off old-style color correction of halftones. -
ICM_QUERY
Queries the current state of color management in the playback device context. -
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
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
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 nameNullPointerException- if the argument is null
-
valueOf
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 nameNullPointerException- if the argument is null
-