Package org.springframework.shell.table
Interface SizeConstraints
- All Known Implementing Classes:
 AbsoluteWidthSizeConstraints,AutoSizeConstraints,KeyValueSizeConstraints,NoWrapSizeConstraints
public interface SizeConstraints
Strategy for computing the dimensions of a table cell.
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classHolds both a minimum and maximum width. - 
Method Summary
Modifier and TypeMethodDescription 
- 
Method Details
- 
width
- Parameters:
 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- Returns:
 - the minimum and maximum width of the cell, given its raw content.
 
 
 -