Interface BoxGrid.BoxGridBuilder<T,B>

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.
Enclosing interface:
BoxGrid<T>

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 Type
    Method
    Description
    withBottomDividerEdge(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

      B withLeftEdge(T aGridElement)
      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

      B withTopLeftEdge(T aGridElement)
      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

      B withDividerEdge(T aGridElement)
      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

      B withTopDividerEdge(T aGridElement)
      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

      B withTopRightEdge(T aGridElement)
      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

      B withRightEdge(T aGridElement)
      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

      B withLeftLine(T aGridElement)
      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

      B withDividerLine(T aGridElement)
      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

      B withRightLine(T aGridElement)
      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

      B withTopLine(T aGridElement)
      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

      B withBottomRightEdge(T aGridElement)
      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

      B withBottomDividerEdge(T aGridElement)
      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

      B withBottomLeftEdge(T aGridElement)
      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

      B withBottomLine(T aGridElement)
      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

      B withInnerLine(T aGridElement)
      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.