public interface TA_Border_Strings extends TA_Border
Left and right border pair using strings with ASCII and/or UTF characters.
MODE_LEFT, MODE_RIGHT| Modifier and Type | Method and Description |
|---|---|
static TA_Border_Strings |
create(String left,
String right,
String description)
Creates a new border pair.
|
default StrBuilder |
getBorder(int mode,
StrBuilder builder)
Returns the border.
|
String |
getLeftString()
Returns the string for the left border.
|
String |
getRightString()
Returns the string for the right border.
|
default StrBuilder |
toDoc() |
getBorder, getBorderAsString, getBorderAsStringString getLeftString()
Returns the string for the left border.
String getRightString()
Returns the string for the right border.
default StrBuilder getBorder(int mode,
StrBuilder builder)
TA_BorderReturns the border.
getBorder in interface TA_Bordermode - the mode for processing a corner (use one of TA_Border.MODE_LEFT, TA_Border.MODE_RIGHT)builder - builder to append the border to, new builder will be created if nulldefault StrBuilder toDoc()
toDoc in interface HasToDocstatic TA_Border_Strings create(String left, String right, String description)
Creates a new border pair.
left - border left stringright - border right stringdescription - a description for the line, cannot be blankCopyright © 2016–2017. All rights reserved.