Class TextBoxGridImpl

  • All Implemented Interfaces:
    org.refcodes.mixin.BoxGrid<java.lang.Character>, TextBoxGrid


    public class TextBoxGridImpl
    extends org.refcodes.mixin.BoxGridImpl<java.lang.Character>
    implements TextBoxGrid
    Implementation of the TextBoxGrid interface.
    • 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​(java.lang.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 interface org.refcodes.mixin.BoxGrid

        getBottomDividerEdge, getBottomLeftEdge, getBottomLine, getBottomRightEdge, getDividerEdge, getDividerLine, getInnerLine, getLeftEdge, getLeftLine, getRightEdge, getRightLine, getTopDividerEdge, getTopLeftEdge, getTopLine, getTopRightEdge
      • 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
    • Constructor Detail

      • TextBoxGridImpl

        public TextBoxGridImpl​(java.lang.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.