/** * allows the addition of lines. think of it as a horizontal rule in a * table. * * @param fill * any character with which to draw the line. */ public void addLine(final char fill) { rows.add(new DynamicLine(fill, this)); }
/** * {@inheritDoc} */ @Override public String draw() { return Util.combine(new String(new char[] { AbstractTabularComponent.BORDER }), Util.repeat(new String(new char[] { content }), getTable().getTotalWidth() - 2), new String(new char[] { AbstractTabularComponent.BORDER }), NEWLINE); }