Package com.grapecity.documents.excel
Enum Class GraphicColorType
- All Implemented Interfaces:
Serializable,Comparable<GraphicColorType>,Constable
表示应用于指定图片或OLE对象的颜色转换类型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription自动颜色。黑白颜色。灰度颜色。混合。水印颜色。 -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphicColorTypeforValue(int value) intgetValue()static GraphicColorTypeReturns the enum constant of this class with the specified name.static GraphicColorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Mixed
混合。 -
Automatic
自动颜色。 -
Grayscale
灰度颜色。 -
BlackAndWhite
黑白颜色。 -
Watermark
水印颜色。
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
forValue
-