Enum Class FontUnderline

java.lang.Object
java.lang.Enum<FontUnderline>
org.apache.poi.ss.usermodel.FontUnderline
All Implemented Interfaces:
Serializable, Comparable<FontUnderline>, Constable

public enum FontUnderline extends Enum<FontUnderline>
the different types of possible underline formatting
Author:
Gisella Bronzetti
  • Enum Constant Details

    • SINGLE

      public static final FontUnderline SINGLE
      Single-line underlining under each character in the cell. The underline is drawn through the descenders of characters such as g and p..
    • DOUBLE

      public static final FontUnderline DOUBLE
      Double-line underlining under each character in the cell. underlines are drawn through the descenders of characters such as g and p.
    • SINGLE_ACCOUNTING

      public static final FontUnderline SINGLE_ACCOUNTING
      Single-line accounting underlining under each character in the cell. The underline is drawn under the descenders of characters such as g and p.
    • DOUBLE_ACCOUNTING

      public static final FontUnderline DOUBLE_ACCOUNTING
      Double-line accounting underlining under each character in the cell. The underlines are drawn under the descenders of characters such as g and p.
    • NONE

      public static final FontUnderline NONE
      No underline.
  • Method Details

    • values

      public static FontUnderline[] 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 FontUnderline 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()
    • getByteValue

      public byte getByteValue()
    • valueOf

      public static FontUnderline valueOf(int value)
      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:
      value - 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
    • valueOf

      public static FontUnderline valueOf(byte value)
      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:
      value - 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