test_class.declarator: adapter = new TreeViewNodeStateAdapter()
test_class.modifier: private
test_class.original_string: private TreeViewNodeStateAdapter adapter = new TreeViewNodeStateAdapter();
test_class.type: TreeViewNodeStateAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/TreeViewNodeStateAdapterTest.java
test_class.identifier: TreeViewNodeStateAdapterTest
test_case.body: @Test
      public void testNodeCheckStateChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getNodeCheckStateChanged());
          adapter.nodeCheckStateChanged(null, null, null);
          assertFalse(invoked[0]);
  
          adapter.setNodeCheckStateChanged(callable);
          adapter.nodeCheckStateChanged(null, null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: TreeViewNodeStateAdapterTest.testNodeCheckStateChanged()
test_case.full_signature: @Test public void testNodeCheckStateChanged()
test_case.identifier: testNodeCheckStateChanged
test_case.invocations: assertNull getNodeCheckStateChanged nodeCheckStateChanged assertFalse setNodeCheckStateChanged nodeCheckStateChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNodeCheckStateChanged()
focal_class.declarator: nodeCheckStateChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> nodeCheckStateChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: nodeCheckStateChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/TreeViewNodeStateAdapter.java
focal_class.identifier: TreeViewNodeStateAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewNodeStateListener
focal_class.class_method_signature: TreeViewNodeStateAdapter.getNodeCheckStateChanged()
focal_class.full_signature: public CallableWithArgs<Void> getNodeCheckStateChanged()
focal_class.identifier: getNodeCheckStateChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getNodeCheckStateChanged()
focal_class.class_method_signature: TreeViewNodeStateAdapter.setNodeCheckStateChanged(CallableWithArgs<Void> nodeCheckStateChanged)
focal_class.full_signature: public void setNodeCheckStateChanged(CallableWithArgs<Void> nodeCheckStateChanged)
focal_class.identifier: setNodeCheckStateChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> nodeCheckStateChanged)
focal_class.return: void
focal_class.signature: void setNodeCheckStateChanged(CallableWithArgs<Void> nodeCheckStateChanged)
focal_class.class_method_signature: TreeViewNodeStateAdapter.nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_class.full_signature: public void nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_class.identifier: nodeCheckStateChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_class.return: void
focal_class.signature: void nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_method.body: public void nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2) {
          if (nodeCheckStateChanged != null) {
              nodeCheckStateChanged.call(arg0, arg1, arg2);
          }
      }
focal_method.class_method_signature: TreeViewNodeStateAdapter.nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_method.full_signature: public void nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_method.identifier: nodeCheckStateChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)
focal_method.return: void
focal_method.signature: void nodeCheckStateChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, org.apache.pivot.wtk.TreeView.NodeCheckState arg2)