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