[]
        
立即试用
(Showing Draft Content)

SortOnType

Enum Class SortOnType

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

public enum SortOnType extends Enum<SortOnType>
指定应按哪个参数对数据进行排序。
  • Enum Constant Details

    • Values

      public static final SortOnType Values
      指定值。
    • CellColor

      public static final SortOnType CellColor
      指定单元格颜色。
    • FontColor

      public static final SortOnType FontColor
      指定字体颜色。
    • CellIcon

      public static final SortOnType CellIcon
      指定图标。
  • Method Details

    • values

      public static SortOnType[] 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 SortOnType 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