Package org.refcodes.data
Enum TextBorder
- java.lang.Object
-
- java.lang.Enum<TextBorder>
-
- org.refcodes.data.TextBorder
-
- All Implemented Interfaces:
org.refcodes.mixin.CharAccessor
public enum TextBorder extends java.lang.Enum<TextBorder> implements org.refcodes.mixin.CharAccessor
The Enum TextBorder. Also seehttp://www.roysac.com/tutorial/roy-blockasciitutorial.html
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getChar()
static TextBorder
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TextBorder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_TOP_LEFT_EDGE
public static final TextBorder SINGLE_TOP_LEFT_EDGE
-
SINGLE_TOP_DIVIDER_EDGE
public static final TextBorder SINGLE_TOP_DIVIDER_EDGE
-
SINGLE_TOP_RIGHT_EDGE
public static final TextBorder SINGLE_TOP_RIGHT_EDGE
-
SINGLE_VERTICAL_LINE
public static final TextBorder SINGLE_VERTICAL_LINE
-
SINGLE_HORIZONTAL_LINE
public static final TextBorder SINGLE_HORIZONTAL_LINE
-
SINGLE_BOTTOM_LEFT_EDGE
public static final TextBorder SINGLE_BOTTOM_LEFT_EDGE
-
SINGLE_BOTTOM_DIVIDER_EDGE
public static final TextBorder SINGLE_BOTTOM_DIVIDER_EDGE
-
SINGLE_BOTTOM_RIGHT_EDGE
public static final TextBorder SINGLE_BOTTOM_RIGHT_EDGE
-
SINGLE_LEFT_EDGE
public static final TextBorder SINGLE_LEFT_EDGE
-
SINGLE_RIGHT_EDGE
public static final TextBorder SINGLE_RIGHT_EDGE
-
SINGLE_DIVIDER_EDGE
public static final TextBorder SINGLE_DIVIDER_EDGE
-
DOUBLE_TOP_LEFT_EDGE
public static final TextBorder DOUBLE_TOP_LEFT_EDGE
-
DOUBLE_TOP_DIVIDER_EDGE
public static final TextBorder DOUBLE_TOP_DIVIDER_EDGE
-
DOUBLE_TOP_RIGHT_EDGE
public static final TextBorder DOUBLE_TOP_RIGHT_EDGE
-
DOUBLE_VERTICAL_LINE
public static final TextBorder DOUBLE_VERTICAL_LINE
-
DOUBLE_HORIZONTAL_LINE
public static final TextBorder DOUBLE_HORIZONTAL_LINE
-
DOUBLE_BOTTOM_LEFT_EDGE
public static final TextBorder DOUBLE_BOTTOM_LEFT_EDGE
-
DOUBLE_BOTTOM_DIVIDER_EDGE
public static final TextBorder DOUBLE_BOTTOM_DIVIDER_EDGE
-
DOUBLE_BOTTOM_RIGHT_EDGE
public static final TextBorder DOUBLE_BOTTOM_RIGHT_EDGE
-
DOUBLE_LEFT_EDGE
public static final TextBorder DOUBLE_LEFT_EDGE
-
DOUBLE_RIGHT_EDGE
public static final TextBorder DOUBLE_RIGHT_EDGE
-
DOUBLE_DIVIDER_EDGE
public static final TextBorder DOUBLE_DIVIDER_EDGE
-
SINGLE_DOUBLE_TOP_LEFT_EDGE
public static final TextBorder SINGLE_DOUBLE_TOP_LEFT_EDGE
-
SINGLE_DOUBLE_TOP_DIVIDER_EDGE
public static final TextBorder SINGLE_DOUBLE_TOP_DIVIDER_EDGE
-
SINGLE_DOUBLE_TOP_RIGHT_EDGE
public static final TextBorder SINGLE_DOUBLE_TOP_RIGHT_EDGE
-
SINGLE_DOUBLE_VERTICAL_LINE
public static final TextBorder SINGLE_DOUBLE_VERTICAL_LINE
-
SINGLE_DOUBLE_HORIZONTAL_LINE
public static final TextBorder SINGLE_DOUBLE_HORIZONTAL_LINE
-
SINGLE_DOUBLE_BOTTOM_LEFT_EDGE
public static final TextBorder SINGLE_DOUBLE_BOTTOM_LEFT_EDGE
-
SINGLE_DOUBLE_BOTTOM_DIVIDER_EDGE
public static final TextBorder SINGLE_DOUBLE_BOTTOM_DIVIDER_EDGE
-
SINGLE_DOUBLE_BOTTOM_RIGHT_EDGE
public static final TextBorder SINGLE_DOUBLE_BOTTOM_RIGHT_EDGE
-
SINGLE_DOUBLE_LEFT_EDGE
public static final TextBorder SINGLE_DOUBLE_LEFT_EDGE
-
SINGLE_DOUBLE_RIGHT_EDGE
public static final TextBorder SINGLE_DOUBLE_RIGHT_EDGE
-
SINGLE_DOUBLE_DIVIDER_EDGE
public static final TextBorder SINGLE_DOUBLE_DIVIDER_EDGE
-
DOUBLE_SINGLE_TOP_LEFT_EDGE
public static final TextBorder DOUBLE_SINGLE_TOP_LEFT_EDGE
-
DOUBLE_SINGLE_TOP_DIVIDER_EDGE
public static final TextBorder DOUBLE_SINGLE_TOP_DIVIDER_EDGE
-
DOUBLE_SINGLE_TOP_RIGHT_EDGE
public static final TextBorder DOUBLE_SINGLE_TOP_RIGHT_EDGE
-
DOUBLE_SINGLE_VERTICAL_LINE
public static final TextBorder DOUBLE_SINGLE_VERTICAL_LINE
-
DOUBLE_SINGLE_HORIZONTAL_LINE
public static final TextBorder DOUBLE_SINGLE_HORIZONTAL_LINE
-
DOUBLE_SINGLE_BOTTOM_LEFT_EDGE
public static final TextBorder DOUBLE_SINGLE_BOTTOM_LEFT_EDGE
-
DOUBLE_SINGLE_BOTTOM_DIVIDER_EDGE
public static final TextBorder DOUBLE_SINGLE_BOTTOM_DIVIDER_EDGE
-
DOUBLE_SINGLE_BOTTOM_RIGHT_EDGE
public static final TextBorder DOUBLE_SINGLE_BOTTOM_RIGHT_EDGE
-
DOUBLE_SINGLE_LEFT_EDGE
public static final TextBorder DOUBLE_SINGLE_LEFT_EDGE
-
DOUBLE_SINGLE_RIGHT_EDGE
public static final TextBorder DOUBLE_SINGLE_RIGHT_EDGE
-
DOUBLE_SINGLE_DIVIDER_EDGE
public static final TextBorder DOUBLE_SINGLE_DIVIDER_EDGE
-
ASCII_TOP_LEFT_EDGE
public static final TextBorder ASCII_TOP_LEFT_EDGE
-
ASCII_TOP_DIVIDER_EDGE
public static final TextBorder ASCII_TOP_DIVIDER_EDGE
-
ASCII_TOP_RIGHT_EDGE
public static final TextBorder ASCII_TOP_RIGHT_EDGE
-
ASCII_VERTICAL_LINE
public static final TextBorder ASCII_VERTICAL_LINE
-
ASCII_HORIZONTAL_LINE
public static final TextBorder ASCII_HORIZONTAL_LINE
-
ASCII_BOTTOM_LEFT_EDGE
public static final TextBorder ASCII_BOTTOM_LEFT_EDGE
-
ASCII_BOTTOM_DIVIDER_EDGE
public static final TextBorder ASCII_BOTTOM_DIVIDER_EDGE
-
ASCII_BOTTOM_RIGHT_EDGE
public static final TextBorder ASCII_BOTTOM_RIGHT_EDGE
-
ASCII_LEFT_EDGE
public static final TextBorder ASCII_LEFT_EDGE
-
ASCII_RIGHT_EDGE
public static final TextBorder ASCII_RIGHT_EDGE
-
ASCII_DIVIDER_EDGE
public static final TextBorder ASCII_DIVIDER_EDGE
-
-
Method Detail
-
values
public static TextBorder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TextBorder c : TextBorder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextBorder valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getChar
public char getChar()
- Specified by:
getChar
in interfaceorg.refcodes.mixin.CharAccessor
-
-