public interface ICustomPrinter
| Modifier and Type | Interface and Description |
|---|---|
static class |
ICustomPrinter.CellPosition
Cell positions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendTableHeaderValue(Object value,
ICustomPrinter.CellPosition position)
Add a header value to the table.
|
void |
appendTableLineSeparator()
Append a line separator to the builder.
|
void |
appendTableTitle(Object title)
Add a title to the table.
|
void |
appendTableValue(Object value)
Add a single value to the table.
|
void |
appendTableValue(Object value,
ICustomPrinter.CellPosition position)
Add a single value to the table.
|
void |
appendValue(Object value)
Add a simple value.
|
void |
endTable()
End the table drawing.
|
void |
startTable(int columnWidth,
int columnCount)
Start the drawing of a table.
|
String |
toString()
Return the not null string representation of the data contained by the
ICustomPrinter in its specific format. |
void startTable(int columnWidth,
int columnCount)
columnWidth - Width in character number of a single column.columnCount - Count of column.void endTable()
void appendTableLineSeparator()
void appendTableValue(Object value)
value - Value to add to the table.void appendTableValue(Object value, ICustomPrinter.CellPosition position)
value - Value to add to the table.void appendTableHeaderValue(Object value, ICustomPrinter.CellPosition position)
value - Header value to add to the table.void appendTableTitle(Object title)
title - Not null title to add to the table.void appendValue(Object value)
appendTableValue(Object).value - Value to add.String toString()
ICustomPrinter in its specific format.toString in class ObjectICustomPrinterCopyright © 2021 CNRS. All rights reserved.