Enum Class Printer.TableRows

java.lang.Object
java.lang.Enum<Printer.TableRows>
org.jline.console.Printer.TableRows
All Implemented Interfaces:
Serializable, Comparable<Printer.TableRows>, Constable
Enclosing interface:
Printer

public static enum Printer.TableRows extends Enum<Printer.TableRows>
Enumeration specifying which rows in a table should be highlighted.
  • Enum Constant Details

    • EVEN

      public static final Printer.TableRows EVEN
      Highlight only even-numbered rows in the table.
    • ODD

      public static final Printer.TableRows ODD
      Highlight only odd-numbered rows in the table.
    • ALL

      public static final Printer.TableRows ALL
      Highlight all rows in the table.
  • Method Details

    • values

      public static Printer.TableRows[] 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 Printer.TableRows 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