Package | Description |
---|---|
org.refcodes.textual | |
org.refcodes.textual.impls | |
org.refcodes.textual.utils |
Modifier and Type | Method and Description |
---|---|
TableBuilder |
TableBuilder.withColumnWidth(ColumnWidth aColumnWidth)
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 |
ColumnWidthImpl
Defines a column's width either in char length or in percent; this is
most useful when
|
Modifier and Type | Method and Description |
---|---|
TableBuilder |
TableBuilderImpl.withColumnWidth(ColumnWidth aColumnWidth)
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 | Method and Description |
---|---|
static int[] |
TextMetricsUtility.toColumnWidths(int aTotalWidth,
ColumnWidth... aColumnWidths)
Calculates the columns widths in "number of chars" according to the
provided
ColumnWidthImpl instances in relation to the provided
total (available) width; the provided column widths can be a mix of
"number of char" widths (WidthType.ABSOLUTE ) and percent (%)
widths (WidthType.RELATIVE ). |
Copyright © 2015. All rights reserved.