@Test public void testItemCheckedChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getItemCheckedChanged()); adapter.itemCheckedChanged(null, 0); assertFalse(invoked[0]); adapter.setItemCheckedChanged(callable); adapter.itemCheckedChanged(null, 0); assertTrue(invoked[0]); }
public void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1) { if (itemCheckedChanged != null) { itemCheckedChanged.call(arg0, arg1); } }
ListViewItemStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemStateListener { public void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1) { if (itemCheckedChanged != null) { itemCheckedChanged.call(arg0, arg1); } } }
ListViewItemStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemStateListener { public void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1) { if (itemCheckedChanged != null) { itemCheckedChanged.call(arg0, arg1); } }  }
ListViewItemStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemStateListener { public void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1) { if (itemCheckedChanged != null) { itemCheckedChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getItemCheckedChanged(); void setItemCheckedChanged(CallableWithArgs<Void> itemCheckedChanged); void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1); }
ListViewItemStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewItemStateListener { public void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1) { if (itemCheckedChanged != null) { itemCheckedChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getItemCheckedChanged(); void setItemCheckedChanged(CallableWithArgs<Void> itemCheckedChanged); void itemCheckedChanged(org.apache.pivot.wtk.ListView arg0, int arg1);  }