| Constructor and Description |
|---|
WidthFixedColumns()
Creates a new width object.
|
| Modifier and Type | Method and Description |
|---|---|
WidthFixedColumns |
add(int width)
Adds a column with the column width
|
int[] |
getColumnWidths(V2_AsciiTable table)
Returns the width of each column in an array, column one being [0] and so on.
|
public WidthFixedColumns()
public WidthFixedColumns add(int width)
width - column width in number of characterspublic int[] getColumnWidths(V2_AsciiTable table)
V2_WidthgetColumnWidths in interface V2_Widthtable - the table with all content, important for some width calculationsCopyright © 2010–2015. All rights reserved.