Enum FontUnderline

    • Enum Constant Detail

      • 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.
    • Method Detail

      • values

        public static FontUnderline[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FontUnderline c : FontUnderline.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FontUnderline valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null