Class TextBoxGridImpl

java.lang.Object
org.refcodes.mixin.BoxGridImpl<Character>
org.refcodes.textual.TextBoxGridImpl
All Implemented Interfaces:
org.refcodes.mixin.BoxGrid<Character>, TextBoxGrid

public class TextBoxGridImpl extends org.refcodes.mixin.BoxGridImpl<Character> implements TextBoxGrid
Implementation of the TextBoxGrid interface.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.refcodes.mixin.BoxGrid

    org.refcodes.mixin.BoxGrid.BoxGridBuilder<T extends Object,B extends Object>, org.refcodes.mixin.BoxGrid.BoxGridMutator<T extends Object>, org.refcodes.mixin.BoxGrid.BoxGridProperty<T extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.textual.TextBoxGrid

    TextBoxGrid.TextBoxGridBuilder<B extends TextBoxGrid.TextBoxGridBuilder<B>>, TextBoxGrid.TextBoxGridMutator, TextBoxGrid.TextBoxGridProperty
  • Field Summary

    Fields inherited from class org.refcodes.mixin.BoxGridImpl

    _bottomDividerEdge, _bottomLeftEdge, _bottomLine, _bottomRightEdge, _dividerEdge, _dividerLine, _innerLine, _leftEdge, _leftLine, _rightEdge, _rightLine, _topDividerEdge, _topLeftEdge, _topLine, _topRightEdge
  • Constructor Summary

    Constructors
    Constructor
    Description
    TextBoxGridImpl(String[] aTextBoxGrid)
    For easy of use this constructor uses a String array representing the box grid characters to be used.
  • Method Summary

    Methods inherited from class org.refcodes.mixin.BoxGridImpl

    getBottomDividerEdge, getBottomLeftEdge, getBottomLine, getBottomRightEdge, getDividerEdge, getDividerLine, getInnerLine, getLeftEdge, getLeftLine, getRightEdge, getRightLine, getTopDividerEdge, getTopLeftEdge, getTopLine, getTopRightEdge

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.refcodes.mixin.BoxGrid

    getBottomDividerEdge, getBottomLeftEdge, getBottomLine, getBottomRightEdge, getDividerEdge, getDividerLine, getInnerLine, getLeftEdge, getLeftLine, getRightEdge, getRightLine, getTopDividerEdge, getTopLeftEdge, getTopLine, getTopRightEdge
  • Constructor Details

    • TextBoxGridImpl

      public TextBoxGridImpl(String[] aTextBoxGrid)
      For easy of use this constructor uses a String array representing the box grid characters to be used. The array may look as follows: { "┌─┬─┐", "│ │ │", "├─┼─┤", "│ │ │", "└─┴─┘" }
      Parameters:
      aTextBoxGrid - The String array "painting" the grid.