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