public class KeyValueHorizontalAligner extends Object implements Aligner
Typically used to render numbers which may or may not have a decimal point, or series of key-value pairs
Constructor and Description |
---|
KeyValueHorizontalAligner(String delimiter) |
public KeyValueHorizontalAligner(String delimiter)
public String[] align(String[] text, int cellWidth, int cellHeight)
Aligner
cellHeight
lines, each of which MUST be cellWidth
chars in length.
Input array is guaranteed to contain lines that have length equal to . There is no guarantee on the input number of lines though.