public interface TableBuilder extends Builder
Builder
providing an API that helps you to build a TableEntry
Modifier and Type | Method and Description |
---|---|
TableBuilder |
addBodyCell(Entry entry)
|
TableBuilder |
addBodyCell(String value)
Adds the given String value to the latest body row as a
UnknownStringKey contained within TableCell |
TableBuilder |
addBodyCell(StringKey value)
|
TableBuilder |
addBodyCell(TableCell cell)
Adds the given
TableCell to the latest body row |
TableBuilder |
addBodyRow(Entry... entries)
Creates a
TableRow instance and adds the given entries into it. |
TableBuilder |
addBodyRow(String... rowValues)
Creates a
TableRow instance and adds the given String values as UnknownStringKey (-ies) into it. |
TableBuilder |
addBodyRow(StringKey... rowValues)
|
TableBuilder |
addBodyRows(TableRow... rows)
Adds given rows to a list of rows in table body
|
TableBuilder |
addHeaderCell(Entry entry)
|
TableBuilder |
addHeaderCell(String value)
Adds the given String value to the latest header row as a
UnknownStringKey contained within TableCell |
TableBuilder |
addHeaderCell(StringKey value)
|
TableBuilder |
addHeaderCell(TableCell cell)
Adds the given
TableCell to the latest header row |
TableBuilder |
addHeaderRow(Entry... entries)
Creates a
TableRow instance and adds the given entries into it. |
TableBuilder |
addHeaderRow(String... rowValues)
Creates a
TableRow instance and adds the given String values as UnknownStringKey (-ies) into it. |
TableBuilder |
addHeaderRow(StringKey... rowValues)
|
TableBuilder |
addHeaderRows(TableRow... rows)
Adds given rows to a list of rows in table header
|
TableEntry |
build()
Finishes all necessary building actions and returns the resulting
TableEntry instance. |
TableBuilder |
copy()
Creates and returns a deep copy of the
TableBuilder instance |
TableBuilder |
newBodyRow()
Creates a new instance of
TableRow and adds it into the list of body rows |
TableBuilder |
newHeaderRow()
Creates a new instance of
TableRow and adds it into the list of header rows |
TableBuilder addHeaderRows(TableRow... rows)
rows
- TableRow
s to addTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderRow(Entry... entries)
TableRow
instance and adds the given entries into it. This row is then added into the list of
rows in table headerentries
- Entry
(-ies) that should be contained in the new header rowTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderRow(String... rowValues)
TableRow
instance and adds the given String values as UnknownStringKey
(-ies) into it.
This row is then added into the list of rows in table headerrowValues
- String values that should be contained in the new header rowTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderRow(StringKey... rowValues)
TableRow
instance and adds the given StringKey
(-ies) into it.
This row is then added into the list of rows in table headerrowValues
- StringKey
(-ies) that should be contained in the new header rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyRows(TableRow... rows)
rows
- TableRow
s to addTableBuilder
with modified TableEntry
instanceTableBuilder addBodyRow(Entry... entries)
TableRow
instance and adds the given entries into it. This row is then added into the list of
rows in the table bodyentries
- Entry
(-ies) that should be contained in the new body rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyRow(String... rowValues)
TableRow
instance and adds the given String values as UnknownStringKey
(-ies) into it.
This row is then added into the list of rows in the table bodyrowValues
- String values that should be contained in the new body rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyRow(StringKey... rowValues)
TableRow
instance and adds the given StringKey
(-ies) into it.
This row is then added into the list of rows in table bodyrowValues
- StringKey
(-ies) that should be contained in the new body rowTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderCell(TableCell cell)
TableCell
to the latest header rowcell
- A TableCell
to be added into the latest header rowTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderCell(Entry entry)
entry
- A Entry
to be added into the latest header rowTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderCell(String value)
UnknownStringKey
contained within TableCell
value
- A String value to be added into the latest header rowTableBuilder
with modified TableEntry
instanceTableBuilder addHeaderCell(StringKey value)
value
- A StringKey
to be added into the latest header rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyCell(TableCell cell)
TableCell
to the latest body rowcell
- A TableCell
to be added into the latest body rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyCell(Entry entry)
entry
- A Entry
to be added into the latest body rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyCell(String value)
UnknownStringKey
contained within TableCell
value
- A String value to be added into the latest body rowTableBuilder
with modified TableEntry
instanceTableBuilder addBodyCell(StringKey value)
value
- A StringKey
to be added into the latest body rowTableBuilder
with modified TableEntry
instanceTableBuilder newHeaderRow()
TableRow
and adds it into the list of header rowsTableBuilder
with modified TableEntry
instanceTableBuilder newBodyRow()
TableRow
and adds it into the list of body rowsTableBuilder
with modified TableEntry
instanceTableEntry build()
TableEntry
instance.TableEntry
instanceTableBuilder copy()
TableBuilder
instanceTableBuilder
instanceCopyright © 2017 JBoss by Red Hat. All rights reserved.