test_class.declarator: adapter = new TreeViewBranchAdapter()
test_class.modifier: private
test_class.original_string: private TreeViewBranchAdapter adapter = new TreeViewBranchAdapter();
test_class.type: TreeViewBranchAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/TreeViewBranchAdapterTest.java
test_class.identifier: TreeViewBranchAdapterTest
test_case.body: @Test
      public void testBranchCollapsed() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getBranchCollapsed());
          adapter.branchCollapsed(null, null);
          assertFalse(invoked[0]);
  
          adapter.setBranchCollapsed(callable);
          adapter.branchCollapsed(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: TreeViewBranchAdapterTest.testBranchCollapsed()
test_case.full_signature: @Test public void testBranchCollapsed()
test_case.identifier: testBranchCollapsed
test_case.invocations: assertNull getBranchCollapsed branchCollapsed assertFalse setBranchCollapsed branchCollapsed assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBranchCollapsed()
focal_class.declarator: branchExpanded
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> branchExpanded;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: branchExpanded
focal_class.declarator: branchCollapsed
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> branchCollapsed;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: branchCollapsed
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/TreeViewBranchAdapter.java
focal_class.identifier: TreeViewBranchAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewBranchListener
focal_class.class_method_signature: TreeViewBranchAdapter.getBranchExpanded()
focal_class.full_signature: public CallableWithArgs<Void> getBranchExpanded()
focal_class.identifier: getBranchExpanded
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getBranchExpanded()
focal_class.class_method_signature: TreeViewBranchAdapter.getBranchCollapsed()
focal_class.full_signature: public CallableWithArgs<Void> getBranchCollapsed()
focal_class.identifier: getBranchCollapsed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getBranchCollapsed()
focal_class.class_method_signature: TreeViewBranchAdapter.setBranchExpanded(CallableWithArgs<Void> branchExpanded)
focal_class.full_signature: public void setBranchExpanded(CallableWithArgs<Void> branchExpanded)
focal_class.identifier: setBranchExpanded
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> branchExpanded)
focal_class.return: void
focal_class.signature: void setBranchExpanded(CallableWithArgs<Void> branchExpanded)
focal_class.class_method_signature: TreeViewBranchAdapter.setBranchCollapsed(CallableWithArgs<Void> branchCollapsed)
focal_class.full_signature: public void setBranchCollapsed(CallableWithArgs<Void> branchCollapsed)
focal_class.identifier: setBranchCollapsed
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> branchCollapsed)
focal_class.return: void
focal_class.signature: void setBranchCollapsed(CallableWithArgs<Void> branchCollapsed)
focal_class.class_method_signature: TreeViewBranchAdapter.branchExpanded(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.full_signature: public void branchExpanded(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.identifier: branchExpanded
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.return: void
focal_class.signature: void branchExpanded(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.class_method_signature: TreeViewBranchAdapter.branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.full_signature: public void branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.identifier: branchCollapsed
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_class.return: void
focal_class.signature: void branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_method.body: public void branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) {
          if (branchCollapsed != null) {
              branchCollapsed.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: TreeViewBranchAdapter.branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_method.full_signature: public void branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)
focal_method.identifier: branchCollapsed
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)
focal_method.return: void
focal_method.signature: void branchCollapsed(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1)