public final class PlainTableFrameEdge extends Object
Provides the information of symbols of edges.
Modifier and Type | Field and Description |
---|---|
static PlainTableFrameEdge |
ASCII
Frame edges for ASCII styles.
|
static PlainTableFrameEdge |
SIMPLE
Frame edges for Simple style.
|
Constructor and Description |
---|
PlainTableFrameEdge(char vertical,
char horizontal)
Initializes a new instance
of the
PlainTableFrameEdge class. |
Modifier and Type | Method and Description |
---|---|
char |
checkEdge(boolean left,
boolean top,
boolean right,
boolean bottom)
Returns a symbol of the edge.
|
char |
getHorizontal()
Gets a horizontal edge.
|
char |
getVertical()
Gets a vertical edge.
|
public static final PlainTableFrameEdge SIMPLE
Frame edges for Simple style.
public static final PlainTableFrameEdge ASCII
Frame edges for ASCII styles.
public PlainTableFrameEdge(char vertical, char horizontal)
Initializes a new instance
of the PlainTableFrameEdge
class.
vertical
- Symbol of a vertical edge.horizontal
- Symbol of a horizontal edge.public char getVertical()
Gets a vertical edge.
public char getHorizontal()
Gets a horizontal edge.
public char checkEdge(boolean left, boolean top, boolean right, boolean bottom)
Returns a symbol of the edge.
left
- Indicates whether the intersection has left line.top
- Indicates whether the intersection has top line.right
- Indicates whether the intersection has right line.bottom
- Indicates whether the intersection has bottom line.Copyright © 2019. All rights reserved.