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) | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | align(String[] text,
     int cellWidth,
     int cellHeight)Perform text alignment, returning a String array that MUST contain  cellHeightlines, each of which MUST becellWidthchars in length. | 
public KeyValueHorizontalAligner(String delimiter)
public String[] align(String[] text, int cellWidth, int cellHeight)
AlignercellHeight
 lines, each of which MUST be cellWidth chars in length.
 
 Input array is guaranteed to contain lines that have length equal to cellWidth.
 There is no guarantee on the input number of lines though.
 
Copyright © 2022. All rights reserved.