[]
        
立即试用
(Showing Draft Content)

AutoMergeDirection

Enum Class AutoMergeDirection

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

public enum AutoMergeDirection extends Enum<AutoMergeDirection>
指示自动合并方向。
  • Enum Constant Details

    • None

      public static final AutoMergeDirection None
      指示取消自动合并。
    • Column

      public static final AutoMergeDirection Column
      指示在列方向上应用自动合并。
    • Row

      public static final AutoMergeDirection Row
      指示在行方向上应用自动合并。
    • ColumnRow

      public static final AutoMergeDirection ColumnRow
      指示优先在列方向上应用自动合并,然后再在行方向上应用。
    • RowColumn

      public static final AutoMergeDirection RowColumn
      指示优先在行方向上应用自动合并,然后再在列方向上应用。
  • Method Details

    • values

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