Enum Class TextShapeExporter.BorderStrategy
java.lang.Object
java.lang.Enum<TextShapeExporter.BorderStrategy>
org.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- All Implemented Interfaces:
Serializable, Comparable<TextShapeExporter.BorderStrategy>, Constable
- Enclosing class:
TextShapeExporter
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA simple border based on plain ASCII characters.A border comprised of the box drawing characters.No border but with spaces between shapes. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoiddividerHorizontalLine(PrintWriter pw, int width) voidvoidvoidvoidvoidhorizontalLine(PrintWriter pw, int width) voidvoidvoidReturns the enum constant of this class with the specified name.static TextShapeExporter.BorderStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.void
-
Enum Constant Details
-
NONE
No border but with spaces between shapes. Note the tricky newline individerLeftEdge. -
BOX_DRAWING
A border comprised of the box drawing characters.- See Also:
-
ASCII_TEXT
A simple border based on plain ASCII characters.
-
-
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
-
horizontalLine
-
verticalLine
-
topLeftCorner
-
topRightCorner
-
bottomLeftCorner
-
bottomRightCorner
-
topDivider
-
bottomDivider
-
dividerVerticalLine
-
dividerHorizontalLine
-
dividerLeftEdge
-
dividerRightEdge
-
dividerMiddle
-