- Type Parameters:
T
- The type of the grid elements for drawing a box grid, may be a char or a sprite or a byte array.B
- The builder to return in order to be able to apply multiple build operations.
public static interface BoxGrid.BoxGridBuilder<T,B>
Provides a builder for a box grid property returning the builder for
applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithBottomDividerEdge
(T aGridElement) Sets the box's bottom divider edge character, "┴".withBottomLeftEdge
(T aGridElement) Sets the box's bottom left edge character, for example "└".withBottomLine
(T aGridElement) Sets the box's bottom line character, for example "─".withBottomRightEdge
(T aGridElement) Sets the box's bottom right edge character, for example "┘".withDividerEdge
(T aGridElement) Sets the box's divider edge character, for example "┼".withDividerLine
(T aGridElement) Sets the box's divider line character, for example "│".withInnerLine
(T aGridElement) Sets the box's inner line character, for example "─".withLeftEdge
(T aGridElement) Sets the box's left edge character, for example "├".withLeftLine
(T aGridElement) Sets the box's left line character, for example "│".withRightEdge
(T aGridElement) Sets the box's right edge character, for example "┤".withRightLine
(T aGridElement) Sets the box row's right line character, for example "│".withTopDividerEdge
(T aGridElement) Sets the box's top divider edge character, for example "┬".withTopLeftEdge
(T aGridElement) Sets the box's top left edge character, for example "┌".withTopLine
(T aGridElement) Sets the box's top line character, for example "─" .withTopRightEdge
(T aGridElement) Sets the box's top right edge character, for example "┐".
-
Method Details
-
withLeftEdge
Sets the box's left edge character, for example "├".- Parameters:
aGridElement
- The left edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withTopLeftEdge
Sets the box's top left edge character, for example "┌".- Parameters:
aGridElement
- The top left edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withDividerEdge
Sets the box's divider edge character, for example "┼".- Parameters:
aGridElement
- The divider edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withTopDividerEdge
Sets the box's top divider edge character, for example "┬".- Parameters:
aGridElement
- The top divider edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withTopRightEdge
Sets the box's top right edge character, for example "┐".- Parameters:
aGridElement
- The top right edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withRightEdge
Sets the box's right edge character, for example "┤".- Parameters:
aGridElement
- The top left edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withLeftLine
Sets the box's left line character, for example "│".- Parameters:
aGridElement
- The left line character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withDividerLine
Sets the box's divider line character, for example "│".- Parameters:
aGridElement
- The divider line character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withRightLine
Sets the box row's right line character, for example "│".- Parameters:
aGridElement
- The right line character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withTopLine
Sets the box's top line character, for example "─" .- Parameters:
aGridElement
- The top line character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withBottomRightEdge
Sets the box's bottom right edge character, for example "┘".- Parameters:
aGridElement
- The bottom left edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withBottomDividerEdge
Sets the box's bottom divider edge character, "┴".- Parameters:
aGridElement
- The bottom divider edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withBottomLeftEdge
Sets the box's bottom left edge character, for example "└".- Parameters:
aGridElement
- The bottom left edge character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withBottomLine
Sets the box's bottom line character, for example "─".- Parameters:
aGridElement
- The bottom line character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-
withInnerLine
Sets the box's inner line character, for example "─".- Parameters:
aGridElement
- The inner line character.- Returns:
- The implementing instance as of the builder pattern for chaining chain method calls.
-