public enum XmpPhotoshopColorMode extends Enum<XmpPhotoshopColorMode> implements IEnumValue
Represents a color mode in XmpPhotoshopPackage.
| Enum Constant and Description |
|---|
Bitmap
The bitmap color mode.
|
Cmyk
The CMYK color mode.
|
Duotone
The duo-tone color mode.
|
GrayScale
The gray scale color mode.
|
IndexedColor
The indexed color.
|
LabColor
The LAB color mode.
|
MultiChannel
The multi-channel color mode.
|
Rgb
The RGB color mode.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static XmpPhotoshopColorMode |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static XmpPhotoshopColorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmpPhotoshopColorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final XmpPhotoshopColorMode Bitmap
The bitmap color mode.
public static final XmpPhotoshopColorMode Cmyk
The CMYK color mode.
public static final XmpPhotoshopColorMode Duotone
The duo-tone color mode.
public static final XmpPhotoshopColorMode GrayScale
The gray scale color mode.
public static final XmpPhotoshopColorMode IndexedColor
The indexed color.
public static final XmpPhotoshopColorMode LabColor
The LAB color mode.
public static final XmpPhotoshopColorMode MultiChannel
The multi-channel color mode.
public static final XmpPhotoshopColorMode Rgb
The RGB color mode.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static XmpPhotoshopColorMode getByRawValue(int rawValue)
public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public static IEnumValue getFirst()
public int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValuepublic RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic static XmpPhotoshopColorMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static XmpPhotoshopColorMode[] values()
for (XmpPhotoshopColorMode c : XmpPhotoshopColorMode.values()) System.out.println(c);
Copyright © 2026. All rights reserved.