test_class.declarator: adapter = new ListButtonSelectionAdapter()
test_class.modifier: private
test_class.original_string: private ListButtonSelectionAdapter adapter = new ListButtonSelectionAdapter();
test_class.type: ListButtonSelectionAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ListButtonSelectionAdapterTest.java
test_class.identifier: ListButtonSelectionAdapterTest
test_case.body: @Test
      public void testSelectedIndexChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getSelectedIndexChanged());
          adapter.selectedIndexChanged(null, 0);
          assertFalse(invoked[0]);
  
          adapter.setSelectedIndexChanged(callable);
          adapter.selectedIndexChanged(null, 0);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ListButtonSelectionAdapterTest.testSelectedIndexChanged()
test_case.full_signature: @Test public void testSelectedIndexChanged()
test_case.identifier: testSelectedIndexChanged
test_case.invocations: assertNull getSelectedIndexChanged selectedIndexChanged assertFalse setSelectedIndexChanged selectedIndexChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSelectedIndexChanged()
focal_class.declarator: selectedIndexChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedIndexChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedIndexChanged
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/ListButtonSelectionAdapter.java
focal_class.identifier: ListButtonSelectionAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonSelectionListener
focal_class.class_method_signature: ListButtonSelectionAdapter.getSelectedIndexChanged()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedIndexChanged()
focal_class.identifier: getSelectedIndexChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedIndexChanged()
focal_class.class_method_signature: ListButtonSelectionAdapter.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: ListButtonSelectionAdapter.setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged)
focal_class.full_signature: public void setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged)
focal_class.identifier: setSelectedIndexChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedIndexChanged)
focal_class.return: void
focal_class.signature: void setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged)
focal_class.class_method_signature: ListButtonSelectionAdapter.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: ListButtonSelectionAdapter.selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_class.full_signature: public void selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_class.identifier: selectedIndexChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_class.return: void
focal_class.signature: void selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_class.class_method_signature: ListButtonSelectionAdapter.selectedItemChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.Object arg1)
focal_class.full_signature: public void selectedItemChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.Object arg1)
focal_class.identifier: selectedItemChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.ListButton arg0, java.lang.Object arg1)
focal_class.return: void
focal_class.signature: void selectedItemChanged(org.apache.pivot.wtk.ListButton arg0, java.lang.Object arg1)
focal_method.body: public void selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1) {
          if (selectedIndexChanged != null) {
              selectedIndexChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: ListButtonSelectionAdapter.selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_method.full_signature: public void selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_method.identifier: selectedIndexChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.ListButton arg0, int arg1)
focal_method.return: void
focal_method.signature: void selectedIndexChanged(org.apache.pivot.wtk.ListButton arg0, int arg1)