[]
        
立即试用
(Showing Draft Content)

SearchDirection

Enum Class SearchDirection

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

public enum SearchDirection extends Enum<SearchDirection>
指定在搜索一个范围时的搜索方向。
  • Enum Constant Details

    • Next

      public static final SearchDirection Next
      在范围内搜索下一个匹配的值。
    • Previous

      public static final SearchDirection Previous
      在范围内搜索上一个匹配的值。
  • Method Details

    • values

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