public final class PlainTableFrameConfig extends Object
Provides a configuration of the table's frame.
Modifier and Type | Field and Description |
---|---|
static PlainTableFrameConfig |
SIMPLE
Default configuration.
|
Constructor and Description |
---|
PlainTableFrameConfig(boolean horizontalLines,
boolean verticalLines,
boolean crossPoints,
boolean cellBorders)
Initializes a new instance
of the
PlainTableFrameConfig class. |
Modifier and Type | Method and Description |
---|---|
boolean |
isCellBordersEnabled()
Gets a value indicating whether the cells' borders are enabled.
|
boolean |
isCrossPointsEnabled()
Gets a value indicating whether the cross points are enabled.
|
boolean |
isHorizontalLinesEnabled()
Gets a value indicating whether the horizontal lines are enabled.
|
boolean |
isVerticalLinesEnabled()
Gets a value indicating whether the vertical lines are enabled.
|
public static final PlainTableFrameConfig SIMPLE
Default configuration.
public PlainTableFrameConfig(boolean horizontalLines, boolean verticalLines, boolean crossPoints, boolean cellBorders)
Initializes a new instance
of the PlainTableFrameConfig
class.
horizontalLines
- A value indicating whether the horizontal lines are enabled.verticalLines
- A value indicating whether the vertical lines are enabled.crossPoints
- A value indicating whether the cross points are enabled.cellBorders
- A value indicating whether the cells' borders are enabled.public boolean isHorizontalLinesEnabled()
Gets a value indicating whether the horizontal lines are enabled.
public boolean isVerticalLinesEnabled()
Gets a value indicating whether the vertical lines are enabled.
public boolean isCrossPointsEnabled()
Gets a value indicating whether the cross points are enabled.
public boolean isCellBordersEnabled()
Gets a value indicating whether the cells' borders are enabled.
Copyright © 2019. All rights reserved.