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