Enum Class PatternType

java.lang.Object
java.lang.Enum<PatternType>
io.keikai.axyra.sheets.style.PatternType
All Implemented Interfaces:
Serializable, Comparable<PatternType>, Constable

public enum PatternType extends Enum<PatternType>
Cell fill pattern type (ECMA-376 ST_PatternType). SOLID uses the foreground color as the visible fill; the other patterns overlay the foreground pattern on the background color.
  • Enum Constant Details

    • NONE

      public static final PatternType NONE
    • SOLID

      public static final PatternType SOLID
    • MEDIUM_GRAY

      public static final PatternType MEDIUM_GRAY
    • DARK_GRAY

      public static final PatternType DARK_GRAY
    • LIGHT_GRAY

      public static final PatternType LIGHT_GRAY
    • DARK_HORIZONTAL

      public static final PatternType DARK_HORIZONTAL
    • DARK_VERTICAL

      public static final PatternType DARK_VERTICAL
    • DARK_DOWN

      public static final PatternType DARK_DOWN
    • DARK_UP

      public static final PatternType DARK_UP
    • DARK_GRID

      public static final PatternType DARK_GRID
    • DARK_TRELLIS

      public static final PatternType DARK_TRELLIS
    • LIGHT_HORIZONTAL

      public static final PatternType LIGHT_HORIZONTAL
    • LIGHT_VERTICAL

      public static final PatternType LIGHT_VERTICAL
    • LIGHT_DOWN

      public static final PatternType LIGHT_DOWN
    • LIGHT_UP

      public static final PatternType LIGHT_UP
    • LIGHT_GRID

      public static final PatternType LIGHT_GRID
    • LIGHT_TRELLIS

      public static final PatternType LIGHT_TRELLIS
    • GRAY_125

      public static final PatternType GRAY_125
    • GRAY_0625

      public static final PatternType GRAY_0625
  • Method Details

    • values

      public static PatternType[] 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 PatternType 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
    • token

      public String token()
    • from

      public static PatternType from(String token)
      Parse an engine token; unknown / empty maps to NONE.