@Test public void testSelectedItemChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedItemChanged()); adapter.selectedItemChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedItemChanged(callable); adapter.selectedItemChanged(null, null); assertTrue(invoked[0]); }
public void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1) { if (selectedItemChanged != null) { selectedItemChanged.call(arg0, arg1); } }
ListViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewSelectionListener { public void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1) { if (selectedItemChanged != null) { selectedItemChanged.call(arg0, arg1); } } }
ListViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewSelectionListener { public void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1) { if (selectedItemChanged != null) { selectedItemChanged.call(arg0, arg1); } }  }
ListViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewSelectionListener { public void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1) { if (selectedItemChanged != null) { selectedItemChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedRangesChanged(); CallableWithArgs<Void> getSelectedRangeAdded(); CallableWithArgs<Void> getSelectedRangeRemoved(); CallableWithArgs<Void> getSelectedItemChanged(); void setSelectedRangesChanged(CallableWithArgs<Void> selectedRangesChanged); void setSelectedRangeAdded(CallableWithArgs<Void> selectedRangeAdded); void setSelectedRangeRemoved(CallableWithArgs<Void> selectedRangeRemoved); void setSelectedItemChanged(CallableWithArgs<Void> selectedItemChanged); void selectedRangesChanged(org.apache.pivot.wtk.ListView arg0, org.apache.pivot.collections.Sequence<Span> arg1); void selectedRangeAdded(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2); void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2); void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1); }
ListViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewSelectionListener { public void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1) { if (selectedItemChanged != null) { selectedItemChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedRangesChanged(); CallableWithArgs<Void> getSelectedRangeAdded(); CallableWithArgs<Void> getSelectedRangeRemoved(); CallableWithArgs<Void> getSelectedItemChanged(); void setSelectedRangesChanged(CallableWithArgs<Void> selectedRangesChanged); void setSelectedRangeAdded(CallableWithArgs<Void> selectedRangeAdded); void setSelectedRangeRemoved(CallableWithArgs<Void> selectedRangeRemoved); void setSelectedItemChanged(CallableWithArgs<Void> selectedItemChanged); void selectedRangesChanged(org.apache.pivot.wtk.ListView arg0, org.apache.pivot.collections.Sequence<Span> arg1); void selectedRangeAdded(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2); void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2); void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1);  }