Package | Description |
---|---|
org.refcodes.textual | |
org.refcodes.textual.impls |
Modifier and Type | Interface and Description |
---|---|
interface |
ColumnFormatMetrics |
interface |
ColumnSetupMetrics |
Modifier and Type | Method and Description |
---|---|
default ColumnWidthMetrics |
ColumnWidthMetrics.withColumnWidthType(ColumnWidthType aColumnWidthType) |
Modifier and Type | Method and Description |
---|---|
default void |
ColumnWidthMetrics.fromColumnWidthMetrics(ColumnWidthMetrics aColumnWidthMetrics) |
TableBuilder |
TableBuilder.withColumnWidthMetrics(ColumnWidthMetrics aColumnWidthMetrics)
Sets the current column's (the last added one with the
TableBuilder.addColumn() method) width and returns this TableBuilder
instance as of the builder pattern. |
Modifier and Type | Class and Description |
---|---|
class |
ColumnFormatMetricsImpl
Implementation of the
ColumnFormatMetrics interface. |
class |
ColumnSetupMetricsImpl
Implementation of the
ColumnFormatMetrics interface. |
class |
ColumnWidthMetricsImpl
Implementation of the
ColumnWidthMetrics interface. |
Modifier and Type | Method and Description |
---|---|
ColumnWidthMetrics |
ColumnWidthMetricsImpl.withColumnWidth(int aColumnWidth) |
Modifier and Type | Method and Description |
---|---|
protected static int[] |
TableBuilderImpl.toColumnWidths(int aTotalWidth,
ColumnWidthMetrics... aColumnWidths)
Calculates the columns widths in "number of chars" according to the
provided
ColumnWidthMetricsImpl instances in relation to the
provided total (available) width; the provided column widths can be a mix
of "number of char" widths (ColumnWidthType.ABSOLUTE ) and percent
(%) widths (ColumnWidthType.RELATIVE ). |
TableBuilder |
TableBuilderImpl.withColumnWidthMetrics(ColumnWidthMetrics aColumnWidthMetrics) |
Copyright © 2017. All rights reserved.