Modifier and Type | Method | Description |
---|---|---|
ColumnWidthType |
ColumnWidthMetrics.getColumnWidthType() |
The type of the width being provided, either percent (%) or number of
chars.
|
ColumnWidthType |
ColumnWidthMetricsImpl.getColumnWidthType() |
The type of the width being provided, either percent (%) or number of
chars.
|
static ColumnWidthType |
ColumnWidthType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ColumnWidthType[] |
ColumnWidthType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ColumnWidthMetrics.setColumnWidthType(ColumnWidthType aColumnWidthType) |
Sets the column width type.
|
void |
ColumnWidthMetricsImpl.setColumnWidthType(ColumnWidthType aColumnWidthType) |
Sets the column width type.
|
TableBuilder |
TableBuilder.withColumnWidth(int aWidth,
ColumnWidthType aWidthType) |
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. |
default ColumnFormatMetrics |
ColumnFormatMetrics.withColumnWidthType(ColumnWidthType aColumnWidthType) |
With column width type.
|
default ColumnSetupMetrics |
ColumnSetupMetrics.withColumnWidthType(ColumnWidthType aColumnWidthType) |
With column width type.
|
default ColumnWidthMetrics |
ColumnWidthMetrics.withColumnWidthType(ColumnWidthType aColumnWidthType) |
With column width type.
|
Constructor | Description |
---|---|
ColumnFormatMetricsImpl(int aWidth,
ColumnWidthType aWidthType) |
Constructs a column's width, either in percent (%) or in number of chars.
|
ColumnSetupMetricsImpl(int aWidth,
ColumnWidthType aWidthType) |
Constructs a column's width, either in percent (%) or in number of chars.
|
ColumnWidthMetricsImpl(int aWidth,
ColumnWidthType aWidthType) |
Constructs a column's width, either in percent (%) or in number of chars.
|
Copyright © 2021. All rights reserved.