[]
        
立即试用
(Showing Draft Content)

BordersIndex

Enum Class BordersIndex

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

public enum BordersIndex extends Enum<BordersIndex>
指定要获取的边框。
  • Enum Constant Details

    • DiagonalDown

      public static final BordersIndex DiagonalDown
      指定边框从范围中每个单元格的左上角延伸到右下角。
    • DiagonalUp

      public static final BordersIndex DiagonalUp
      指定边框从范围中每个单元格的左下角延伸到右上角。
    • EdgeBottom

      public static final BordersIndex EdgeBottom
      指定边框位于范围底部。
    • EdgeLeft

      public static final BordersIndex EdgeLeft
      指定边框位于范围的最左侧边缘。
    • EdgeRight

      public static final BordersIndex EdgeRight
      指定边框位于范围右侧边缘。
    • EdgeTop

      public static final BordersIndex EdgeTop
      指定边框位于范围顶部。
    • InsideHorizontal

      public static final BordersIndex InsideHorizontal
      指定范围内所有单元格都有水平边框,但范围外部的边框除外。
    • InsideVertical

      public static final BordersIndex InsideVertical
      指定范围内的所有单元格都有垂直边框,但范围外的边框除外。
  • Method Details

    • values

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