public static class TextTable.Column
extends java.lang.Object
Constructor and Description |
---|
Column(java.lang.String header) |
Column(java.lang.String header,
TextTable.Alignment alignment) |
Modifier and Type | Method and Description |
---|---|
void |
fit(java.lang.String value) |
java.lang.String |
format(java.lang.String value,
java.lang.String padding) |
java.lang.String |
formatHeader(java.lang.String padding) |
java.lang.String |
getSeparator(char character) |
int |
getWidth() |
void |
resetWidth() |
public Column(java.lang.String header)
public Column(java.lang.String header, TextTable.Alignment alignment)
public java.lang.String formatHeader(java.lang.String padding)
public java.lang.String format(java.lang.String value, java.lang.String padding)
public java.lang.String getSeparator(char character)
public void fit(java.lang.String value)
public void resetWidth()
public int getWidth()