@Test public void testAsynchronousChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getAsynchronousChanged()); adapter.asynchronousChanged(null); assertFalse(invoked[0]); adapter.setAsynchronousChanged(callable); adapter.asynchronousChanged(null); assertTrue(invoked[0]); }
public void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0) { if (asynchronousChanged != null) { asynchronousChanged.call(arg0); } }
ImageViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ImageViewListener { public void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0) { if (asynchronousChanged != null) { asynchronousChanged.call(arg0); } } }
ImageViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ImageViewListener { public void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0) { if (asynchronousChanged != null) { asynchronousChanged.call(arg0); } }  }
ImageViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ImageViewListener { public void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0) { if (asynchronousChanged != null) { asynchronousChanged.call(arg0); } }  CallableWithArgs<Void> getImageChanged(); CallableWithArgs<Void> getAsynchronousChanged(); void setImageChanged(CallableWithArgs<Void> imageChanged); void setAsynchronousChanged(CallableWithArgs<Void> asynchronousChanged); void imageChanged(org.apache.pivot.wtk.ImageView arg0, org.apache.pivot.wtk.media.Image arg1); void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0); }
ImageViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ImageViewListener { public void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0) { if (asynchronousChanged != null) { asynchronousChanged.call(arg0); } }  CallableWithArgs<Void> getImageChanged(); CallableWithArgs<Void> getAsynchronousChanged(); void setImageChanged(CallableWithArgs<Void> imageChanged); void setAsynchronousChanged(CallableWithArgs<Void> asynchronousChanged); void imageChanged(org.apache.pivot.wtk.ImageView arg0, org.apache.pivot.wtk.media.Image arg1); void asynchronousChanged(org.apache.pivot.wtk.ImageView arg0);  }