Uses of Class
org.refcodes.textual.TableStyle
-
-
Uses of TableStyle in org.refcodes.textual
Fields in org.refcodes.textual declared as TableStyle Modifier and Type Field Description static TableStyle
TableStyle. OTHER_TABLE_STYLE
Style displayed for sure when being under test (e.g.static TableStyle
TableStyle. UNICODE_TABLE_STYLE
Style supported Unicode capable terminals (when not being under test).static TableStyle
TableStyle. WINDOWS_TABLE_STYLE
Style displayed for sure when being on a Windows machine.Methods in org.refcodes.textual that return TableStyle Modifier and Type Method Description TableStyle
TableStyleAccessor. getTableStyle()
Gets the currently setTableStyle
being used.default TableStyle
TableStyleAccessor.TableStyleProperty. letTableStyle(TableStyle aTableStyle)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenTableStyle
(setter) as ofTableStyleAccessor.TableStyleMutator.setTableStyle(TableStyle)
and returns the very same value (getter).static TableStyle
TableStyle. toRuntimeTableStyle()
Depending on the runtime environment (Windows, Linux, JUnit) we prefer different table styles as depending on the runtime environment not all characters used by the various table styles may be available.static TableStyle
TableStyle. toTableStyle(String aValue)
Retrieves aTableStyle
depending on the given string, ignoring the case as well as beeing graceful regarding "-" and "_",static TableStyle
TableStyle. valueOf(String name)
Returns the enum constant of this type with the specified name.static TableStyle[]
TableStyle. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.refcodes.textual with parameters of type TableStyle Modifier and Type Method Description default TableStyle
TableStyleAccessor.TableStyleProperty. letTableStyle(TableStyle aTableStyle)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenTableStyle
(setter) as ofTableStyleAccessor.TableStyleMutator.setTableStyle(TableStyle)
and returns the very same value (getter).void
TableStyleAccessor.TableStyleMutator. setTableStyle(TableStyle aTableStyle)
Sets theTableStyle
to be used.TableBuilder
TableBuilder. withTableStyle(TableStyle aTableStyle)
Sets theTableStyle
to use when printing and returns thisTableBuilder
instance as of the Builder-Pattern.B
TableStyleAccessor.TableStyleBuilder. withTableStyle(TableStyle aTableStyle)
Sets the rowsTableStyle
to use returns this builder as of the Builder-Pattern.
-