| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<AT_Row> |
AsciiTable.rows
Rows of the table.
|
| Modifier and Type | Method and Description |
|---|---|
AT_Row |
AsciiTable.addRow(Collection<?> columns)
Adds a content row to the table.
|
AT_Row |
AsciiTable.addRow(Object... columns)
Adds a content row to the table.
|
static AT_Row |
AT_Row.createContentRow(Object[] content)
Creates a new row with content with default cell context and a normal row style.
|
static AT_Row |
AT_Row.createContentRow(Object[] content,
TableRowStyle style)
Creates a new row with content with given cell context and a normal row style.
|
static AT_Row |
AT_Row.createRule(TableRowType type,
TableRowStyle style)
Creates a new row representing a rule.
|
AT_Row |
AT_Row.setCharTranslator(CharacterTranslator charTranslator)
Sets the character translator for all cells in the row.
|
AT_Row |
AT_Row.setHtmlElementTranslator(HtmlElementTranslator htmlElementTranslator)
Sets the HTML entity translator for all cells in the row.
|
AT_Row |
AT_Row.setPadding(int padding)
Sets all padding for all cells in the row to the same value.
|
AT_Row |
AT_Row.setPaddingBottom(int paddingBottom)
Sets the bottom padding for all cells in the row.
|
AT_Row |
AT_Row.setPaddingBottomChar(Character paddingBottomChar)
Sets the bottom padding character for all cells in the row.
|
AT_Row |
AT_Row.setPaddingLeft(int paddingLeft)
Sets the left padding for all cells in the row.
|
AT_Row |
AT_Row.setPaddingLeftChar(Character paddingLeftChar)
Sets the left padding character for all cells in the row.
|
AT_Row |
AT_Row.setPaddingLeftRight(int padding)
Sets left and right padding for all cells in the row.
|
AT_Row |
AT_Row.setPaddingLeftRight(int paddingLeft,
int paddingRight)
Sets left and right padding for all cells in the row (only if both values are not smaller than 0).
|
AT_Row |
AT_Row.setPaddingRight(int paddingRight)
Sets the right padding for all cells in the row.
|
AT_Row |
AT_Row.setPaddingRightChar(Character paddingRightChar)
Sets the right padding character for all cells in the row.
|
AT_Row |
AT_Row.setPaddingTop(int paddingTop)
Sets the top padding for all cells in the row.
|
AT_Row |
AT_Row.setPaddingTopBottom(int padding)
Sets top and bottom padding for all cells in the row.
|
AT_Row |
AT_Row.setPaddingTopBottom(int paddingTop,
int paddingBottom)
Sets top and bottom padding for all cells in the row (only if both values are not smaller than 0).
|
AT_Row |
AT_Row.setPaddingTopChar(Character paddingTopChar)
Sets the top padding character for all cells in the row.
|
AT_Row |
AT_Row.setTargetTranslator(TargetTranslator targetTranslator)
Sets the target translator for all cells in the row.
|
AT_Row |
AT_Row.setTextAlignment(TextAlignment textAlignment)
Sets the text alignment for all cells in the row.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<AT_Row> |
AsciiTable.getRawContent() |
| Modifier and Type | Method and Description |
|---|---|
default int[] |
AT_ColumnWidthCalculator.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
AT_Context ctx)
Returns the width of each column in an array, column one being [0] and so on.
|
int[] |
CWC_LongestWordMin.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth) |
int[] |
CWC_LongestWordMax.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth) |
int[] |
CWC_LongestWord.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth) |
int[] |
CWC_LongestLine.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth) |
int[] |
CWC_FixedWidth.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth) |
int[] |
CWC_AbsoluteEven.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth) |
int[] |
AT_ColumnWidthCalculator.calculateColumnWidths(LinkedList<AT_Row> rows,
int colNumbers,
int tableWidth)
Returns the width of each column in an array, column one being [0] and so on.
|
static int[] |
CWC_LongestWord.longestWord(LinkedList<AT_Row> rows,
int colNumbers)
Returns an array with the width of the longest word per column calculated from the given table.
|
default String |
AT_Renderer.render(LinkedList<AT_Row> rows,
int colNumbers,
AT_Context ctx)
Renders an
AsciiTable. |
default String |
AT_Renderer.render(LinkedList<AT_Row> rows,
int colNumbers,
AT_Context ctx,
int width)
Renders an
AsciiTable. |
default Collection<StrBuilder> |
AT_Renderer.renderAsCollection(LinkedList<AT_Row> rows,
int colNumbers,
AT_Context ctx)
Renders an
AsciiTable. |
default Collection<StrBuilder> |
AT_Renderer.renderAsCollection(LinkedList<AT_Row> rows,
int colNumbers,
AT_Context ctx,
int width)
Renders an
AsciiTable. |
Copyright © 2014–2017. All rights reserved.