Package hu.webarticum.treeprinter
Class TraditionalTreePrinter.DefaultLiner
- java.lang.Object
-
- hu.webarticum.treeprinter.TraditionalTreePrinter.DefaultLiner
-
- All Implemented Interfaces:
TraditionalTreePrinter.Liner
- Enclosing class:
- TraditionalTreePrinter
public static class TraditionalTreePrinter.DefaultLiner extends java.lang.Object implements TraditionalTreePrinter.Liner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTraditionalTreePrinter.DefaultLiner.Builder
-
Field Summary
Fields Modifier and Type Field Description static char[]LINE_CHARS_ASCIIstatic char[]LINE_CHARS_UNICODE
-
Constructor Summary
Constructors Constructor Description DefaultLiner()DefaultLiner(boolean useUnicode)DefaultLiner(char topConnectionChar, char bracketLeftChar, char bracketChar, char bracketTopChar, char bracketTopLeftChar, char bracketTopRightChar, char bracketBottomChar, char bracketTopAndBottomChar, char bracketTopAndBottomLeftChar, char bracketTopAndBottomRightChar, char bracketRightChar, char bracketOnlyChar, char bottomConnectionChar, int topHeight, int bottomHeight, boolean displayBracket)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TraditionalTreePrinter.DefaultLiner.BuildercreateBuilder()intprintConnections(LineBuffer buffer, int row, int topConnection, java.util.List<java.lang.Integer> bottomConnections)
-
-
-
Constructor Detail
-
DefaultLiner
public DefaultLiner()
-
DefaultLiner
public DefaultLiner(boolean useUnicode)
-
DefaultLiner
public DefaultLiner(char topConnectionChar, char bracketLeftChar, char bracketChar, char bracketTopChar, char bracketTopLeftChar, char bracketTopRightChar, char bracketBottomChar, char bracketTopAndBottomChar, char bracketTopAndBottomLeftChar, char bracketTopAndBottomRightChar, char bracketRightChar, char bracketOnlyChar, char bottomConnectionChar, int topHeight, int bottomHeight, boolean displayBracket)
-
-
Method Detail
-
printConnections
public int printConnections(LineBuffer buffer, int row, int topConnection, java.util.List<java.lang.Integer> bottomConnections)
- Specified by:
printConnectionsin interfaceTraditionalTreePrinter.Liner
-
createBuilder
public static TraditionalTreePrinter.DefaultLiner.Builder createBuilder()
-
-