-
- All Implemented Interfaces:
public class TableGenerator
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
CENTER_ALIGNMENT
public final static String
RIGHT_ALIGNMENT
private Character
borderVertical
private Character
borderHorizontal
private Character
borderInterceptionTop
private Character
borderInterceptionBottom
private Character
borderInterceptionLeft
private Character
borderInterceptionMiddle
private Character
borderInterceptionRight
private Character
borderCornerTopLeft
private Character
borderCornerTopRight
private Character
borderCornerBottomLeft
private Character
borderCornerBottomRight
private String
boarderColorPrefix
private String
boarderColorSuffix
private int
borderSpace
private Character
space
private int
autoLineBreak
private boolean
header
private boolean
footer
private boolean
leftWall
private boolean
rightWall
-
Method Summary
-
-
Method Detail
-
getBorderVertical
Character getBorderVertical()
Get the character for the vertical section of the boarder:
┌──┬──┐ │ │ [│] <- this section ├──┼──┤ │ │ │ └──┴──┘
-
setBorderVertical
TableGenerator setBorderVertical(Character borderVertical)
-
getBorderHorizontal
Character getBorderHorizontal()
-
setBorderHorizontal
TableGenerator setBorderHorizontal(Character borderHorizontal)
-
getBorderInterceptionTop
Character getBorderInterceptionTop()
-
setBorderInterceptionTop
TableGenerator setBorderInterceptionTop(Character borderInterceptionTop)
-
getBorderInterceptionBottom
Character getBorderInterceptionBottom()
-
setBorderInterceptionBottom
TableGenerator setBorderInterceptionBottom(Character borderInterceptionBottom)
-
getBorderInterceptionLeft
Character getBorderInterceptionLeft()
-
setBorderInterceptionLeft
TableGenerator setBorderInterceptionLeft(Character borderInterceptionLeft)
-
getBorderInterceptionMiddle
Character getBorderInterceptionMiddle()
-
setBorderInterceptionMiddle
TableGenerator setBorderInterceptionMiddle(Character borderInterceptionMiddle)
-
getBorderInterceptionRight
Character getBorderInterceptionRight()
-
setBorderInterceptionRight
TableGenerator setBorderInterceptionRight(Character borderInterceptionRight)
-
getBorderCornerTopLeft
Character getBorderCornerTopLeft()
-
setBorderCornerTopLeft
TableGenerator setBorderCornerTopLeft(Character borderCornerTopLeft)
-
getBorderCornerTopRight
Character getBorderCornerTopRight()
-
setBorderCornerTopRight
TableGenerator setBorderCornerTopRight(Character borderCornerTopRight)
-
getBorderCornerBottomLeft
Character getBorderCornerBottomLeft()
-
setBorderCornerBottomLeft
TableGenerator setBorderCornerBottomLeft(Character borderCornerBottomLeft)
-
getBorderCornerBottomRight
Character getBorderCornerBottomRight()
-
setBorderCornerBottomRight
TableGenerator setBorderCornerBottomRight(Character borderCornerBottomRight)
-
getBoarderColorPrefix
String getBoarderColorPrefix()
-
setBoarderColorPrefix
TableGenerator setBoarderColorPrefix(String boarderColorPrefix)
-
getBoarderColorSuffix
String getBoarderColorSuffix()
-
setBoarderColorSuffix
TableGenerator setBoarderColorSuffix(String boarderColorSuffix)
-
getBorderSpace
int getBorderSpace()
-
setBorderSpace
TableGenerator setBorderSpace(int borderSpace)
-
setSpace
TableGenerator setSpace(Character space)
-
getAutoLineBreak
int getAutoLineBreak()
-
setAutoLineBreak
TableGenerator setAutoLineBreak(int autoLineBreak)
-
setHeader
TableGenerator setHeader(boolean header)
-
setFooter
TableGenerator setFooter(boolean footer)
-
setLeftWall
TableGenerator setLeftWall(boolean leftWall)
-
setRightWall
TableGenerator setRightWall(boolean rightWall)
-
addContent
TableGenerator addContent(Array<String> content)
- Parameters:
content
- The content which should be added.
-
addEmptyLine
TableGenerator addEmptyLine()
-
addTableLineSeparator
TableGenerator addTableLineSeparator()
-
isHeader
boolean isHeader()
-
isFooter
boolean isFooter()
-
isLeftWall
boolean isLeftWall()
-
isRightWall
boolean isRightWall()
-
-
-
-