Package org.apache.fop.render.pcl
Enum Class Java2DRendererOption
- All Implemented Interfaces:
Serializable
,Comparable<Java2DRendererOption>
,Constable
,RendererConfigOption
An enumeration of the renderer configuration options available to the Java2D renderer via the
FOP conf.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Java2DRendererOption
(String name, Class<?> type, Object defaultValue) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the option.(package private) Class<?>
getType()
static Java2DRendererOption
Returns the enum constant of this class with the specified name.static Java2DRendererOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RENDERING_MODE
-
TEXT_RENDERING
-
DISABLE_PJL
-
OPTIMIZE_RESOURCES
-
MODE_COLOR
-
-
Field Details
-
name
-
type
-
defaultValue
-
-
Constructor Details
-
Java2DRendererOption
-
-
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
-
getName
The name of the option.- Specified by:
getName
in interfaceRendererConfigOption
-
getType
Class<?> getType() -
getDefaultValue
- Specified by:
getDefaultValue
in interfaceRendererConfigOption
-