public interface TA_Corner_Strings extends TA_Corner
Corner tuple using strings with 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_Strings |
create(String topleft,
String topright,
String bottomleft,
String bottomright,
String description)
Creates a new corner pair.
|
String |
getBottomLeftString()
Returns the string for the bottom left corner.
|
String |
getBottomRightString()
Returns the string for the bottom right corner.
|
default StrBuilder |
getCorner(int mode,
StrBuilder builder)
Returns the corner.
|
String |
getTopLeftString()
Returns the string for the top left corner.
|
String |
getTopRightString()
Returns the string for the top right corner.
|
default StrBuilder |
toDoc() |
getCorner, getCornerAsString, getCornerAsStringString getTopLeftString()
Returns the string for the top left corner.
String getTopRightString()
Returns the string for the top right corner.
String getBottomLeftString()
Returns the string for the bottom left corner.
String getBottomRightString()
Returns the string 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_Strings create(String topleft, String topright, String bottomleft, String bottomright, String description)
Creates a new corner pair.
topleft - string of the top left cornertopright - string of the top right borderbottomleft - string of the bottom left cornerbottomright - string of the bottom right borderdescription - a description for the line, cannot be blankCopyright © 2016–2017. All rights reserved.