@Test public void testSelectedItemBindTypeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedItemBindTypeChanged()); adapter.selectedItemBindTypeChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedItemBindTypeChanged(callable); adapter.selectedItemBindTypeChanged(null, null); assertTrue(invoked[0]); }
public void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedItemBindTypeChanged != null) { selectedItemBindTypeChanged.call(arg0, arg1); } }
ListButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonBindingListener { public void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedItemBindTypeChanged != null) { selectedItemBindTypeChanged.call(arg0, arg1); } } }
ListButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonBindingListener { public void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedItemBindTypeChanged != null) { selectedItemBindTypeChanged.call(arg0, arg1); } }  }
ListButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonBindingListener { public void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedItemBindTypeChanged != null) { selectedItemBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListDataKeyChanged(); CallableWithArgs<Void> getListDataBindTypeChanged(); CallableWithArgs<Void> getListDataBindMappingChanged(); CallableWithArgs<Void> getSelectedItemKeyChanged(); CallableWithArgs<Void> getSelectedItemBindTypeChanged(); CallableWithArgs<Void> getSelectedItemBindMappingChanged(); void setListDataKeyChanged(CallableWithArgs<Void> listDataKeyChanged); void setListDataBindTypeChanged(CallableWithArgs<Void> listDataBindTypeChanged); void setListDataBindMappingChanged(CallableWithArgs<Void> listDataBindMappingChanged); void setSelectedItemKeyChanged(CallableWithArgs<Void> selectedItemKeyChanged); void setSelectedItemBindTypeChanged(CallableWithArgs<Void> selectedItemBindTypeChanged); void setSelectedItemBindMappingChanged(CallableWithArgs<Void> selectedItemBindMappingChanged); void listDataKeyChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.String arg1); void listDataBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1); void listDataBindMappingChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ListDataBindMapping arg1); void selectedItemKeyChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.String arg1); void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1); void selectedItemBindMappingChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ItemBindMapping arg1); }
ListButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonBindingListener { public void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedItemBindTypeChanged != null) { selectedItemBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListDataKeyChanged(); CallableWithArgs<Void> getListDataBindTypeChanged(); CallableWithArgs<Void> getListDataBindMappingChanged(); CallableWithArgs<Void> getSelectedItemKeyChanged(); CallableWithArgs<Void> getSelectedItemBindTypeChanged(); CallableWithArgs<Void> getSelectedItemBindMappingChanged(); void setListDataKeyChanged(CallableWithArgs<Void> listDataKeyChanged); void setListDataBindTypeChanged(CallableWithArgs<Void> listDataBindTypeChanged); void setListDataBindMappingChanged(CallableWithArgs<Void> listDataBindMappingChanged); void setSelectedItemKeyChanged(CallableWithArgs<Void> selectedItemKeyChanged); void setSelectedItemBindTypeChanged(CallableWithArgs<Void> selectedItemBindTypeChanged); void setSelectedItemBindMappingChanged(CallableWithArgs<Void> selectedItemBindMappingChanged); void listDataKeyChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.String arg1); void listDataBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1); void listDataBindMappingChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ListDataBindMapping arg1); void selectedItemKeyChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.String arg1); void selectedItemBindTypeChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.BindType arg1); void selectedItemBindMappingChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ItemBindMapping arg1);  }