Enum Class OptionalContentDrawingPolicy

java.lang.Object
java.lang.Enum<OptionalContentDrawingPolicy>
com.datalogics.PDFL.OptionalContentDrawingPolicy
All Implemented Interfaces:
Serializable, Comparable<OptionalContentDrawingPolicy>, Constable

public enum OptionalContentDrawingPolicy extends Enum<OptionalContentDrawingPolicy>
The policy for drawing optional content within the document.
  • Enum Constant Details

    • VISIBLE_OPTIONAL_CONTENT

      public static final OptionalContentDrawingPolicy VISIBLE_OPTIONAL_CONTENT
      Draw optional content that is visible according to the current state of the OptionalContentGroups and OptionalContentMembershipDicts.
    • ALL_OPTIONAL_CONTENT

      public static final OptionalContentDrawingPolicy ALL_OPTIONAL_CONTENT
      Draw all optional content, regardless of visibility state.
    • NO_OPTIONAL_CONTENT

      public static final OptionalContentDrawingPolicy NO_OPTIONAL_CONTENT
      Do not draw any optional content, regardless of visibility state.
  • Method Details

    • values

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