| Modifier and Type | Field and Description |
|---|---|
protected Alignment |
ColumnFormatter.al |
| Modifier and Type | Method and Description |
|---|---|
Alignment |
ColumnFormatter.getAlignment() |
static Alignment |
Alignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alignment[] |
Alignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnFormatter<Number> |
ColumnFormatter.currency(Alignment al,
int width,
Precision p,
String symbol)
Get a built-in ColumnFormatter for currency values.
|
static ColumnFormatter<Date> |
ColumnFormatter.dateTime(Alignment al,
int width,
DateFormat df)
Get a built-in ColumnFormatter for date and time
|
static ColumnFormatter<Number> |
ColumnFormatter.number(Alignment al,
int width,
Precision p)
Get a built-in ColumnFormatter for plain numbers
|
static Table |
Table.of(Object[][] data,
Alignment al,
int width)
Quickly build a table
|
static ColumnFormatter<Number> |
ColumnFormatter.percentage(Alignment al,
int width,
Precision p)
Get a built-in ColumnFormatter for percentage values
|
static ColumnFormatter<String> |
ColumnFormatter.text(Alignment al,
int width)
Get a built-in ColumnFormatter for plain texts
|
| Constructor and Description |
|---|
ColumnFormatter(Alignment al,
int width) |
Copyright © 2016. All rights reserved.