@Test public void testCellsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getCellsRemoved()); adapter.cellsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setCellsRemoved(callable); adapter.cellsRemoved(null, 0, null); assertTrue(invoked[0]); }
public void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (cellsRemoved != null) { cellsRemoved.call(arg0, arg1, arg2); } }
GridPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.GridPaneListener { public void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (cellsRemoved != null) { cellsRemoved.call(arg0, arg1, arg2); } } }
GridPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.GridPaneListener { public void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (cellsRemoved != null) { cellsRemoved.call(arg0, arg1, arg2); } }  }
GridPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.GridPaneListener { public void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (cellsRemoved != null) { cellsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getColumnCountChanged(); CallableWithArgs<Void> getCellInserted(); CallableWithArgs<Void> getCellsRemoved(); CallableWithArgs<Void> getCellUpdated(); CallableWithArgs<Void> getRowsRemoved(); CallableWithArgs<Void> getRowInserted(); void setColumnCountChanged(CallableWithArgs<Void> columnCountChanged); void setCellInserted(CallableWithArgs<Void> cellInserted); void setCellsRemoved(CallableWithArgs<Void> cellsRemoved); void setCellUpdated(CallableWithArgs<Void> cellUpdated); void setRowsRemoved(CallableWithArgs<Void> rowsRemoved); void setRowInserted(CallableWithArgs<Void> rowInserted); void columnCountChanged(org.apache.pivot.wtk.GridPane arg0, int arg1); void cellInserted(org.apache.pivot.wtk.GridPane.Row arg0, int arg1); void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void cellUpdated(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.wtk.Component arg2); void rowsRemoved(org.apache.pivot.wtk.GridPane arg0, int arg1, org.apache.pivot.collections.Sequence<GridPane.Row> arg2); void rowInserted(org.apache.pivot.wtk.GridPane arg0, int arg1); }
GridPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.GridPaneListener { public void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (cellsRemoved != null) { cellsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getColumnCountChanged(); CallableWithArgs<Void> getCellInserted(); CallableWithArgs<Void> getCellsRemoved(); CallableWithArgs<Void> getCellUpdated(); CallableWithArgs<Void> getRowsRemoved(); CallableWithArgs<Void> getRowInserted(); void setColumnCountChanged(CallableWithArgs<Void> columnCountChanged); void setCellInserted(CallableWithArgs<Void> cellInserted); void setCellsRemoved(CallableWithArgs<Void> cellsRemoved); void setCellUpdated(CallableWithArgs<Void> cellUpdated); void setRowsRemoved(CallableWithArgs<Void> rowsRemoved); void setRowInserted(CallableWithArgs<Void> rowInserted); void columnCountChanged(org.apache.pivot.wtk.GridPane arg0, int arg1); void cellInserted(org.apache.pivot.wtk.GridPane.Row arg0, int arg1); void cellsRemoved(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void cellUpdated(org.apache.pivot.wtk.GridPane.Row arg0, int arg1, org.apache.pivot.wtk.Component arg2); void rowsRemoved(org.apache.pivot.wtk.GridPane arg0, int arg1, org.apache.pivot.collections.Sequence<GridPane.Row> arg2); void rowInserted(org.apache.pivot.wtk.GridPane arg0, int arg1);  }