@Test public void testMouseMove() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Boolean> callable = new CallableWithArgs<Boolean>() { public Boolean call(Object... args) { invoked[0] = true; return false; } }; assertNull(adapter.getMouseMove()); adapter.mouseMove(null, 0, 0); assertFalse(invoked[0]); adapter.setMouseMove(callable); adapter.mouseMove(null, 0, 0); assertTrue(invoked[0]); adapter.setMouseMove(new CallableWithArgs<Boolean>() { public Boolean call(Object... args) { invoked[0] = true; return true; } }); adapter.mouseMove(null, 0, 0); assertTrue(invoked[0]); }
public boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }
ContainerMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); } }
ContainerMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }  }
ContainerMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }  CallableWithArgs<Boolean> getMouseWheel(); CallableWithArgs<Boolean> getMouseDown(); CallableWithArgs<Boolean> getMouseUp(); CallableWithArgs<Boolean> getMouseMove(); void setMouseWheel(CallableWithArgs<Boolean> mouseWheel); void setMouseDown(CallableWithArgs<Boolean> mouseDown); void setMouseUp(CallableWithArgs<Boolean> mouseUp); void setMouseMove(CallableWithArgs<Boolean> mouseMove); boolean mouseWheel(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5); boolean mouseDown(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3); boolean mouseUp(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3); boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2); }
ContainerMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }  CallableWithArgs<Boolean> getMouseWheel(); CallableWithArgs<Boolean> getMouseDown(); CallableWithArgs<Boolean> getMouseUp(); CallableWithArgs<Boolean> getMouseMove(); void setMouseWheel(CallableWithArgs<Boolean> mouseWheel); void setMouseDown(CallableWithArgs<Boolean> mouseDown); void setMouseUp(CallableWithArgs<Boolean> mouseUp); void setMouseMove(CallableWithArgs<Boolean> mouseMove); boolean mouseWheel(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.Mouse.ScrollType arg1, int arg2, int arg3, int arg4, int arg5); boolean mouseDown(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3); boolean mouseUp(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3); boolean mouseMove(org.apache.pivot.wtk.Container arg0, int arg1, int arg2);  }