test_class.declarator: adapter = new ColorChooserSelectionAdapter()
test_class.modifier: private
test_class.original_string: private ColorChooserSelectionAdapter adapter = new ColorChooserSelectionAdapter();
test_class.type: ColorChooserSelectionAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ColorChooserSelectionAdapterTest.java
test_class.identifier: ColorChooserSelectionAdapterTest
test_case.body: @Test
      public void testSelectedColorChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getSelectedColorChanged());
          adapter.selectedColorChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setSelectedColorChanged(callable);
          adapter.selectedColorChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ColorChooserSelectionAdapterTest.testSelectedColorChanged()
test_case.full_signature: @Test public void testSelectedColorChanged()
test_case.identifier: testSelectedColorChanged
test_case.invocations: assertNull getSelectedColorChanged selectedColorChanged assertFalse setSelectedColorChanged selectedColorChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSelectedColorChanged()
focal_class.declarator: selectedColorChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedColorChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedColorChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ColorChooserSelectionAdapter.java
focal_class.identifier: ColorChooserSelectionAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ColorChooserSelectionListener
focal_class.class_method_signature: ColorChooserSelectionAdapter.getSelectedColorChanged()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedColorChanged()
focal_class.identifier: getSelectedColorChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedColorChanged()
focal_class.class_method_signature: ColorChooserSelectionAdapter.setSelectedColorChanged(CallableWithArgs<Void> selectedColorChanged)
focal_class.full_signature: public void setSelectedColorChanged(CallableWithArgs<Void> selectedColorChanged)
focal_class.identifier: setSelectedColorChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedColorChanged)
focal_class.return: void
focal_class.signature: void setSelectedColorChanged(CallableWithArgs<Void> selectedColorChanged)
focal_class.class_method_signature: ColorChooserSelectionAdapter.selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_class.full_signature: public void selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_class.identifier: selectedColorChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_class.return: void
focal_class.signature: void selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_method.body: public void selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1) {
          if (selectedColorChanged != null) {
              selectedColorChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: ColorChooserSelectionAdapter.selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_method.full_signature: public void selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_method.identifier: selectedColorChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)
focal_method.return: void
focal_method.signature: void selectedColorChanged(org.apache.pivot.wtk.ColorChooser arg0, java.awt.Color arg1)