@Test public void testSelectedItemBindMappingChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedItemBindMappingChanged()); adapter.selectedItemBindMappingChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedItemBindMappingChanged(callable); adapter.selectedItemBindMappingChanged(null, null); assertTrue(invoked[0]); }
public void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1) { if (selectedItemBindMappingChanged != null) { selectedItemBindMappingChanged.call(arg0, arg1); } }
SpinnerBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SpinnerBindingListener { public void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1) { if (selectedItemBindMappingChanged != null) { selectedItemBindMappingChanged.call(arg0, arg1); } } }
SpinnerBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SpinnerBindingListener { public void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1) { if (selectedItemBindMappingChanged != null) { selectedItemBindMappingChanged.call(arg0, arg1); } }  }
SpinnerBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SpinnerBindingListener { public void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1) { if (selectedItemBindMappingChanged != null) { selectedItemBindMappingChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedItemKeyChanged(); CallableWithArgs<Void> getSelectedItemBindTypeChanged(); CallableWithArgs<Void> getSelectedItemBindMappingChanged(); CallableWithArgs<Void> getSpinnerDataKeyChanged(); CallableWithArgs<Void> getSpinnerDataBindTypeChanged(); CallableWithArgs<Void> getSpinnerDataBindMappingChanged(); void setSelectedItemKeyChanged(CallableWithArgs<Void> selectedItemKeyChanged); void setSelectedItemBindTypeChanged(CallableWithArgs<Void> selectedItemBindTypeChanged); void setSelectedItemBindMappingChanged(CallableWithArgs<Void> selectedItemBindMappingChanged); void setSpinnerDataKeyChanged(CallableWithArgs<Void> spinnerDataKeyChanged); void setSpinnerDataBindTypeChanged(CallableWithArgs<Void> spinnerDataBindTypeChanged); void setSpinnerDataBindMappingChanged(CallableWithArgs<Void> spinnerDataBindMappingChanged); void selectedItemKeyChanged(org.apache.pivot.wtk.Spinner arg0, java.lang.String arg1); void selectedItemBindTypeChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.BindType arg1); void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1); void spinnerDataKeyChanged(org.apache.pivot.wtk.Spinner arg0, java.lang.String arg1); void spinnerDataBindTypeChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.BindType arg1); void spinnerDataBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.SpinnerDataBindMapping arg1); }
SpinnerBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SpinnerBindingListener { public void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1) { if (selectedItemBindMappingChanged != null) { selectedItemBindMappingChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedItemKeyChanged(); CallableWithArgs<Void> getSelectedItemBindTypeChanged(); CallableWithArgs<Void> getSelectedItemBindMappingChanged(); CallableWithArgs<Void> getSpinnerDataKeyChanged(); CallableWithArgs<Void> getSpinnerDataBindTypeChanged(); CallableWithArgs<Void> getSpinnerDataBindMappingChanged(); void setSelectedItemKeyChanged(CallableWithArgs<Void> selectedItemKeyChanged); void setSelectedItemBindTypeChanged(CallableWithArgs<Void> selectedItemBindTypeChanged); void setSelectedItemBindMappingChanged(CallableWithArgs<Void> selectedItemBindMappingChanged); void setSpinnerDataKeyChanged(CallableWithArgs<Void> spinnerDataKeyChanged); void setSpinnerDataBindTypeChanged(CallableWithArgs<Void> spinnerDataBindTypeChanged); void setSpinnerDataBindMappingChanged(CallableWithArgs<Void> spinnerDataBindMappingChanged); void selectedItemKeyChanged(org.apache.pivot.wtk.Spinner arg0, java.lang.String arg1); void selectedItemBindTypeChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.BindType arg1); void selectedItemBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.ItemBindMapping arg1); void spinnerDataKeyChanged(org.apache.pivot.wtk.Spinner arg0, java.lang.String arg1); void spinnerDataBindTypeChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.BindType arg1); void spinnerDataBindMappingChanged(org.apache.pivot.wtk.Spinner arg0, org.apache.pivot.wtk.Spinner.SpinnerDataBindMapping arg1);  }