- 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 theTextBoxGrid
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
-
-
Constructor Summary
Constructors Constructor Description TextBoxGridImpl(String[] aTextBoxGrid)
For easy of use this constructor uses aString
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
-
-
-
-
Constructor Detail
-
TextBoxGridImpl
public TextBoxGridImpl(String[] aTextBoxGrid)
For easy of use this constructor uses aString
array representing the box grid characters to be used. The array may look as follows:{ "┌─┬─┐", "│ │ │", "├─┼─┤", "│ │ │", "└─┴─┘" }
- Parameters:
aTextBoxGrid
- TheString
array "painting" the grid.
-
-