GuidedDecisionTableRenderer extends BaseGridRenderer { @Override public RendererCommand renderHeaderBodyDivider(final double width) { return (RenderHeaderGridLinesCommand) (rc) -> { if (!rc.isSelectionLayer()) { final Group g = new Group(); final Line dividerLine1 = theme.getGridHeaderBodyDivider(); final Line dividerLine2 = theme.getGridHeaderBodyDivider(); dividerLine1.setPoints(new Point2DArray(new Point2D(0, getHeaderHeight() - 1.5), new Point2D(width, getHeaderHeight() - 1.5))); dividerLine2.setPoints(new Point2DArray(new Point2D(0, getHeaderHeight() + 0.5), new Point2D(width, getHeaderHeight() + 0.5))); g.add(dividerLine1); g.add(dividerLine2); rc.getGroup().add(g); } }; } GuidedDecisionTableRenderer(final GuidedDecisionTableUiModel uiModel,
                                       final GuidedDecisionTable52 model); @Override double getHeaderHeight(); @Override List<RendererCommand> renderBody(final GridData model,
                                            final GridBodyRenderContext context,
                                            final BaseGridRendererHelper rendererHelper,
                                            final BaseGridRendererHelper.RenderingInformation renderingInformation); @Override RendererCommand renderSelector(final double width,
                                          final double height,
                                          final BaseGridRendererHelper.RenderingInformation renderingInformation); double getHeaderCaptionWidth(); @Override RendererCommand renderHeaderBodyDivider(final double width); void highlightRows(final Severity rowHighlightSeverity,
                              final Set<Integer> rowHighlightRowIndexes); void clearHighlights();  }
@Test public void testRenderHeaderBodyDivider() { final RendererCommand command = renderer.renderHeaderBodyDivider(10.0); assertRenderingCommands(Collections.singletonList(command), RenderHeaderGridLinesCommand.class); }