TableRenderer extends AbstractRenderer { protected TableRenderer[] split(int row) { return split(row, false); } private  TableRenderer();  TableRenderer(Table modelElement, Table.RowRange rowRange);  TableRenderer(Table modelElement); @Override void addChild(IRenderer renderer); @Override Rectangle applyPaddings(Rectangle rect, boolean reverse); @Override LayoutResult layout(LayoutContext layoutContext); @Override void draw(DrawContext drawContext); @Override void drawChildren(DrawContext drawContext); @Override void drawBackground(DrawContext drawContext); @Override IRenderer getNextRenderer(); @Override void move(float dxRight, float dyUp); @Override MinMaxWidth getMinMaxWidth(); @Override void drawBorder(DrawContext drawContext);  }
@Test public void testIsOriginalNonSplitRenderer() { Table table = new Table(1); table.addCell(new Cell()); table.addCell(new Cell()); table.addCell(new Cell()); TableRenderer original = (TableRenderer) table.createRendererSubTree(); TableRenderer[] children = original.split(1); TableRenderer[] grandChildren = children[1].split(1); Assert.assertFalse(grandChildren[0].isOriginalNonSplitRenderer); }