Uses of Enum
org.refcodes.textual.TableStyle
-
Uses of TableStyle in org.refcodes.textual
Modifier and TypeFieldDescriptionstatic final TableStyle
TableStyle.OTHER_TABLE_STYLE
Style displayed for sure when being under test (e.g.static final TableStyle
TableStyle.UNICODE_TABLE_STYLE
Style supported Unicode capable terminals (when not being under test).static final TableStyle
TableStyle.WINDOWS_TABLE_STYLE
Style displayed for sure when being on a Windows machine.Modifier and TypeMethodDescriptionTableStyleAccessor.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
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.Modifier and TypeMethodDescriptiondefault 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
TableBuilder.setTableStyle
(TableStyle aTableStyle) Sets theTableStyle
to use when printing.void
TableStyleAccessor.TableStyleMutator.setTableStyle
(TableStyle aTableStyle) Sets theTableStyle
to be used.TableBuilder.withTableStyle
(TableStyle aTableStyle) Sets theTableStyle
to use when printing and returns thisTableBuilder
instance as of the Builder-Pattern.TableStyleAccessor.TableStyleBuilder.withTableStyle
(TableStyle aTableStyle) Sets the rowsTableStyle
to use returns this builder as of the Builder-Pattern.