public interface TA_Corner_Chars extends TA_Corner
Corner tuple using ASCII and/or UTF characters.
MODE_BOTTOM_LEFT, MODE_BOTTOM_RIGHT, MODE_TOP_LEFT, MODE_TOP_RIGHT| Modifier and Type | Method and Description |
|---|---|
static TA_Corner_Chars |
create(Character topleft,
Character topright,
Character bottomleft,
Character bottomright,
String description)
Creates a new corner pair.
|
Character |
getBottomLeftChar()
Returns the character for the bottom left corner.
|
Character |
getBottomRightChar()
Returns the character for the bottom right corner.
|
default StrBuilder |
getCorner(int mode,
StrBuilder builder)
Returns the corner.
|
Character |
getTopLeftChar()
Returns the character for the top left corner.
|
Character |
getTopRightChar()
Returns the character for the top right corner.
|
default StrBuilder |
toDoc() |
getCorner, getCornerAsString, getCornerAsStringCharacter getTopLeftChar()
Returns the character for the top left corner.
Character getTopRightChar()
Returns the character for the top right corner.
Character getBottomLeftChar()
Returns the character for the bottom left corner.
Character getBottomRightChar()
Returns the character for the bottom right corner.
default StrBuilder getCorner(int mode,
StrBuilder builder)
TA_CornerReturns the corner.
getCorner in interface TA_Cornermode - the mode for processing a corner (use one of TA_Corner.MODE_TOP_LEFT, TA_Corner.MODE_TOP_RIGHT, TA_Corner.MODE_BOTTOM_LEFT, TA_Corner.MODE_BOTTOM_RIGHT)builder - builder to append the corner to, new builder will be created if nulldefault StrBuilder toDoc()
toDoc in interface HasToDocstatic TA_Corner_Chars create(Character topleft, Character topright, Character bottomleft, Character bottomright, String description)
Creates a new corner pair.
topleft - character of the top left cornertopright - character of the top right borderbottomleft - character of the bottom left cornerbottomright - character of the bottom right borderdescription - a description for the line, cannot be blankCopyright © 2016–2017. All rights reserved.