test_class.declarator: adapter = new TabPaneSelectionAdapter()
test_class.modifier: private
test_class.original_string: private TabPaneSelectionAdapter adapter = new TabPaneSelectionAdapter();
test_class.type: TabPaneSelectionAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/TabPaneSelectionAdapterTest.java
test_class.identifier: TabPaneSelectionAdapterTest
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: TabPaneSelectionAdapterTest.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: previewSelectedIndexChange
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Vote> previewSelectedIndexChange;
focal_class.type: CallableWithArgs<Vote>
focal_class.var_name: previewSelectedIndexChange
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: selectedIndexChangeVetoed
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedIndexChangeVetoed;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedIndexChangeVetoed
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/TabPaneSelectionAdapter.java
focal_class.identifier: TabPaneSelectionAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.TabPaneSelectionListener
focal_class.class_method_signature: TabPaneSelectionAdapter.getPreviewSelectedIndexChange()
focal_class.full_signature: public CallableWithArgs<Vote> getPreviewSelectedIndexChange()
focal_class.identifier: getPreviewSelectedIndexChange
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Vote>
focal_class.signature: CallableWithArgs<Vote> getPreviewSelectedIndexChange()
focal_class.class_method_signature: TabPaneSelectionAdapter.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: TabPaneSelectionAdapter.getSelectedIndexChangeVetoed()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedIndexChangeVetoed()
focal_class.identifier: getSelectedIndexChangeVetoed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedIndexChangeVetoed()
focal_class.class_method_signature: TabPaneSelectionAdapter.setPreviewSelectedIndexChange(CallableWithArgs<Vote> previewSelectedIndexChange)
focal_class.full_signature: public void setPreviewSelectedIndexChange(CallableWithArgs<Vote> previewSelectedIndexChange)
focal_class.identifier: setPreviewSelectedIndexChange
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Vote> previewSelectedIndexChange)
focal_class.return: void
focal_class.signature: void setPreviewSelectedIndexChange(CallableWithArgs<Vote> previewSelectedIndexChange)
focal_class.class_method_signature: TabPaneSelectionAdapter.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: TabPaneSelectionAdapter.setSelectedIndexChangeVetoed(CallableWithArgs<Void> selectedIndexChangeVetoed)
focal_class.full_signature: public void setSelectedIndexChangeVetoed(CallableWithArgs<Void> selectedIndexChangeVetoed)
focal_class.identifier: setSelectedIndexChangeVetoed
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedIndexChangeVetoed)
focal_class.return: void
focal_class.signature: void setSelectedIndexChangeVetoed(CallableWithArgs<Void> selectedIndexChangeVetoed)
focal_class.class_method_signature: TabPaneSelectionAdapter.previewSelectedIndexChange(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.full_signature: public org.apache.pivot.util.Vote previewSelectedIndexChange(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.identifier: previewSelectedIndexChange
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.return: org.apache.pivot.util.Vote
focal_class.signature: org.apache.pivot.util.Vote previewSelectedIndexChange(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.class_method_signature: TabPaneSelectionAdapter.selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.full_signature: public void selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.identifier: selectedIndexChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.return: void
focal_class.signature: void selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_class.class_method_signature: TabPaneSelectionAdapter.selectedIndexChangeVetoed(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1)
focal_class.full_signature: public void selectedIndexChangeVetoed(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1)
focal_class.identifier: selectedIndexChangeVetoed
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1)
focal_class.return: void
focal_class.signature: void selectedIndexChangeVetoed(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1)
focal_method.body: public void selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1) {
          if (selectedIndexChanged != null) {
              selectedIndexChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: TabPaneSelectionAdapter.selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_method.full_signature: public void selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_method.identifier: selectedIndexChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.TabPane arg0, int arg1)
focal_method.return: void
focal_method.signature: void selectedIndexChanged(org.apache.pivot.wtk.TabPane arg0, int arg1)