Enum Class Pattern

java.lang.Object
java.lang.Enum<Pattern>
com.grapecity.documents.excel.Pattern
所有已实现的接口:
Serializable, Comparable<Pattern>, Constable

public enum Pattern extends Enum<Pattern>
Specifies the interior pattern of a chart or interior object.
  • 枚举常量详细资料

    • Automatic

      public static final Pattern Automatic
      Specifies that Spread controls the pattern.
    • None

      public static final Pattern None
      Specifies no pattern.
    • Solid

      public static final Pattern Solid
      Specifies a solid color.
    • Gray75

      public static final Pattern Gray75
      Specifies 75% gray.
    • Gray50

      public static final Pattern Gray50
      Specifies 50% gray.
    • Gray25

      public static final Pattern Gray25
      Specifies 25% gray.
    • Gray16

      public static final Pattern Gray16
      Specifies 12.5% gray.
    • Gray8

      public static final Pattern Gray8
      Specifies 6.25% gray.
    • Horizontal

      public static final Pattern Horizontal
      Specifies horizontal stripe.
    • Vertical

      public static final Pattern Vertical
      Specifies vertical stripe.
    • Down

      public static final Pattern Down
      Specifies reverse diagonal stripe.
    • Up

      public static final Pattern Up
      Specifies diagonal stripe.
    • Checker

      public static final Pattern Checker
      Specifies diagonal crosshatch.
    • SemiGray75

      public static final Pattern SemiGray75
      Specifies thick diagonal crosshatch.
    • LightHorizontal

      public static final Pattern LightHorizontal
      Specifies thin horizontal stripe.
    • LightVertical

      public static final Pattern LightVertical
      Specifies thin vertical stripe.
    • LightDown

      public static final Pattern LightDown
      Specifies thin reverse diagonal stripe.
    • LightUp

      public static final Pattern LightUp
      Specifies thin diagonal stripe.
    • Grid

      public static final Pattern Grid
      Specifies thin horizontal crosshatch.
    • CrissCross

      public static final Pattern CrissCross
      Specifies thin diagonal crosshatch.
    • LinearGradient

      public static final Pattern LinearGradient
      Specifies the linear graident type for gradient fill.
    • RectangularGradient

      public static final Pattern RectangularGradient
      Specifies the rectangular gradient type for gradient fill.
  • 方法详细资料

    • values

      public static Pattern[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Pattern 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getValue

      public int getValue()
    • forValue

      public static Pattern forValue(int value)