private Bounds getSelectorBounds(final double width, final double height, final BaseGridRendererHelper.RenderingInformation renderingInformation) { final BaseGridRendererHelper.RenderingBlockInformation bodyBlockInformation = renderingInformation.getBodyBlockInformation(); final BaseGridRendererHelper.RenderingBlockInformation floatingBlockInformation = renderingInformation.getFloatingBlockInformation(); double boundsX = 0.0; double boundsY = 0.0; double boundsWidth = width; double boundsHeight = height; if (!floatingBlockInformation.getColumns().isEmpty()) { boundsX = floatingBlockInformation.getX(); boundsWidth = boundsWidth - floatingBlockInformation.getX(); } if (renderingInformation.isFloatingHeader()) { boundsY = bodyBlockInformation.getHeaderY(); boundsHeight = boundsHeight - bodyBlockInformation.getHeaderY(); } return new BaseBounds(boundsX, boundsY, boundsWidth, boundsHeight); }
private Bounds getSelectorBounds(final double width, final double height, final BaseGridRendererHelper.RenderingInformation renderingInformation) { final BaseGridRendererHelper.RenderingBlockInformation bodyBlockInformation = renderingInformation.getBodyBlockInformation(); final BaseGridRendererHelper.RenderingBlockInformation floatingBlockInformation = renderingInformation.getFloatingBlockInformation(); double boundsX = 0.0; double boundsY = 0.0; double boundsWidth = width; double boundsHeight = height; if (!floatingBlockInformation.getColumns().isEmpty()) { boundsX = floatingBlockInformation.getX(); boundsWidth = boundsWidth - floatingBlockInformation.getX(); } if (renderingInformation.isFloatingHeader()) { boundsY = bodyBlockInformation.getHeaderY(); boundsHeight = boundsHeight - bodyBlockInformation.getHeaderY(); } return new BaseBounds(boundsX, boundsY, boundsWidth, boundsHeight); }
final boolean addFloatingHeader = renderingInformation.isFloatingHeader();
final boolean addFloatingHeader = renderingInformation.isFloatingHeader();