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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      B withBottomDividerEdge​(T aGridElement)
      Sets the box's bottom divider edge character, "┴".
      B withBottomLeftEdge​(T aGridElement)
      Sets the box's bottom left edge character, for example "└".
      B withBottomLine​(T aGridElement)
      Sets the box's bottom line character, for example "─".
      B withBottomRightEdge​(T aGridElement)
      Sets the box's bottom right edge character, for example "┘".
      B withDividerEdge​(T aGridElement)
      Sets the box's divider edge character, for example "┼".
      B withDividerLine​(T aGridElement)
      Sets the box's divider line character, for example "│".
      B withInnerLine​(T aGridElement)
      Sets the box's inner line character, for example "─".
      B withLeftEdge​(T aGridElement)
      Sets the box's left edge character, for example "├".
      B withLeftLine​(T aGridElement)
      Sets the box's left line character, for example "│".
      B withRightEdge​(T aGridElement)
      Sets the box's right edge character, for example "┤".
      B withRightLine​(T aGridElement)
      Sets the box row's right line character, for example "│".
      B withTopDividerEdge​(T aGridElement)
      Sets the box's top divider edge character, for example "┬".
      B withTopLeftEdge​(T aGridElement)
      Sets the box's top left edge character, for example "┌".
      B withTopLine​(T aGridElement)
      Sets the box's top line character, for example "─" .
      B withTopRightEdge​(T aGridElement)
      Sets the box's top right edge character, for example "┐".
    • Method Detail

      • 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.