public enum BorderStyle extends Enum<BorderStyle>
Enum Constant and Description |
---|
air
A border style that uses space characters, giving some space between columns.
|
fancy_double
A border style that uses dedicated double-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_heavy_double_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.
|
fancy_heavy_triple_dash
A border style that uses dedicated double dash heavy box drawing characters from the unicode set.
|
fancy_light
A border style that uses dedicated light box drawing characters from the unicode set.
|
fancy_light_double_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_light_triple_dash
A border style that uses dedicated double dash light box drawing characters from the unicode set.
|
oldschool
A simplistic style, using characters that ought to always be available in all systems (pipe and minus).
|
Modifier and Type | Field and Description |
---|---|
static char |
NONE |
Modifier and Type | Method and Description |
---|---|
char |
horizontalGlyph() |
static char |
intersection(char above,
char below,
char left,
char right) |
static BorderStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
char |
verticalGlyph() |
public static final BorderStyle oldschool
public static final BorderStyle fancy_light
public static final BorderStyle fancy_heavy
public static final BorderStyle fancy_double
public static final BorderStyle air
public static final BorderStyle fancy_light_double_dash
public static final BorderStyle fancy_light_triple_dash
public static final BorderStyle fancy_light_quadruple_dash
public static final BorderStyle fancy_heavy_double_dash
public static final BorderStyle fancy_heavy_triple_dash
public static final BorderStyle fancy_heavy_quadruple_dash
public static final char NONE
public static BorderStyle[] values()
for (BorderStyle c : BorderStyle.values()) System.out.println(c);
public static BorderStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char verticalGlyph()
public char horizontalGlyph()
public static char intersection(char above, char below, char left, char right)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.