1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
AsciiTable at = new AsciiTable();
at.addRule();
at.addRow("rc 11", "rc 12");
at.addRule();
at.addRow("rc 21", "rc 22");
at.addRule();
at.getContext().setWidth(13);
System.out.println(at.render());
at.getContext().setGrid(A7_Grids.minusBarPlusEquals());
System.out.println(at.render());
at.getContext().setGrid(A8_Grids.lineDoubleBlocks());
System.out.println(at.render());
at.getContext().setGrid(U8_Grids.borderDoubleLight());
System.out.println(at.render());
at.getContext().setGrid(U8_Grids.borderDouble());
System.out.println(at.render()); |