public interface SizeConstraints
Modifier and Type | Interface and Description |
---|---|
static class |
SizeConstraints.Extent
Holds both a minimum and maximum width.
|
Modifier and Type | Method and Description |
---|---|
SizeConstraints.Extent |
width(String[] raw,
int tableWidth,
int nbColumns)
Return the minimum and maximum width of the cell, given its raw content.
|
SizeConstraints.Extent width(String[] raw, int tableWidth, int nbColumns)
raw
- the raw String representation of the cell contents (may be reformatted later, eg wrapped)tableWidth
- the whole available width for the tablenbColumns
- the number of columns in the table