Skip navigation links
A B C D F G I N O P T V W 

A

addColumn(String, T[], ColumnFormatter<T>) - Method in class io.bretty.console.table.Table.Builder
Add a column to the ColumnBuilder object
al - Variable in class io.bretty.console.table.ColumnFormatter
 
Alignment - Enum in io.bretty.console.table
The Alignment enum represents the alignment options of a String with a given width

B

build() - Method in class io.bretty.console.table.Table.Builder
Build a table from the content of the builder
Builder(String, T[], ColumnFormatter<T>) - Constructor for class io.bretty.console.table.Table.Builder
The only constructor must start with a column

C

ColumnFormatter<T> - Class in io.bretty.console.table
The ColumnFormatter class represents a certain format of an logical column in a table.
ColumnFormatter() - Constructor for class io.bretty.console.table.ColumnFormatter
 
ColumnFormatter(Alignment, int) - Constructor for class io.bretty.console.table.ColumnFormatter
 
currency(Alignment, int, Precision, String) - Static method in class io.bretty.console.table.ColumnFormatter
Get a built-in ColumnFormatter for currency values.

D

dateTime(Alignment, int, DateFormat) - Static method in class io.bretty.console.table.ColumnFormatter
Get a built-in ColumnFormatter for date and time

F

format(String, int, char) - Method in enum io.bretty.console.table.Alignment
Format a String as the given alignment.
format(T) - Method in class io.bretty.console.table.ColumnFormatter
Format an object of T type into a String
format(double) - Method in enum io.bretty.console.table.Precision
 
formatString(String, int) - Method in class io.bretty.console.table.ColumnFormatter
 
formatText(ColumnFormatter<T>, String) - Static method in class io.bretty.console.table.ColumnFormatter
Format a string using the Alignment and width of an existing ColumnFormatter for any type

G

getAlignment() - Method in class io.bretty.console.table.ColumnFormatter
 
getWidth() - Method in class io.bretty.console.table.ColumnFormatter
 

I

io.bretty.console.table - package io.bretty.console.table
 

N

number(Alignment, int, Precision) - Static method in class io.bretty.console.table.ColumnFormatter
Get a built-in ColumnFormatter for plain numbers

O

of(Object[][], Alignment, int) - Static method in class io.bretty.console.table.Table
Quickly build a table
of(String[], T[][], ColumnFormatter<T>) - Static method in class io.bretty.console.table.Table
Quickly build a table from given data
of(T[][], ColumnFormatter<T>) - Static method in class io.bretty.console.table.Table
Quickly build a table

P

percentage(Alignment, int, Precision) - Static method in class io.bretty.console.table.ColumnFormatter
Get a built-in ColumnFormatter for percentage values
Precision - Enum in io.bretty.console.table
The Precision enum represents the number of places after the decimal point in a decimal number.

T

Table - Class in io.bretty.console.table
The Table class represents an table to be formatted into a single String, which can be further printed into the console.
Table.Builder - Class in io.bretty.console.table
 
text(Alignment, int) - Static method in class io.bretty.console.table.ColumnFormatter
Get a built-in ColumnFormatter for plain texts
text(ColumnFormatter<T>) - Static method in class io.bretty.console.table.ColumnFormatter
Get a ColumnFormatter object using the Alignment and width of an existing ColumnFormatter of any type
toString() - Method in class io.bretty.console.table.Table
Convert the table in full format to a String

V

valueOf(String) - Static method in enum io.bretty.console.table.Alignment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.bretty.console.table.Precision
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.bretty.console.table.Alignment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.bretty.console.table.Precision
Returns an array containing the constants of this enum type, in the order they are declared.

W

width - Variable in class io.bretty.console.table.ColumnFormatter
 
A B C D F G I N O P T V W 
Skip navigation links

Copyright © 2016. All rights reserved.