Enum Class Java2DRendererOption

java.lang.Object
java.lang.Enum<Java2DRendererOption>
org.apache.fop.render.pcl.Java2DRendererOption
All Implemented Interfaces:
Serializable, Comparable<Java2DRendererOption>, Constable, RendererConfigOption

public enum Java2DRendererOption extends Enum<Java2DRendererOption> implements RendererConfigOption
An enumeration of the renderer configuration options available to the Java2D renderer via the FOP conf.
  • Enum Constant Details

  • Field Details

    • name

      private final String name
    • type

      private final Class<?> type
    • defaultValue

      private final Object defaultValue
  • Constructor Details

    • Java2DRendererOption

      private Java2DRendererOption(String name, Class<?> type, Object defaultValue)
  • Method Details

    • values

      public static Java2DRendererOption[] 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

      public static Java2DRendererOption valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      The name of the option.
      Specified by:
      getName in interface RendererConfigOption
    • getType

      Class<?> getType()
    • getDefaultValue

      public Object getDefaultValue()
      Specified by:
      getDefaultValue in interface RendererConfigOption