Enum Class BorderStyle

java.lang.Object
java.lang.Enum<BorderStyle>
io.leandev.appfuse.workbook.BorderStyle
All Implemented Interfaces:
Serializable, Comparable<BorderStyle>, Constable

public enum BorderStyle extends Enum<BorderStyle>

儲存格框線樣式

框架無關的框線樣式列舉,於 CellStyle 套用時對映到底層 POI 的框線型別。

Since:
4.0.0
  • Enum Constant Details

    • NONE

      public static final BorderStyle NONE
      無框線
    • SOLID

      public static final BorderStyle SOLID
      實線(等同細實線 THIN
    • DOTTED

      public static final BorderStyle DOTTED
      點線
    • DASHED

      public static final BorderStyle DASHED
      虛線
    • DOUBLE

      public static final BorderStyle DOUBLE
      雙線
    • THIN

      public static final BorderStyle THIN
      細實線
    • THICK

      public static final BorderStyle THICK
      粗實線
    • MEDIUM

      public static final BorderStyle MEDIUM
      中等實線
    • MEDIUM_DASHED

      public static final BorderStyle MEDIUM_DASHED
      中等虛線
  • Method Details

    • values

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