Enum Class BorderStyle

java.lang.Object
java.lang.Enum<BorderStyle>
org.springframework.shell.table.BorderStyle
All Implemented Interfaces:
Serializable, Comparable<BorderStyle>, Constable

public enum BorderStyle extends Enum<BorderStyle>
Provides support for different styles of borders, using simple or fancy ascii art.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A border style that uses space characters, giving some space between columns.
    A border style that uses dedicated double-light box drawing characters from the unicode set.
    A border style that uses dedicated fat box drawing characters from the unicode set.
    A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
    A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
    A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
    A border style that uses dedicated light box drawing characters from the unicode set.
    A border style that uses dedicated double dash light box drawing characters from the unicode set.
    A border style that uses dedicated double dash light box drawing characters from the unicode set.
    A border style that uses dedicated double dash light box drawing characters from the unicode set.
    A simplistic style, using characters that ought to always be available in all systems (pipe and minus).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final char
     
  • Method Summary

    Modifier and Type
    Method
    Description
    char
     
    static char
    intersection(char above, char below, char left, char right)
     
    Returns the enum constant of this class with the specified name.
    static BorderStyle[]
    Returns an array containing the constants of this enum class, in the order they are declared.
    char
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • oldschool

      public static final BorderStyle oldschool
      A simplistic style, using characters that ought to always be available in all systems (pipe and minus).
    • fancy_light

      public static final BorderStyle fancy_light
      A border style that uses dedicated light box drawing characters from the unicode set.
    • fancy_heavy

      public static final BorderStyle fancy_heavy
      A border style that uses dedicated fat box drawing characters from the unicode set.
    • fancy_double

      public static final BorderStyle fancy_double
      A border style that uses dedicated double-light box drawing characters from the unicode set.
    • air

      public static final BorderStyle air
      A border style that uses space characters, giving some space between columns.
    • fancy_light_double_dash

      public static final BorderStyle fancy_light_double_dash
      A border style that uses dedicated double dash light box drawing characters from the unicode set.
    • fancy_light_triple_dash

      public static final BorderStyle fancy_light_triple_dash
      A border style that uses dedicated double dash light box drawing characters from the unicode set.
    • fancy_light_quadruple_dash

      public static final BorderStyle fancy_light_quadruple_dash
      A border style that uses dedicated double dash light box drawing characters from the unicode set.
    • fancy_heavy_double_dash

      public static final BorderStyle fancy_heavy_double_dash
      A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
    • fancy_heavy_triple_dash

      public static final BorderStyle fancy_heavy_triple_dash
      A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
    • fancy_heavy_quadruple_dash

      public static final BorderStyle fancy_heavy_quadruple_dash
      A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
  • Field Details

  • 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
    • verticalGlyph

      public char verticalGlyph()
    • horizontalGlyph

      public char horizontalGlyph()
    • intersection

      public static char intersection(char above, char below, char left, char right)