@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.Component arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }
ComponentMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); } }
ComponentMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }  }
ComponentMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }  CallableWithArgs<Void> getMouseOut(); CallableWithArgs<Void> getMouseOver(); CallableWithArgs<Boolean> getMouseMove(); void setMouseOut(CallableWithArgs<Void> mouseOut); void setMouseOver(CallableWithArgs<Void> mouseOver); void setMouseMove(CallableWithArgs<Boolean> mouseMove); void mouseOut(org.apache.pivot.wtk.Component arg0); void mouseOver(org.apache.pivot.wtk.Component arg0); boolean mouseMove(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); }
ComponentMouseAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseListener { public boolean mouseMove(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { return mouseMove != null && mouseMove.call(arg0, arg1, arg2); }  CallableWithArgs<Void> getMouseOut(); CallableWithArgs<Void> getMouseOver(); CallableWithArgs<Boolean> getMouseMove(); void setMouseOut(CallableWithArgs<Void> mouseOut); void setMouseOver(CallableWithArgs<Void> mouseOver); void setMouseMove(CallableWithArgs<Boolean> mouseMove); void mouseOut(org.apache.pivot.wtk.Component arg0); void mouseOver(org.apache.pivot.wtk.Component arg0); boolean mouseMove(org.apache.pivot.wtk.Component arg0, int arg1, int arg2);  }