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