| Modifier and Type | Field and Description |
|---|---|
protected AT_Context |
AsciiTable.ctx
The table context with optional settings for the table.
|
| Modifier and Type | Method and Description |
|---|---|
AT_Context |
AsciiTable.getContext()
Returns the table context.
|
AT_Context |
AT_Context.setFrameBottomChar(Character frameBottom)
Sets the bottom frame margin character.
|
AT_Context |
AT_Context.setFrameBottomMargin(int frameBottom)
Sets the bottom frame margin
|
AT_Context |
AT_Context.setFrameLeftChar(Character frameLeft)
Sets the left frame margin character.
|
AT_Context |
AT_Context.setFrameLeftMargin(int frameLeft)
Sets the left frame margin
|
AT_Context |
AT_Context.setFrameLeftRightChar(Character frameChar)
Sets the left and right frame margin character.
|
AT_Context |
AT_Context.setFrameLeftRightChar(Character frameLeft,
Character frameRight)
Sets the left and right frame margin character.
|
AT_Context |
AT_Context.setFrameLeftRightMargin(int frameMargin)
Sets the left and right frame margin.
|
AT_Context |
AT_Context.setFrameLeftRightMargin(int frameLeft,
int frameRight)
Sets the left and right frame margin.
|
AT_Context |
AT_Context.setFrameRightChar(Character frameRight)
Sets the right frame margin character.
|
AT_Context |
AT_Context.setFrameRightMargin(int frameRight)
Sets the right frame margin
|
AT_Context |
AT_Context.setFrameTopBottomMargin(int frameMargin)
Sets the top and bottom frame margin.
|
AT_Context |
AT_Context.setFrameTopBottomMargin(int frameTop,
int frameBottom)
Sets the top and bottom frame margin.
|
AT_Context |
AT_Context.setFrameTopChar(Character frameTop)
Sets the top frame margin character.
|
AT_Context |
AT_Context.setFrameTopMargin(int frameTop)
Sets the top frame margin
|
AT_Context |
AT_Context.setGrid(TA_Grid grid)
Sets the grid used to render the table.
|
AT_Context |
AT_Context.setGridTheme(int theme)
Sets the grid theme.
|
AT_Context |
AT_Context.setGridTheme(TA_GridThemes theme)
Sets the grid theme.
|
AT_Context |
AT_Context.setGridThemeOptions(int options)
Sets options for the grid theme.
|
AT_Context |
AT_Context.setGridThemeOptions(TA_GridThemeOptions options)
Sets options for the grid theme.
|
AT_Context |
AT_Context.setLineSeparator(String separator)
Sets a new line separator for the renderer.
|
AT_Context |
AT_Context.setWidth(int width)
Sets the table width.
|
| 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.
|
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. |
| Constructor and Description |
|---|
AsciiTable(AT_Context ctx)
Creates a new ASCII table with given context.
|
Copyright © 2014–2017. All rights reserved.