public class AbsoluteWidthSizeConstraints extends Object implements SizeConstraints
SizeConstraints.Extent
Constructor and Description |
---|
AbsoluteWidthSizeConstraints(int width) |
Modifier and Type | Method and Description |
---|---|
SizeConstraints.Extent |
width(String[] raw,
int previous,
int tableWidth)
Return the minimum and maximum width of the cell, given its raw content.
|
public SizeConstraints.Extent width(String[] raw, int previous, int tableWidth)
SizeConstraints
width
in interface SizeConstraints
raw
- the raw String representation of the cell contents (may be reformatted later, eg wrapped)previous
- the whole available width for the tabletableWidth
- the number of columns in the table