Modifier and Type | Method | Description |
---|---|---|
TableBuilder |
TableBuilder.addColumn() |
Adds a column and returns this
TableBuilder instance as of the
Builder-Pattern. |
TableBuilder |
TableBuilder.setTableStatus(TableStatus aTableStatus) |
Set the
TablePrinter (TableBuilder ) status. |
TableBuilder |
TableBuilder.withBorderEscapeCode(String aEscapeCode) |
Sets an overall ANSI Escape-Code for the borders and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnFormatMetrics(ColumnFormatMetrics aColumnFormatMetrics) |
Sets the current column's (the last added one with the
addColumn() method) format (including the width) and returns
this TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode) |
Sets the column's alignment mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnMoreTextMode(MoreTextMode aMoreTextMode) |
Sets the column's "more" mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnSplitTextMode(SplitTextMode aSplitTextMode) |
Sets the column's line split mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnTextFormatMode(TextFormatMode aTextFormatMode) |
Sets the column's format mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnWidth(int aWidth) |
Sets the current column's (the last added one with the
addColumn() method) absolute width () @link
ColumnWidthType#ABSOLUTE) and returns this TableBuilder instance
as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnWidth(int aWidth,
ColumnWidthType aWidthType) |
Sets the current column's (the last added one with the
addColumn() method) width and returns this TableBuilder
instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withColumnWidthMetrics(ColumnWidthMetrics aColumnWidthMetrics) |
Sets the current column's (the last added one with the
addColumn() method) width and returns this TableBuilder
instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withDividerLine(boolean hasDividerLine) |
Sets whether to print the divider line between the columns of a row and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withEscapeCode(String aEscapeCode) |
Sets an overall ANSI Escape-Code for the header, the rows as well as the
borders; and returns this
TableBuilder instance as of the builder
pattern. |
TableBuilder |
TableBuilder.withEscapeCodesEnabled(boolean isEscCodesEnabled) |
Sets an overall ANSI Escape-Code support for the
TableBuilder , for the rows as well as the borders; and returns
this TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderColumnEscapeCode(String aEscapeCode) |
Sets the column's header ANSI Escape-Code for the current header column
and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderColumnHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode) |
Sets the column's header alignment mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderColumnMoreTextMode(MoreTextMode aMoreTextMode) |
Sets the column's header "more" mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderColumnSplitTextMode(SplitTextMode aSplitTextMode) |
Sets the column's header line split mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderColumnTextFormatMode(TextFormatMode aTextFormatMode) |
Sets the column's header format mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderEscapeCode(String aEscapeCode) |
Sets an overall ANSI Escape-Code for the header and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode) |
Sets an overall alignment mode for the header and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderMoreTextMode(MoreTextMode aMoreTextMode) |
Sets an overall "more" mode for the header and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderSplitTextMode(SplitTextMode aSplitTextMode) |
Sets an overall line split mode for the header and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHeaderTextFormatMode(TextFormatMode aTextFormatMode) |
Sets an overall format mode for the header and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode) |
Sets an overall alignment mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withLeftBorder(boolean hasLeftBorder) |
Sets whether to print the left border and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withLineBreak(String aLineBreak) |
Sets the required line break and returns this
TableBuilder
instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withMoreTextMode(MoreTextMode aMoreTextMode) |
Sets an overall "more" mode for the header and the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withPrintStream(PrintStream aPrintStream) |
Sets the print stream to be used when using the print methods of the
TableBuilder and returns this TableBuilder instance as of
the Builder-Pattern. |
TableBuilder |
TableBuilder.withResetEscapeCode(String aEscapeCode) |
Sets the ANSI reset Escape-Code for this
TableBuilder instance as
of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRightBorder(boolean hasRightBorder) |
Sets whether to print the right border and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowColumnEscapeCode(String aEscapeCode) |
Sets the column's header ANSI Escape-Code for the current row column and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowColumnHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode) |
Sets the column's header alignment mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowColumnMoreTextMode(MoreTextMode aMoreTextMode) |
Sets the column's header "more" mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowColumnSplitTextMode(SplitTextMode aSplitTextMode) |
Sets the column's header line split mode for the header and the rows and
returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowColumnTextFormatMode(TextFormatMode aTextFormatMode) |
Sets the column's row format mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowEscapeCode(String aEscapeCode) |
Sets an overall ANSI Escape-Code for the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowHorizAlignTextMode(HorizAlignTextMode aHorizAlignTextMode) |
Sets an overall alignment mode for the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowMoreTextMode(MoreTextMode aMoreTextMode) |
Sets an overall "more" mode for the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowSplitTextMode(SplitTextMode aSplitTextMode) |
Sets an overall line split mode for the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowTextFormatMode(TextFormatMode aTextFormatMode) |
Sets an overall format mode for the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withRowWidth(int aRowWidth) |
In case a value of -1 is provided, then the width is calculated
dynamically from the individual columns' widths added together including
any borders being specified.
|
TableBuilder |
TableBuilder.withSplitTextMode(SplitTextMode aSplitTextMode) |
Sets an overall line split mode for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withTableStyle(TableStyle aTableStyle) |
Sets the
TableStyle to use when printing and returns this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withTextColumnEscapeCode(String aEscapeCode) |
Sets the column's ANSI Escape-Code for the current (header and row)
column and returns this
TableBuilder instance as of the builder
pattern. |
TableBuilder |
TableBuilder.withTextEscapeCode(String aEscapeCode) |
Sets an overall ANSI Escape-Code for the header and the rows and returns
this
TableBuilder instance as of the Builder-Pattern. |
TableBuilder |
TableBuilder.withTextFormatMode(TextFormatMode aTextFormatMode) |
Sets an overall format mode for the header and the rows and returns this
TableBuilder instance as of the Builder-Pattern. |
Modifier and Type | Method | Description |
---|---|---|
void |
TableBuilder.printHeaderEnd(TableBuilder aTablePrinter) |
Ends the headers of the provided
TableBuilder for this table
printer to continue to the PrintStream configured for this
PrintWriter ; different header widths and column widths are taken
care of, so it is a pleasure to mix different TableBuilder s,
especially when empty columns may result in better using another column
layout making better use of the available width. |
void |
TablePrinter.printHeaderEnd(TableBuilder aTablePrinter) |
Ends the headers of the provided
TableBuilder for this table
printer to continue to the PrintStream configured for this
PrintWriter ; different header widths and column widths are taken
care of, so it is a pleasure to mix different TableBuilder s,
especially when empty columns may result in better using another column
layout making better use of the available width. |
void |
TableBuilder.printRowEnd(TableBuilder aTablePrinter) |
Ends the rows of the provided
TableBuilder for this table printer
to continue to the PrintStream configured for this
PrintWriter ; different row widths and column widths are taken
care of, so it is a pleasure to mix different TableBuilder s,
especially when empty columns may result in better using another column
layout making better use of the available width. |
void |
TablePrinter.printRowEnd(TableBuilder aTablePrinter) |
Ends the rows of the provided
TableBuilder for this table printer
to continue to the PrintStream configured for this
PrintWriter ; different row widths and column widths are taken
care of, so it is a pleasure to mix different TableBuilder s,
especially when empty columns may result in better using another column
layout making better use of the available width. |
String |
TableBuilder.toHeaderEnd(TableBuilder aTablePrinter) |
Ends the headers of the provided
TableBuilder for this table
printer to continue; different header widths and column widths are taken
care of, so it is a pleasure to mix different TableBuilder s,
especially when empty columns may result in better using another column
layout making better use of the available width. |
String |
TablePrinter.toHeaderEnd(TableBuilder aTablePrinter) |
Ends the headers of the provided
TableBuilder for this table
printer to continue; different header widths and column widths are taken
care of, so it is a pleasure to mix different TableBuilder s,
especially when empty columns may result in better using another column
layout making better use of the available width. |
String |
TableBuilder.toRowEnd(TableBuilder aTablePrinter) |
Ends the rows of the provided
TableBuilder for this table printer
to continue; different row widths and column widths are taken care of, so
it is a pleasure to mix different TableBuilder s, especially when
empty columns may result in better using another column layout making
better use of the available width. |
String |
TablePrinter.toRowEnd(TableBuilder aTablePrinter) |
Ends the rows of the provided
TableBuilder for this table printer
to continue; different row widths and column widths are taken care of, so
it is a pleasure to mix different TableBuilder s, especially when
empty columns may result in better using another column layout making
better use of the available width. |
Copyright © 2021. All rights reserved.