test_class.declarator: adapter = new ComponentNodeAdapter()
test_class.modifier: private
test_class.original_string: private ComponentNodeAdapter adapter = new ComponentNodeAdapter();
test_class.type: ComponentNodeAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ComponentNodeAdapterTest.java
test_class.identifier: ComponentNodeAdapterTest
test_case.body: @Test
      public void testComponentChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getComponentChanged());
          adapter.componentChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setComponentChanged(callable);
          adapter.componentChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ComponentNodeAdapterTest.testComponentChanged()
test_case.full_signature: @Test public void testComponentChanged()
test_case.identifier: testComponentChanged
test_case.invocations: assertNull getComponentChanged componentChanged assertFalse setComponentChanged componentChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testComponentChanged()
focal_class.declarator: componentChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> componentChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: componentChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ComponentNodeAdapter.java
focal_class.identifier: ComponentNodeAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.text.ComponentNodeListener
focal_class.class_method_signature: ComponentNodeAdapter.getComponentChanged()
focal_class.full_signature: public CallableWithArgs<Void> getComponentChanged()
focal_class.identifier: getComponentChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getComponentChanged()
focal_class.class_method_signature: ComponentNodeAdapter.setComponentChanged(CallableWithArgs<Void> componentChanged)
focal_class.full_signature: public void setComponentChanged(CallableWithArgs<Void> componentChanged)
focal_class.identifier: setComponentChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> componentChanged)
focal_class.return: void
focal_class.signature: void setComponentChanged(CallableWithArgs<Void> componentChanged)
focal_class.class_method_signature: ComponentNodeAdapter.componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_class.full_signature: public void componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_class.identifier: componentChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_class.return: void
focal_class.signature: void componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_method.body: public void componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1) {
          if (componentChanged != null) {
              componentChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: ComponentNodeAdapter.componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_method.full_signature: public void componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_method.identifier: componentChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)
focal_method.return: void
focal_method.signature: void componentChanged(org.apache.pivot.wtk.text.ComponentNode arg0, org.apache.pivot.wtk.Component arg1)