Package org.springframework.shell.table
Enum Class BorderStyle
- All Implemented Interfaces:
Serializable
,Comparable<BorderStyle>
,Constable
Provides support for different styles of borders, using simple or fancy ascii art.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA 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
-
Method Summary
Modifier and TypeMethodDescriptionchar
static char
intersection
(char above, char below, char left, char right) static BorderStyle
Returns the enum constant of this class with the specified name.static BorderStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.char
-
Enum Constant Details
-
oldschool
A simplistic style, using characters that ought to always be available in all systems (pipe and minus). -
fancy_light
A border style that uses dedicated light box drawing characters from the unicode set. -
fancy_heavy
A border style that uses dedicated fat box drawing characters from the unicode set. -
fancy_double
A border style that uses dedicated double-light box drawing characters from the unicode set. -
air
A border style that uses space characters, giving some space between columns. -
fancy_light_double_dash
A border style that uses dedicated double dash light box drawing characters from the unicode set. -
fancy_light_triple_dash
A border style that uses dedicated double dash light box drawing characters from the unicode set. -
fancy_light_quadruple_dash
A border style that uses dedicated double dash light box drawing characters from the unicode set. -
fancy_heavy_double_dash
A border style that uses dedicated double dash heavy box drawing characters from the unicode set. -
fancy_heavy_triple_dash
A border style that uses dedicated double dash heavy box drawing characters from the unicode set. -
fancy_heavy_quadruple_dash
A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
-
-
Field Details
-
NONE
public static final char NONE- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- 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)
-