test_class.declarator: adapter = new ListViewSelectionAdapter()
test_class.modifier: private
test_class.original_string: private ListViewSelectionAdapter adapter = new ListViewSelectionAdapter();
test_class.type: ListViewSelectionAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ListViewSelectionAdapterTest.java
test_class.identifier: ListViewSelectionAdapterTest
test_case.body: @Test
      public void testSelectedRangeRemoved() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getSelectedRangeRemoved());
          adapter.selectedRangeRemoved(null, 0, 0);
          assertFalse(invoked[0]);
  
          adapter.setSelectedRangeRemoved(callable);
          adapter.selectedRangeRemoved(null, 0, 0);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ListViewSelectionAdapterTest.testSelectedRangeRemoved()
test_case.full_signature: @Test public void testSelectedRangeRemoved()
test_case.identifier: testSelectedRangeRemoved
test_case.invocations: assertNull getSelectedRangeRemoved selectedRangeRemoved assertFalse setSelectedRangeRemoved selectedRangeRemoved assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSelectedRangeRemoved()
focal_class.declarator: selectedRangesChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedRangesChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedRangesChanged
focal_class.declarator: selectedRangeAdded
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedRangeAdded;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedRangeAdded
focal_class.declarator: selectedRangeRemoved
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedRangeRemoved;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedRangeRemoved
focal_class.declarator: selectedItemChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedItemChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedItemChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ListViewSelectionAdapter.java
focal_class.identifier: ListViewSelectionAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ListViewSelectionListener
focal_class.class_method_signature: ListViewSelectionAdapter.getSelectedRangesChanged()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedRangesChanged()
focal_class.identifier: getSelectedRangesChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedRangesChanged()
focal_class.class_method_signature: ListViewSelectionAdapter.getSelectedRangeAdded()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedRangeAdded()
focal_class.identifier: getSelectedRangeAdded
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedRangeAdded()
focal_class.class_method_signature: ListViewSelectionAdapter.getSelectedRangeRemoved()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedRangeRemoved()
focal_class.identifier: getSelectedRangeRemoved
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedRangeRemoved()
focal_class.class_method_signature: ListViewSelectionAdapter.getSelectedItemChanged()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedItemChanged()
focal_class.identifier: getSelectedItemChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedItemChanged()
focal_class.class_method_signature: ListViewSelectionAdapter.setSelectedRangesChanged(CallableWithArgs<Void> selectedRangesChanged)
focal_class.full_signature: public void setSelectedRangesChanged(CallableWithArgs<Void> selectedRangesChanged)
focal_class.identifier: setSelectedRangesChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedRangesChanged)
focal_class.return: void
focal_class.signature: void setSelectedRangesChanged(CallableWithArgs<Void> selectedRangesChanged)
focal_class.class_method_signature: ListViewSelectionAdapter.setSelectedRangeAdded(CallableWithArgs<Void> selectedRangeAdded)
focal_class.full_signature: public void setSelectedRangeAdded(CallableWithArgs<Void> selectedRangeAdded)
focal_class.identifier: setSelectedRangeAdded
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedRangeAdded)
focal_class.return: void
focal_class.signature: void setSelectedRangeAdded(CallableWithArgs<Void> selectedRangeAdded)
focal_class.class_method_signature: ListViewSelectionAdapter.setSelectedRangeRemoved(CallableWithArgs<Void> selectedRangeRemoved)
focal_class.full_signature: public void setSelectedRangeRemoved(CallableWithArgs<Void> selectedRangeRemoved)
focal_class.identifier: setSelectedRangeRemoved
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedRangeRemoved)
focal_class.return: void
focal_class.signature: void setSelectedRangeRemoved(CallableWithArgs<Void> selectedRangeRemoved)
focal_class.class_method_signature: ListViewSelectionAdapter.setSelectedItemChanged(CallableWithArgs<Void> selectedItemChanged)
focal_class.full_signature: public void setSelectedItemChanged(CallableWithArgs<Void> selectedItemChanged)
focal_class.identifier: setSelectedItemChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedItemChanged)
focal_class.return: void
focal_class.signature: void setSelectedItemChanged(CallableWithArgs<Void> selectedItemChanged)
focal_class.class_method_signature: ListViewSelectionAdapter.selectedRangesChanged(org.apache.pivot.wtk.ListView arg0, org.apache.pivot.collections.Sequence<Span> arg1)
focal_class.full_signature: public void selectedRangesChanged(org.apache.pivot.wtk.ListView arg0, org.apache.pivot.collections.Sequence<Span> arg1)
focal_class.identifier: selectedRangesChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ListView arg0, org.apache.pivot.collections.Sequence<Span> arg1)
focal_class.return: void
focal_class.signature: void selectedRangesChanged(org.apache.pivot.wtk.ListView arg0, org.apache.pivot.collections.Sequence<Span> arg1)
focal_class.class_method_signature: ListViewSelectionAdapter.selectedRangeAdded(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.full_signature: public void selectedRangeAdded(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.identifier: selectedRangeAdded
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.return: void
focal_class.signature: void selectedRangeAdded(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.class_method_signature: ListViewSelectionAdapter.selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.full_signature: public void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.identifier: selectedRangeRemoved
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.return: void
focal_class.signature: void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_class.class_method_signature: ListViewSelectionAdapter.selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1)
focal_class.full_signature: public void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1)
focal_class.identifier: selectedItemChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1)
focal_class.return: void
focal_class.signature: void selectedItemChanged(org.apache.pivot.wtk.ListView arg0, java.lang.Object arg1)
focal_method.body: public void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2) {
          if (selectedRangeRemoved != null) {
              selectedRangeRemoved.call(arg0, arg1, arg2);
          }
      }
focal_method.class_method_signature: ListViewSelectionAdapter.selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_method.full_signature: public void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_method.identifier: selectedRangeRemoved
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)
focal_method.return: void
focal_method.signature: void selectedRangeRemoved(org.apache.pivot.wtk.ListView arg0, int arg1, int arg2)