[]
        
立即试用
(Showing Draft Content)

BorderLineStyle

Enum Class BorderLineStyle

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

public enum BorderLineStyle extends Enum<BorderLineStyle>
指定边框的线型。
  • Enum Constant Details

    • None

      public static final BorderLineStyle None
      指定无边框。
    • Hair

      public static final BorderLineStyle Hair
      指定一个发丝细的边框。
    • DashDotDot

      public static final BorderLineStyle DashDotDot
      指定一个点划线边框。
    • DashDot

      public static final BorderLineStyle DashDot
      指定一个点划线边框。
    • Dotted

      public static final BorderLineStyle Dotted
      指定一个点线边框。
    • Dashed

      public static final BorderLineStyle Dashed
      指定一个虚线边框。
    • Thin

      public static final BorderLineStyle Thin
      指定一个细边框。
    • MediumDashDotDot

      public static final BorderLineStyle MediumDashDotDot
      指定一个中等长短线间隔边框。
    • SlantDashDot

      public static final BorderLineStyle SlantDashDot
      指定一个斜杠虚线边框。
    • MediumDashDot

      public static final BorderLineStyle MediumDashDot
      指定一个中等点划线边框。
    • MediumDashed

      public static final BorderLineStyle MediumDashed
      指定中等虚线。
    • Medium

      public static final BorderLineStyle Medium
      指定一个中等边框。
    • Thick

      public static final BorderLineStyle Thick
      指定一个粗线边框。
    • Double

      public static final BorderLineStyle Double
      指定双线。
  • Method Details

    • values

      public static BorderLineStyle[] 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 BorderLineStyle 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()
      获取表示枚举常量的整数值。
      Returns:
      枚举常量的序数值
    • forValue

      public static BorderLineStyle forValue(int value)
      根据指定的整数值获取对应的枚举常量。
      Parameters:
      value - 表示枚举常量的整数值。
      Returns:
      BorderLineStyle 枚举常量。