Package io.bdeploy.common.cli.data
Class DataTableText
java.lang.Object
io.bdeploy.common.cli.data.DataTableBase
io.bdeploy.common.cli.data.DataTableText
- All Implemented Interfaces:
DataTable,RenderableResult
-
Method Summary
Modifier and TypeMethodDescriptionAdd a horizontal ruler row at the current position.voidrender()setHideHeadersHint(boolean hide) setIndentHint(int hint) setLineWrapHint(boolean wrap) setWordBreakHint(boolean allowBreak) Methods inherited from class io.bdeploy.common.cli.data.DataTableBase
addFooter, column, column, ellipsis, expand, getCaption, getColumns, getExitCode, getFooters, getRows, out, row, row, setCaption, setExitCode
-
Method Details
-
setIndentHint
- Specified by:
setIndentHintin interfaceDataTable- Overrides:
setIndentHintin classDataTableBase- Parameters:
hint- by how much to indent the rendered table. This is just a hint and may be ignored depending on the output format.
-
setHideHeadersHint
- Specified by:
setHideHeadersHintin interfaceDataTable- Overrides:
setHideHeadersHintin classDataTableBase- Parameters:
hide- whether to hide column headers. This is just a hint and may be ignored depending on the output format.
-
setLineWrapHint
- Specified by:
setLineWrapHintin interfaceDataTable- Overrides:
setLineWrapHintin classDataTableBase- Parameters:
wrap- whether overflow should be cut off or wrapped into an additional line in the table. This is just a hint and may be ignored depending on the output format.
-
setWordBreakHint
- Specified by:
setWordBreakHintin interfaceDataTable- Overrides:
setWordBreakHintin classDataTableBase- Parameters:
allowBreak- iftruebreaking words apart is allowed. Iffalse(default) breaking words is only allowed if a single word cannot fit within a column.
-
addHorizontalRuler
Description copied from interface:DataTableAdd a horizontal ruler row at the current position.- Specified by:
addHorizontalRulerin interfaceDataTable- Overrides:
addHorizontalRulerin classDataTableBase
-
render
public void render()
-