@Test public void testDelegateSetCell() { uiModel.setCell(0, 1, () -> gridCell); verify(delegate).setCell(eq(0), eq(1), gridCellSupplierCaptor.capture()); assertThat(gridCell).isSameAs(gridCellSupplierCaptor.getValue().get()); }
@Override public Range setCell(final int rowIndex, final int columnIndex, final Supplier<GridCell<?>> cellSupplier) { return delegate.setCell(rowIndex, columnIndex, cellSupplier); }
DelegatingGridData implements GridData { @Override public Range setCell(final int rowIndex, final int columnIndex, final Supplier<GridCell<?>> cellSupplier) { return delegate.setCell(rowIndex, columnIndex, cellSupplier); } }
DelegatingGridData implements GridData { @Override public Range setCell(final int rowIndex, final int columnIndex, final Supplier<GridCell<?>> cellSupplier) { return delegate.setCell(rowIndex, columnIndex, cellSupplier); } DelegatingGridData(final DMNGridData delegate); }
DelegatingGridData implements GridData { @Override public Range setCell(final int rowIndex, final int columnIndex, final Supplier<GridCell<?>> cellSupplier) { return delegate.setCell(rowIndex, columnIndex, cellSupplier); } DelegatingGridData(final DMNGridData delegate); @Override void moveRowTo(final int index,
                          final GridRow row); @Override void moveRowsTo(final int index,
                           final List<GridRow> rows); @Override void moveColumnTo(final int index,
                             final GridColumn<?> column); @Override void moveColumnsTo(final int index,
                              final List<GridColumn<?>> columns); @Override Range selectCell(final int rowIndex,
                            final int columnIndex); @Override Range selectCells(final int rowIndex,
                             final int columnIndex,
                             final int width,
                             final int height); @Override Range selectHeaderCell(final int headerRowIndex,
                                  final int headerColumnIndex); @Override List<SelectedCell> getSelectedHeaderCells(); @Override Range setCell(final int rowIndex,
                         final int columnIndex,
                         final Supplier<GridCell<?>> cellSupplier); @Override Range setCellValue(final int rowIndex,
                              final int columnIndex,
                              final GridCellValue<?> value); @Override Range deleteCell(final int rowIndex,
                            final int columnIndex); @Override List<GridColumn<?>> getColumns(); @Override int getColumnCount(); @Override void appendColumn(final GridColumn<?> column); @Override void insertColumn(final int index,
                             final GridColumn<?> column); @Override void deleteColumn(final GridColumn<?> column); @Override List<GridRow> getRows(); @Override void expandCell(final int rowIndex,
                           final int columnIndex); @Override void collapseCell(final int rowIndex,
                             final int columnIndex); @Override void setColumnDraggingEnabled(final boolean enabled); @Override boolean isColumnDraggingEnabled(); @Override void setRowDraggingEnabled(final boolean enabled); @Override boolean isRowDraggingEnabled(); @Override void setMerged(final boolean isMerged); @Override boolean isMerged(); @Override void updateColumn(final int index,
                             final GridColumn<?> column); @Override void clearSelections(); @Override List<SelectedCell> getSelectedCells(); @Override SelectedCell getSelectedCellsOrigin(); @Override GridCell<?> getCell(final int rowIndex,
                               final int columnIndex); @Override void setHeaderRowCount(final int headerRowCount); @Override int getHeaderRowCount(); @Override int getRowCount(); @Override Range deleteRow(final int rowIndex); @Override void insertRow(final int rowIndex,
                          final GridRow row); @Override void appendRow(final GridRow row); @Override GridRow getRow(final int rowIndex); @Override boolean refreshWidth(); @Override boolean refreshWidth(final double currentWidth); @Override boolean setVisibleSizeAndRefresh(final int width, final int height); @Override int getVisibleWidth(); @Override int getVisibleHeight(); }
DelegatingGridData implements GridData { @Override public Range setCell(final int rowIndex, final int columnIndex, final Supplier<GridCell<?>> cellSupplier) { return delegate.setCell(rowIndex, columnIndex, cellSupplier); } DelegatingGridData(final DMNGridData delegate); @Override void moveRowTo(final int index,
                          final GridRow row); @Override void moveRowsTo(final int index,
                           final List<GridRow> rows); @Override void moveColumnTo(final int index,
                             final GridColumn<?> column); @Override void moveColumnsTo(final int index,
                              final List<GridColumn<?>> columns); @Override Range selectCell(final int rowIndex,
                            final int columnIndex); @Override Range selectCells(final int rowIndex,
                             final int columnIndex,
                             final int width,
                             final int height); @Override Range selectHeaderCell(final int headerRowIndex,
                                  final int headerColumnIndex); @Override List<SelectedCell> getSelectedHeaderCells(); @Override Range setCell(final int rowIndex,
                         final int columnIndex,
                         final Supplier<GridCell<?>> cellSupplier); @Override Range setCellValue(final int rowIndex,
                              final int columnIndex,
                              final GridCellValue<?> value); @Override Range deleteCell(final int rowIndex,
                            final int columnIndex); @Override List<GridColumn<?>> getColumns(); @Override int getColumnCount(); @Override void appendColumn(final GridColumn<?> column); @Override void insertColumn(final int index,
                             final GridColumn<?> column); @Override void deleteColumn(final GridColumn<?> column); @Override List<GridRow> getRows(); @Override void expandCell(final int rowIndex,
                           final int columnIndex); @Override void collapseCell(final int rowIndex,
                             final int columnIndex); @Override void setColumnDraggingEnabled(final boolean enabled); @Override boolean isColumnDraggingEnabled(); @Override void setRowDraggingEnabled(final boolean enabled); @Override boolean isRowDraggingEnabled(); @Override void setMerged(final boolean isMerged); @Override boolean isMerged(); @Override void updateColumn(final int index,
                             final GridColumn<?> column); @Override void clearSelections(); @Override List<SelectedCell> getSelectedCells(); @Override SelectedCell getSelectedCellsOrigin(); @Override GridCell<?> getCell(final int rowIndex,
                               final int columnIndex); @Override void setHeaderRowCount(final int headerRowCount); @Override int getHeaderRowCount(); @Override int getRowCount(); @Override Range deleteRow(final int rowIndex); @Override void insertRow(final int rowIndex,
                          final GridRow row); @Override void appendRow(final GridRow row); @Override GridRow getRow(final int rowIndex); @Override boolean refreshWidth(); @Override boolean refreshWidth(final double currentWidth); @Override boolean setVisibleSizeAndRefresh(final int width, final int height); @Override int getVisibleWidth(); @Override int getVisibleHeight();  }