Package org.apache.fop.render.pcl
Enum Java2DRendererOption
- All Implemented Interfaces:
Serializable
,Comparable<Java2DRendererOption>
,RendererConfigOption
An enumeration of the renderer configuration options available to the Java2D renderer via the
FOP conf.
-
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 type with the specified name.static Java2DRendererOption[]
values()
Returns an array containing the constants of this enum type, 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 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
-
getName
The name of the option.- Specified by:
getName
in interfaceRendererConfigOption
-
getType
Class<?> getType() -
getDefaultValue
- Specified by:
getDefaultValue
in interfaceRendererConfigOption
-