@Test public void testItemsCleared() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getItemsCleared()); adapter.itemsCleared(null); assertFalse(invoked[0]); adapter.setItemsCleared(callable); adapter.itemsCleared(null); assertTrue(invoked[0]); }
public void itemsCleared(org.apache.pivot.wtk.ListView arg0) { if (itemsCleared != null) { itemsCleared.call(arg0); } }
ListViewItemAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemListener { public void itemsCleared(org.apache.pivot.wtk.ListView arg0) { if (itemsCleared != null) { itemsCleared.call(arg0); } } }
ListViewItemAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemListener { public void itemsCleared(org.apache.pivot.wtk.ListView arg0) { if (itemsCleared != null) { itemsCleared.call(arg0); } }  }
ListViewItemAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemListener { public void itemsCleared(org.apache.pivot.wtk.ListView arg0) { if (itemsCleared != null) { itemsCleared.call(arg0); } }  CallableWithArgs<Void> getItemsCleared(); CallableWithArgs<Void> getItemsSorted(); CallableWithArgs<Void> getItemInserted(); CallableWithArgs<Void> getItemUpdated(); CallableWithArgs<Void> getItemsRemoved(); void setItemsCleared(CallableWithArgs<Void> itemsCleared); void setItemsSorted(CallableWithArgs<Void> itemsSorted); void setItemInserted(CallableWithArgs<Void> itemInserted); void setItemUpdated(CallableWithArgs<Void> itemUpdated); void setItemsRemoved(CallableWithArgs<Void> itemsRemoved); void itemsCleared(org.apache.pivot.wtk.ListView arg0); void itemsSorted(org.apache.pivot.wtk.ListView arg0); void itemInserted(org.apache.pivot.wtk.ListView arg0, int arg1); void itemUpdated(org.apache.pivot.wtk.ListView arg0, int arg1); void itemsRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2); }
ListViewItemAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemListener { public void itemsCleared(org.apache.pivot.wtk.ListView arg0) { if (itemsCleared != null) { itemsCleared.call(arg0); } }  CallableWithArgs<Void> getItemsCleared(); CallableWithArgs<Void> getItemsSorted(); CallableWithArgs<Void> getItemInserted(); CallableWithArgs<Void> getItemUpdated(); CallableWithArgs<Void> getItemsRemoved(); void setItemsCleared(CallableWithArgs<Void> itemsCleared); void setItemsSorted(CallableWithArgs<Void> itemsSorted); void setItemInserted(CallableWithArgs<Void> itemInserted); void setItemUpdated(CallableWithArgs<Void> itemUpdated); void setItemsRemoved(CallableWithArgs<Void> itemsRemoved); void itemsCleared(org.apache.pivot.wtk.ListView arg0); void itemsSorted(org.apache.pivot.wtk.ListView arg0); void itemInserted(org.apache.pivot.wtk.ListView arg0, int arg1); void itemUpdated(org.apache.pivot.wtk.ListView arg0, int arg1); void itemsRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2);  }