Enum Table.Border

java.lang.Object
java.lang.Enum<Table.Border>
com.codename1.cli.Table.Border
All Implemented Interfaces:
Comparable<Table.Border>
Enclosing class:
Table

public static enum Table.Border extends Enum<Table.Border>
The lines drawn around and between cells.
  • Enum Constant Details

    • SINGLE

      public static final Table.Border SINGLE
      Single box-drawing lines.
    • ROUNDED

      public static final Table.Border ROUNDED
      Single lines with rounded corners.
    • DOUBLE

      public static final Table.Border DOUBLE
      Double box-drawing lines.
    • ASCII

      public static final Table.Border ASCII
      Plus signs, dashes and bars, for any terminal.
    • MINIMAL

      public static final Table.Border MINIMAL
      A rule under the header and no other lines, like ps or kubectl.
    • NONE

      public static final Table.Border NONE
      No lines at all; columns separated by spaces.
  • Method Details

    • values

      public static Table.Border[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Table.Border 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