Enum Class BackgroundImage.Repeat

java.lang.Object
java.lang.Enum<BackgroundImage.Repeat>
fr.opensagres.odfdom.converter.pdf.internal.BackgroundImage.Repeat
All Implemented Interfaces:
Serializable, Comparable<BackgroundImage.Repeat>, Constable
Enclosing class:
BackgroundImage

public static enum BackgroundImage.Repeat extends Enum<BackgroundImage.Repeat>
A type of background image.
  • Enum Constant Details

  • Method Details

    • values

      public static BackgroundImage.Repeat[] 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 BackgroundImage.Repeat 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
    • fromODT

      public static BackgroundImage.Repeat fromODT(String str)
      Returns the correct BackgroundImage.Repeat for a image.
      Parameters:
      str - the string containing the ODF repeat value.
      Returns:
      the correct Repeat
      Throws:
      IllegalArgumentException - when the value is not defined