public class TableRowStyleBuilder extends Object implements StyleBuilder<TableRowStyle>, ShowableBuilder<TableRowStyleBuilder>
| Modifier and Type | Method and Description |
|---|---|
TableRowStyle |
build() |
TableRowStyleBuilder |
defaultCellStyle(TableCellStyle defaultCellStyle)
Set a default cell style
|
TableRowStyleBuilder |
optimalHeight()
Set the width to the optimal value *permanently*: the consumer should adapt the width
when the text changes.
|
TableRowStyleBuilder |
rowHeight(Length height)
Set the row height to a table row.
|
TableRowStyleBuilder |
visible()
Make this style visible, ie part of common styles
|
public TableRowStyle build()
build in interface StyleBuilder<TableRowStyle>public TableRowStyleBuilder defaultCellStyle(TableCellStyle defaultCellStyle)
defaultCellStyle - the stylepublic TableRowStyleBuilder visible()
ShowableBuildervisible in interface ShowableBuilder<TableRowStyleBuilder>public TableRowStyleBuilder rowHeight(Length height)
height - The table row height to be used.public TableRowStyleBuilder optimalHeight()
Copyright © 2016–2021. All rights reserved.