public enum AFPShadingMode extends java.lang.Enum<AFPShadingMode>
Enum Constant and Description |
---|
COLOR
the color mode (the default)
|
DITHERED
the dithered mode
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static AFPShadingMode |
getValueOf(java.lang.String name)
Returns the enumeration/singleton object based on its name.
|
java.lang.String |
toString() |
static AFPShadingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AFPShadingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AFPShadingMode COLOR
public static final AFPShadingMode DITHERED
public static AFPShadingMode[] values()
for (AFPShadingMode c : AFPShadingMode.values()) System.out.println(c);
public static AFPShadingMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static AFPShadingMode getValueOf(java.lang.String name)
name
- the name of the enumeration valuepublic java.lang.String toString()
toString
in class java.lang.Enum<AFPShadingMode>
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.