[]
        
立即试用
(Showing Draft Content)

ThemeColor

Enum Class ThemeColor

java.lang.Object
java.lang.Enum<ThemeColor>
com.grapecity.documents.excel.ThemeColor
All Implemented Interfaces:
Serializable, Comparable<ThemeColor>, Constable

public enum ThemeColor extends Enum<ThemeColor>
指定主题颜色。这是显示的顺序。
  • Enum Constant Details

    • None

      public static final ThemeColor None
      指定不使用任何主题颜色。
    • Light1

      public static final ThemeColor Light1
      指定浅色1主题颜色。
    • Dark1

      public static final ThemeColor Dark1
      指定深色1主题颜色。
    • Light2

      public static final ThemeColor Light2
      指定浅色2主题颜色。
    • Dark2

      public static final ThemeColor Dark2
      指定深色2主题颜色。
    • Accent1

      public static final ThemeColor Accent1
      指定强调色1的主题颜色。
    • Accent2

      public static final ThemeColor Accent2
      指定强调色2主题颜色。
    • Accent3

      public static final ThemeColor Accent3
      指定强调色3主题颜色。
    • Accent4

      public static final ThemeColor Accent4
      指定强调色4主题颜色。
    • Accent5

      public static final ThemeColor Accent5
      指定强调色5主题颜色。
    • Accent6

      public static final ThemeColor Accent6
      指定强调色6主题颜色。
  • Method Details

    • values

      public static ThemeColor[] 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 ThemeColor 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
    • getValue

      public int getValue()
    • forValue

      public static ThemeColor forValue(int value)