Package | Description |
---|---|
org.refcodes.textual | |
org.refcodes.textual.impls |
Modifier and Type | Method and Description |
---|---|
TableBuilder |
TableBuilder.addColumn()
Adds a column and returns this
TableBuilder instance as of the
builder pattern. |
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.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.withEscapeCodes(boolean isEscapeCodesEnabled)
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. |
default 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.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 and Description |
---|---|
default void |
TableBuilder.printHeaderEnd(TableBuilder aTablePrinter) |
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. |
default void |
TableBuilder.printRowEnd(TableBuilder aTablePrinter) |
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 |
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 |
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. |
Modifier and Type | Class and Description |
---|---|
class |
TableBuilderImpl
An implementation of the
TableBuilder interface. |
Modifier and Type | Method and Description |
---|---|
String |
TableBuilderImpl.toHeaderEnd(TableBuilder aTablePrinter) |
String |
TableBuilderImpl.toRowEnd(TableBuilder aTablePrinter) |
Copyright © 2017. All rights reserved.