[]
        
立即试用
(Showing Draft Content)

ColorDataIndex

Enum Class ColorDataIndex

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

public enum ColorDataIndex extends Enum<ColorDataIndex>
指定选中特征的颜色,如边框、字体或填充。
  • Enum Constant Details

    • None

      public static final ColorDataIndex None
      指定不填充。
    • Automatic

      public static final ColorDataIndex Automatic
      指定一个自动颜色。
  • Method Details

    • values

      public static ColorDataIndex[] 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 ColorDataIndex 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 ColorDataIndex forValue(int value)