test_class.declarator: adapter = new ComponentDataAdapter()
test_class.modifier: private
test_class.original_string: private ComponentDataAdapter adapter = new ComponentDataAdapter();
test_class.type: ComponentDataAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ComponentDataAdapterTest.java
test_class.identifier: ComponentDataAdapterTest
test_case.body: @Test
      public void testValueUpdated() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getValueUpdated());
          adapter.valueUpdated(null, null, null);
          assertFalse(invoked[0]);
  
          adapter.setValueUpdated(callable);
          adapter.valueUpdated(null, null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ComponentDataAdapterTest.testValueUpdated()
test_case.full_signature: @Test public void testValueUpdated()
test_case.identifier: testValueUpdated
test_case.invocations: assertNull getValueUpdated valueUpdated assertFalse setValueUpdated valueUpdated assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValueUpdated()
focal_class.declarator: valueAdded
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> valueAdded;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: valueAdded
focal_class.declarator: valueUpdated
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> valueUpdated;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: valueUpdated
focal_class.declarator: valueRemoved
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> valueRemoved;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: valueRemoved
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ComponentDataAdapter.java
focal_class.identifier: ComponentDataAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentDataListener
focal_class.class_method_signature: ComponentDataAdapter.getValueAdded()
focal_class.full_signature: public CallableWithArgs<Void> getValueAdded()
focal_class.identifier: getValueAdded
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getValueAdded()
focal_class.class_method_signature: ComponentDataAdapter.getValueUpdated()
focal_class.full_signature: public CallableWithArgs<Void> getValueUpdated()
focal_class.identifier: getValueUpdated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getValueUpdated()
focal_class.class_method_signature: ComponentDataAdapter.getValueRemoved()
focal_class.full_signature: public CallableWithArgs<Void> getValueRemoved()
focal_class.identifier: getValueRemoved
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getValueRemoved()
focal_class.class_method_signature: ComponentDataAdapter.setValueAdded(CallableWithArgs<Void> valueAdded)
focal_class.full_signature: public void setValueAdded(CallableWithArgs<Void> valueAdded)
focal_class.identifier: setValueAdded
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> valueAdded)
focal_class.return: void
focal_class.signature: void setValueAdded(CallableWithArgs<Void> valueAdded)
focal_class.class_method_signature: ComponentDataAdapter.setValueUpdated(CallableWithArgs<Void> valueUpdated)
focal_class.full_signature: public void setValueUpdated(CallableWithArgs<Void> valueUpdated)
focal_class.identifier: setValueUpdated
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> valueUpdated)
focal_class.return: void
focal_class.signature: void setValueUpdated(CallableWithArgs<Void> valueUpdated)
focal_class.class_method_signature: ComponentDataAdapter.setValueRemoved(CallableWithArgs<Void> valueRemoved)
focal_class.full_signature: public void setValueRemoved(CallableWithArgs<Void> valueRemoved)
focal_class.identifier: setValueRemoved
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> valueRemoved)
focal_class.return: void
focal_class.signature: void setValueRemoved(CallableWithArgs<Void> valueRemoved)
focal_class.class_method_signature: ComponentDataAdapter.valueAdded(org.apache.pivot.wtk.Component arg0, java.lang.String arg1)
focal_class.full_signature: public void valueAdded(org.apache.pivot.wtk.Component arg0, java.lang.String arg1)
focal_class.identifier: valueAdded
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, java.lang.String arg1)
focal_class.return: void
focal_class.signature: void valueAdded(org.apache.pivot.wtk.Component arg0, java.lang.String arg1)
focal_class.class_method_signature: ComponentDataAdapter.valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.full_signature: public void valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.identifier: valueUpdated
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.return: void
focal_class.signature: void valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.class_method_signature: ComponentDataAdapter.valueRemoved(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.full_signature: public void valueRemoved(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.identifier: valueRemoved
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_class.return: void
focal_class.signature: void valueRemoved(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_method.body: public void valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2) {
          if (valueUpdated != null) {
              valueUpdated.call(arg0, arg1, arg2);
          }
      }
focal_method.class_method_signature: ComponentDataAdapter.valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_method.full_signature: public void valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_method.identifier: valueUpdated
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)
focal_method.return: void
focal_method.signature: void valueUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2)