private BaseGridRendererHelper.RenderingBlockInformation makeRenderingBlockInformation(final List<GridColumn<?>> columns) { return new BaseGridRendererHelper.RenderingBlockInformation(columns, 0.0, 0.0, HEADER_ROW_HEIGHT, columns.stream().mapToDouble(GridColumn::getWidth).sum()); }
new BaseGridRendererHelper.RenderingBlockInformation( new ArrayList<GridColumn<?>>() {{ add( uiColumn2 ); 0.0, 100.0 ), new BaseGridRendererHelper.RenderingBlockInformation( new ArrayList<GridColumn<?>>() {{ add( uiColumn1 );
new BaseGridRendererHelper.RenderingBlockInformation(uiModel.getColumns(), 0.0, 0.0, 0.0, 100), new BaseGridRendererHelper.RenderingBlockInformation(Collections.emptyList(), 0.0, 0.0,
final double floatingOffsetX = getFloatingColumnOffset(); final RenderingBlockInformation bodyBlockInformation = new RenderingBlockInformation(bodyColumns, offsetX, headerOffsetY, bodyOffsetY, getWidth(bodyColumns)); final RenderingBlockInformation floatingBlockInformation = new RenderingBlockInformation(floatingColumns, floatingOffsetX, headerOffsetY,
final double floatingOffsetX = getFloatingColumnOffset(); final RenderingBlockInformation bodyBlockInformation = new RenderingBlockInformation(bodyColumns, offsetX, headerOffsetY, bodyOffsetY, getWidth(bodyColumns)); final RenderingBlockInformation floatingBlockInformation = new RenderingBlockInformation(floatingColumns, floatingOffsetX, headerOffsetY,
new BaseGridRendererHelper.RenderingBlockInformation(uiModel.getColumns(), 0.0, 0.0, 0.0, 100), new BaseGridRendererHelper.RenderingBlockInformation(Collections.emptyList(), 0.0, 0.0,
public static RenderingInformation makeRenderingInformation(final GridData model, final List<Double> rowOffsets, final int headerRowCount, final double headerRowHeight, final double headerRowsHeight) { return new RenderingInformation(mock(Bounds.class), model.getColumns(), new BaseGridRendererHelper.RenderingBlockInformation(model.getColumns(), 0.0, 0.0, 0.0, 100), new BaseGridRendererHelper.RenderingBlockInformation(Collections.emptyList(), 0.0, 0.0, 0.0, 0.0), 0, rowOffsets.size() - 1, rowOffsets, false, false, headerRowCount, headerRowHeight, headerRowsHeight, headerRowsHeight - (headerRowCount * headerRowHeight)); } }
public static RenderingInformation makeRenderingInformation(final GridData model, final List<Double> rowOffsets, final int headerRowCount, final double headerRowHeight, final double headerRowsHeight) { return new RenderingInformation(mock(Bounds.class), model.getColumns(), new BaseGridRendererHelper.RenderingBlockInformation(model.getColumns(), 0.0, 0.0, 0.0, 100), new BaseGridRendererHelper.RenderingBlockInformation(Collections.emptyList(), 0.0, 0.0, 0.0, 0.0), 0, rowOffsets.size() - 1, rowOffsets, false, false, headerRowCount, headerRowHeight, headerRowsHeight, headerRowsHeight - (headerRowCount * headerRowHeight)); } }