public final class TXTFormat extends Object
Constructor and Description |
---|
TXTFormat() |
Modifier and Type | Method and Description |
---|---|
boolean |
horizontalCellBorder()
Whether the horizontal cell border (line between data cells) should be
displayed.
|
TXTFormat |
horizontalCellBorder(boolean newHorizontalCellBorder)
Whether the horizontal cell border (line between data cells) should be
displayed.
|
boolean |
horizontalHeaderBorder()
Whether the horizontal header border (line between header and data cells)
should be displayed.
|
TXTFormat |
horizontalHeaderBorder(boolean newHorizontalHeaderBorder)
Whether the horizontal header border (line between header and data cells)
should be displayed.
|
boolean |
horizontalTableBorder()
Whether the horizontal table border (top and bottom line) should be
displayed.
|
TXTFormat |
horizontalTableBorder(boolean newHorizontalTableBorder)
Whether the horizontal table border (top and bottom line) should be
displayed.
|
boolean |
intersectLines()
Whether horizontal and vertical lines should be intersected with a
'+' symbol. |
TXTFormat |
intersectLines(boolean newIntersectLines)
Whether horizontal and vertical lines should be intersected with a
'+' symbol. |
int |
maxColWidth()
The maximum column width, defaulting to no limit.
|
TXTFormat |
maxColWidth(int newMaxColWidth)
The minimum column width, defaulting to no limit.
|
int |
maxRows()
The maximum number of rows to be included in the format, defaulting to all rows.
|
TXTFormat |
maxRows(int newMaxRows)
The maximum number of rows to be included in the format, defaulting to all rows.
|
int |
minColWidth()
The minimum column width, defaulting to 4
|
TXTFormat |
minColWidth(int newMinColWidth)
The minimum column width, defaulting to 4
|
boolean |
verticalCellBorder()
Whether the vertical cell borders (lines between data cells) should be
displayed.
|
TXTFormat |
verticalCellBorder(boolean newVerticalCellBorder)
Whether the vertical cell borders (lines between data cells) should be
displayed.
|
boolean |
verticalTableBorder()
Whether the vertical table border (left and right most lines) should be
displayed.
|
TXTFormat |
verticalTableBorder(boolean newVerticalTableBorder)
Whether the vertical table border (left and right most lines) should be
displayed.
|
public static final TXTFormat DEFAULT
public TXTFormat maxRows(int newMaxRows)
public int maxRows()
public TXTFormat minColWidth(int newMinColWidth)
public int minColWidth()
public TXTFormat maxColWidth(int newMaxColWidth)
public int maxColWidth()
public TXTFormat horizontalTableBorder(boolean newHorizontalTableBorder)
public boolean horizontalTableBorder()
public TXTFormat horizontalHeaderBorder(boolean newHorizontalHeaderBorder)
public boolean horizontalHeaderBorder()
public TXTFormat horizontalCellBorder(boolean newHorizontalCellBorder)
public boolean horizontalCellBorder()
public TXTFormat verticalTableBorder(boolean newVerticalTableBorder)
public boolean verticalTableBorder()
public TXTFormat verticalCellBorder(boolean newVerticalCellBorder)
public boolean verticalCellBorder()
public TXTFormat intersectLines(boolean newIntersectLines)
'+'
symbol.public boolean intersectLines()
'+'
symbol.Copyright © 2019. All rights reserved.