@Test public void testSelectedColorBindTypeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedColorBindTypeChanged()); adapter.selectedColorBindTypeChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedColorBindTypeChanged(callable); adapter.selectedColorBindTypeChanged(null, null); assertTrue(invoked[0]); }
public void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedColorBindTypeChanged != null) { selectedColorBindTypeChanged.call(arg0, arg1); } }
ColorChooserButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ColorChooserButtonBindingListener { public void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedColorBindTypeChanged != null) { selectedColorBindTypeChanged.call(arg0, arg1); } } }
ColorChooserButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ColorChooserButtonBindingListener { public void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedColorBindTypeChanged != null) { selectedColorBindTypeChanged.call(arg0, arg1); } }  }
ColorChooserButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ColorChooserButtonBindingListener { public void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedColorBindTypeChanged != null) { selectedColorBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedColorBindMappingChanged(); CallableWithArgs<Void> getSelectedColorKeyChanged(); CallableWithArgs<Void> getSelectedColorBindTypeChanged(); void setSelectedColorBindMappingChanged(CallableWithArgs<Void> selectedColorBindMappingChanged); void setSelectedColorKeyChanged(CallableWithArgs<Void> selectedColorKeyChanged); void setSelectedColorBindTypeChanged(CallableWithArgs<Void> selectedColorBindTypeChanged); void selectedColorBindMappingChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.ColorChooser.SelectedColorBindMapping arg1); void selectedColorKeyChanged(org.apache.pivot.wtk.ColorChooserButton arg0, java.lang.String arg1); void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1); }
ColorChooserButtonBindingAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ColorChooserButtonBindingListener { public void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1) { if (selectedColorBindTypeChanged != null) { selectedColorBindTypeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedColorBindMappingChanged(); CallableWithArgs<Void> getSelectedColorKeyChanged(); CallableWithArgs<Void> getSelectedColorBindTypeChanged(); void setSelectedColorBindMappingChanged(CallableWithArgs<Void> selectedColorBindMappingChanged); void setSelectedColorKeyChanged(CallableWithArgs<Void> selectedColorKeyChanged); void setSelectedColorBindTypeChanged(CallableWithArgs<Void> selectedColorBindTypeChanged); void selectedColorBindMappingChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.ColorChooser.SelectedColorBindMapping arg1); void selectedColorKeyChanged(org.apache.pivot.wtk.ColorChooserButton arg0, java.lang.String arg1); void selectedColorBindTypeChanged(org.apache.pivot.wtk.ColorChooserButton arg0, org.apache.pivot.wtk.BindType arg1);  }