@Test public void testSizeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSizeChanged()); adapter.sizeChanged(null, 0, 0); assertFalse(invoked[0]); adapter.setSizeChanged(callable); adapter.sizeChanged(null, 0, 0); assertTrue(invoked[0]); }
public void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2) { if (sizeChanged != null) { sizeChanged.call(arg0, arg1, arg2); } }
ImageAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.ImageListener { public void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2) { if (sizeChanged != null) { sizeChanged.call(arg0, arg1, arg2); } } }
ImageAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.ImageListener { public void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2) { if (sizeChanged != null) { sizeChanged.call(arg0, arg1, arg2); } }  }
ImageAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.ImageListener { public void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2) { if (sizeChanged != null) { sizeChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getRegionUpdated(); CallableWithArgs<Void> getBaselineChanged(); CallableWithArgs<Void> getSizeChanged(); void setRegionUpdated(CallableWithArgs<Void> regionUpdated); void setBaselineChanged(CallableWithArgs<Void> baselineChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void regionUpdated(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2, int arg3, int arg4); void baselineChanged(org.apache.pivot.wtk.media.Image arg0, int arg1); void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2); }
ImageAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.ImageListener { public void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2) { if (sizeChanged != null) { sizeChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getRegionUpdated(); CallableWithArgs<Void> getBaselineChanged(); CallableWithArgs<Void> getSizeChanged(); void setRegionUpdated(CallableWithArgs<Void> regionUpdated); void setBaselineChanged(CallableWithArgs<Void> baselineChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void regionUpdated(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2, int arg3, int arg4); void baselineChanged(org.apache.pivot.wtk.media.Image arg0, int arg1); void sizeChanged(org.apache.pivot.wtk.media.Image arg0, int arg1, int arg2);  }