[]
        
立即试用
(Showing Draft Content)

LookAt

Enum Class LookAt

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

public enum LookAt extends Enum<LookAt>
指定是针对搜索文本的整体还是任何部分进行匹配。
  • Enum Constant Details

    • Part

      public static final LookAt Part
      匹配搜索文本的任何部分。
    • Whole

      public static final LookAt Whole
      匹配整个搜索文本。
  • Method Details

    • values

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