public static class TextBorderStyle.Builder extends Object
Constructor and Description |
---|
Builder()
Creates a new text border style builder.
|
Modifier and Type | Method and Description |
---|---|
TextBorderStyle.Builder |
bottomBorder(String pattern)
Sets the bottom of the border
|
TextBorderStyle.Builder |
bottomLeftCorner(String pattern)
Sets the bottom left corner
|
TextBorderStyle.Builder |
bottomRightCorner(String pattern)
Sets the bottom right corner
|
TextBorderStyle |
build()
Creates a new text border style using the current state
of the builder.
|
TextBorderStyle.Builder |
leftBorder(String pattern)
Sets the left border pattern
|
TextBorderStyle.Builder |
rightBorder(String pattern)
Sets the right border pattern
|
TextBorderStyle.Builder |
topBorder(String pattern)
Sets the top of the border
|
TextBorderStyle.Builder |
topLeftCorner(String pattern)
Sets the top left corner for the border
|
TextBorderStyle.Builder |
topRightCorner(String pattern)
Sets the top right corner for the border
|
public TextBorderStyle.Builder topLeftCorner(String pattern)
pattern
- top left corner patternpublic TextBorderStyle.Builder topBorder(String pattern)
pattern
- the top border patternpublic TextBorderStyle.Builder topRightCorner(String pattern)
pattern
- top right corner patternpublic TextBorderStyle.Builder leftBorder(String pattern)
pattern
- the left border patternpublic TextBorderStyle.Builder rightBorder(String pattern)
pattern
- the right border patternpublic TextBorderStyle.Builder bottomLeftCorner(String pattern)
pattern
- bottom left corner patternpublic TextBorderStyle.Builder bottomBorder(String pattern)
pattern
- bottom border patternpublic TextBorderStyle.Builder bottomRightCorner(String pattern)
pattern
- bottom right corner patternpublic TextBorderStyle build()