test_class.declarator: adapter = new ComponentMouseWheelAdapter()
test_class.modifier: private
test_class.original_string: private ComponentMouseWheelAdapter adapter = new ComponentMouseWheelAdapter();
test_class.type: ComponentMouseWheelAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ComponentMouseWheelAdapterTest.java
test_class.identifier: ComponentMouseWheelAdapterTest
test_case.body: @Test
      public void testMouseWheel() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Boolean> callable = new CallableWithArgs<Boolean>() {
              public Boolean call(Object... args) {
                  invoked[0] = true;
                  return false;
              }
          };
  
          assertNull(adapter.getMouseWheel());
          adapter.mouseWheel(null, null, 0, 0, 0, 0);
          assertFalse(invoked[0]);
  
          adapter.setMouseWheel(callable);
          adapter.mouseWheel(null, null, 0, 0, 0, 0);
          assertTrue(invoked[0]);
  
          adapter.setMouseWheel(new CallableWithArgs<Boolean>() {
              public Boolean call(Object... args) {
                  invoked[0] = true;
                  return true;
              }
          });
          adapter.mouseWheel(null, null, 0, 0, 0, 0);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ComponentMouseWheelAdapterTest.testMouseWheel()
test_case.full_signature: @Test public void testMouseWheel()
test_case.identifier: testMouseWheel
test_case.invocations: assertNull getMouseWheel mouseWheel assertFalse setMouseWheel mouseWheel assertTrue setMouseWheel mouseWheel assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMouseWheel()
focal_class.declarator: mouseWheel
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Boolean> mouseWheel;
focal_class.type: CallableWithArgs<Boolean>
focal_class.var_name: mouseWheel
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ComponentMouseWheelAdapter.java
focal_class.identifier: ComponentMouseWheelAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseWheelListener
focal_class.class_method_signature: ComponentMouseWheelAdapter.getMouseWheel()
focal_class.full_signature: public CallableWithArgs<Boolean> getMouseWheel()
focal_class.identifier: getMouseWheel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Boolean>
focal_class.signature: CallableWithArgs<Boolean> getMouseWheel()
focal_class.class_method_signature: ComponentMouseWheelAdapter.setMouseWheel(CallableWithArgs<Boolean> mouseWheel)
focal_class.full_signature: public void setMouseWheel(CallableWithArgs<Boolean> mouseWheel)
focal_class.identifier: setMouseWheel
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Boolean> mouseWheel)
focal_class.return: void
focal_class.signature: void setMouseWheel(CallableWithArgs<Boolean> mouseWheel)
focal_class.class_method_signature: ComponentMouseWheelAdapter.mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_class.full_signature: public boolean mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_class.identifier: mouseWheel
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_class.return: boolean
focal_class.signature: boolean mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_method.body: public boolean mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5) {
          return mouseWheel != null && mouseWheel.call(arg0, arg1, arg2, arg3, arg4, arg5);
      }
focal_method.class_method_signature: ComponentMouseWheelAdapter.mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_method.full_signature: public boolean mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_method.identifier: mouseWheel
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)
focal_method.return: boolean
focal_method.signature: boolean mouseWheel(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5)