@Test public void testSelectedDateBindTypeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedDateBindTypeChanged()); adapter.selectedDateBindTypeChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedDateBindTypeChanged(callable); adapter.selectedDateBindTypeChanged(null, null); assertTrue(invoked[0]); }
public void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedDateBindTypeChanged != null) { selectedDateBindTypeChanged.call(arg0, arg1); } }
CalendarButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CalendarButtonBindingListener { public void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedDateBindTypeChanged != null) { selectedDateBindTypeChanged.call(arg0, arg1); } } }
CalendarButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CalendarButtonBindingListener { public void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedDateBindTypeChanged != null) { selectedDateBindTypeChanged.call(arg0, arg1); } }  }
CalendarButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CalendarButtonBindingListener { public void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedDateBindTypeChanged != null) { selectedDateBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedDateKeyChanged(); CallableWithArgs<Void> getSelectedDateBindTypeChanged(); CallableWithArgs<Void> getSelectedDateBindMappingChanged(); void setSelectedDateKeyChanged(CallableWithArgs<Void> selectedDateKeyChanged); void setSelectedDateBindTypeChanged(CallableWithArgs<Void> selectedDateBindTypeChanged); void setSelectedDateBindMappingChanged(CallableWithArgs<Void> selectedDateBindMappingChanged); void selectedDateKeyChanged(org.apache.pivot.wtk.CalendarButton arg0, java.lang.String arg1); void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1); void selectedDateBindMappingChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.Calendar.SelectedDateBindMapping arg1); }
CalendarButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CalendarButtonBindingListener { public void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedDateBindTypeChanged != null) { selectedDateBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedDateKeyChanged(); CallableWithArgs<Void> getSelectedDateBindTypeChanged(); CallableWithArgs<Void> getSelectedDateBindMappingChanged(); void setSelectedDateKeyChanged(CallableWithArgs<Void> selectedDateKeyChanged); void setSelectedDateBindTypeChanged(CallableWithArgs<Void> selectedDateBindTypeChanged); void setSelectedDateBindMappingChanged(CallableWithArgs<Void> selectedDateBindMappingChanged); void selectedDateKeyChanged(org.apache.pivot.wtk.CalendarButton arg0, java.lang.String arg1); void selectedDateBindTypeChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.BindType arg1); void selectedDateBindMappingChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.wtk.Calendar.SelectedDateBindMapping arg1);  }