public final class PlainTableFrameAngle extends Object
Provides the information of symbols of intersections.
Modifier and Type | Field and Description |
---|---|
static PlainTableFrameAngle |
ASCII
Frame angels for ASCII style.
|
static PlainTableFrameAngle |
SIMPLE
Frame angels for Simple style.
|
Constructor and Description |
---|
PlainTableFrameAngle(char topLeft,
char topRight,
char bottomLeft,
char bottomRight)
Initializes a new instance
of the
PlainTableFrameAngle class. |
Modifier and Type | Method and Description |
---|---|
char |
checkAngle(boolean left,
boolean top,
boolean right,
boolean bottom)
Returns a symbol of the angle.
|
char |
getBottomLeft()
Gets a bottom-left angle.
|
char |
getBottomRight()
Gets a bottom-right angle.
|
char |
getTopLeft()
Gets a top-left angle.
|
char |
getTopRight()
Gets a top-right angle.
|
public static final PlainTableFrameAngle SIMPLE
Frame angels for Simple style.
public static final PlainTableFrameAngle ASCII
Frame angels for ASCII style.
public PlainTableFrameAngle(char topLeft, char topRight, char bottomLeft, char bottomRight)
Initializes a new instance
of the PlainTableFrameAngle
class.
topLeft
- Symbol of a top-left angle.topRight
- Symbol of a top-right angle.bottomLeft
- Symbol of a bottom-left angle.bottomRight
- Symbol of a bottom-right angle.public char getTopLeft()
Gets a top-left angle.
public char getTopRight()
Gets a top-right angle.
public char getBottomLeft()
Gets a bottom-left angle.
public char getBottomRight()
Gets a bottom-right angle.
public char checkAngle(boolean left, boolean top, boolean right, boolean bottom)
Returns a symbol of the angle.
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.