test_class.declarator: adapter = new ComponentMouseButtonAdapter()
test_class.modifier: private
test_class.original_string: private ComponentMouseButtonAdapter adapter = new ComponentMouseButtonAdapter();
test_class.type: ComponentMouseButtonAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ComponentMouseButtonAdapterTest.java
test_class.identifier: ComponentMouseButtonAdapterTest
test_case.body: @Test
      public void testMouseClick() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Boolean> callable = new CallableWithArgs<Boolean>() {
              public Boolean call(Object... args) {
                  invoked[0] = true;
                  return false;
              }
          };
  
          assertNull(adapter.getMouseClick());
          adapter.mouseClick(null, null, 0, 0, 0);
          assertFalse(invoked[0]);
  
          adapter.setMouseClick(callable);
          adapter.mouseClick(null, null, 0, 0, 0);
          assertTrue(invoked[0]);
  
          adapter.setMouseClick(new CallableWithArgs<Boolean>() {
              public Boolean call(Object... args) {
                  invoked[0] = true;
                  return true;
              }
          });
          adapter.mouseClick(null, null, 0, 0, 0);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ComponentMouseButtonAdapterTest.testMouseClick()
test_case.full_signature: @Test public void testMouseClick()
test_case.identifier: testMouseClick
test_case.invocations: assertNull getMouseClick mouseClick assertFalse setMouseClick mouseClick assertTrue setMouseClick mouseClick assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMouseClick()
focal_class.declarator: mouseClick
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Boolean> mouseClick;
focal_class.type: CallableWithArgs<Boolean>
focal_class.var_name: mouseClick
focal_class.declarator: mouseDown
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Boolean> mouseDown;
focal_class.type: CallableWithArgs<Boolean>
focal_class.var_name: mouseDown
focal_class.declarator: mouseUp
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Boolean> mouseUp;
focal_class.type: CallableWithArgs<Boolean>
focal_class.var_name: mouseUp
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ComponentMouseButtonAdapter.java
focal_class.identifier: ComponentMouseButtonAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseButtonListener
focal_class.class_method_signature: ComponentMouseButtonAdapter.getMouseClick()
focal_class.full_signature: public CallableWithArgs<Boolean> getMouseClick()
focal_class.identifier: getMouseClick
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Boolean>
focal_class.signature: CallableWithArgs<Boolean> getMouseClick()
focal_class.class_method_signature: ComponentMouseButtonAdapter.getMouseDown()
focal_class.full_signature: public CallableWithArgs<Boolean> getMouseDown()
focal_class.identifier: getMouseDown
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Boolean>
focal_class.signature: CallableWithArgs<Boolean> getMouseDown()
focal_class.class_method_signature: ComponentMouseButtonAdapter.getMouseUp()
focal_class.full_signature: public CallableWithArgs<Boolean> getMouseUp()
focal_class.identifier: getMouseUp
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Boolean>
focal_class.signature: CallableWithArgs<Boolean> getMouseUp()
focal_class.class_method_signature: ComponentMouseButtonAdapter.setMouseClick(CallableWithArgs<Boolean> mouseClick)
focal_class.full_signature: public void setMouseClick(CallableWithArgs<Boolean> mouseClick)
focal_class.identifier: setMouseClick
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Boolean> mouseClick)
focal_class.return: void
focal_class.signature: void setMouseClick(CallableWithArgs<Boolean> mouseClick)
focal_class.class_method_signature: ComponentMouseButtonAdapter.setMouseDown(CallableWithArgs<Boolean> mouseDown)
focal_class.full_signature: public void setMouseDown(CallableWithArgs<Boolean> mouseDown)
focal_class.identifier: setMouseDown
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Boolean> mouseDown)
focal_class.return: void
focal_class.signature: void setMouseDown(CallableWithArgs<Boolean> mouseDown)
focal_class.class_method_signature: ComponentMouseButtonAdapter.setMouseUp(CallableWithArgs<Boolean> mouseUp)
focal_class.full_signature: public void setMouseUp(CallableWithArgs<Boolean> mouseUp)
focal_class.identifier: setMouseUp
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Boolean> mouseUp)
focal_class.return: void
focal_class.signature: void setMouseUp(CallableWithArgs<Boolean> mouseUp)
focal_class.class_method_signature: ComponentMouseButtonAdapter.mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_class.full_signature: public boolean mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_class.identifier: mouseClick
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_class.return: boolean
focal_class.signature: boolean mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_class.class_method_signature: ComponentMouseButtonAdapter.mouseDown(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.full_signature: public boolean mouseDown(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.identifier: mouseDown
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.return: boolean
focal_class.signature: boolean mouseDown(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.class_method_signature: ComponentMouseButtonAdapter.mouseUp(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.full_signature: public boolean mouseUp(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.identifier: mouseUp
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_class.return: boolean
focal_class.signature: boolean mouseUp(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
focal_method.body: public boolean mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4) {
          return mouseClick != null && mouseClick.call(arg0, arg1, arg2, arg3, arg4);
      }
focal_method.class_method_signature: ComponentMouseButtonAdapter.mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_method.full_signature: public boolean mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_method.identifier: mouseClick
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
focal_method.return: boolean
focal_method.signature: boolean mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)