public static class TableProperties.Builder extends Object
| Constructor and Description |
|---|
Builder()
Creates a new builder
|
| Modifier and Type | Method and Description |
|---|---|
TableProperties.Builder |
border(Border value)
Sets the border
|
TableProperties |
build()
Creates new table properties based on the current
state of this builder
|
TableProperties.Builder |
margin(BlockSpacing value)
Sets the margin
|
TableProperties.Builder |
padding(BlockSpacing value)
Sets the padding
|
TableProperties.Builder |
preferredEmptySpace(int value)
Sets the preferred empty space of the table when the text content of cells are shorter
than the largest possible column width
|
TableProperties.Builder |
rowSpacing(float value)
Sets the row spacing for the resulting rows of text,
that the table is made up of
|
TableProperties.Builder |
tableColSpacing(int value)
Sets the table column spacing
|
TableProperties.Builder |
tableRowSpacing(int value)
Sets the table row spacing
|
public TableProperties.Builder tableRowSpacing(int value)
value - the table row spacingIllegalArgumentException - if the value is less than zeropublic TableProperties.Builder tableColSpacing(int value)
value - the table column spacingIllegalArgumentException - if the value is less than zeropublic TableProperties.Builder preferredEmptySpace(int value)
value - the number of character positions to preferably leave emptypublic TableProperties.Builder rowSpacing(float value)
value - the row spacingpublic TableProperties.Builder margin(BlockSpacing value)
value - the marginpublic TableProperties.Builder padding(BlockSpacing value)
value - the paddingpublic TableProperties.Builder border(Border value)
value - the borderpublic TableProperties build()