@Test public void testRegionUpdated() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getRegionUpdated()); adapter.regionUpdated(null, 0, 0, 0, 0); assertFalse(invoked[0]); adapter.setRegionUpdated(callable); adapter.regionUpdated(null, 0, 0, 0, 0); assertTrue(invoked[0]); }
public void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4) { if (regionUpdated != null) { regionUpdated.call(arg0, arg1, arg2, arg3, arg4); } }
MovieAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.MovieListener { public void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4) { if (regionUpdated != null) { regionUpdated.call(arg0, arg1, arg2, arg3, arg4); } } }
MovieAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.MovieListener { public void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4) { if (regionUpdated != null) { regionUpdated.call(arg0, arg1, arg2, arg3, arg4); } }  }
MovieAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.MovieListener { public void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4) { if (regionUpdated != null) { regionUpdated.call(arg0, arg1, arg2, arg3, arg4); } }  CallableWithArgs<Void> getRegionUpdated(); CallableWithArgs<Void> getBaselineChanged(); CallableWithArgs<Void> getSizeChanged(); CallableWithArgs<Void> getCurrentFrameChanged(); CallableWithArgs<Void> getLoopingChanged(); CallableWithArgs<Void> getMovieStarted(); CallableWithArgs<Void> getMovieStopped(); void setRegionUpdated(CallableWithArgs<Void> regionUpdated); void setBaselineChanged(CallableWithArgs<Void> baselineChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void setCurrentFrameChanged(CallableWithArgs<Void> currentFrameChanged); void setLoopingChanged(CallableWithArgs<Void> loopingChanged); void setMovieStarted(CallableWithArgs<Void> movieStarted); void setMovieStopped(CallableWithArgs<Void> movieStopped); void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4); void baselineChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1); void sizeChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2); void currentFrameChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1); void loopingChanged(org.apache.pivot.wtk.media.Movie arg0); void movieStarted(org.apache.pivot.wtk.media.Movie arg0); void movieStopped(org.apache.pivot.wtk.media.Movie arg0); }
MovieAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.media.MovieListener { public void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4) { if (regionUpdated != null) { regionUpdated.call(arg0, arg1, arg2, arg3, arg4); } }  CallableWithArgs<Void> getRegionUpdated(); CallableWithArgs<Void> getBaselineChanged(); CallableWithArgs<Void> getSizeChanged(); CallableWithArgs<Void> getCurrentFrameChanged(); CallableWithArgs<Void> getLoopingChanged(); CallableWithArgs<Void> getMovieStarted(); CallableWithArgs<Void> getMovieStopped(); void setRegionUpdated(CallableWithArgs<Void> regionUpdated); void setBaselineChanged(CallableWithArgs<Void> baselineChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void setCurrentFrameChanged(CallableWithArgs<Void> currentFrameChanged); void setLoopingChanged(CallableWithArgs<Void> loopingChanged); void setMovieStarted(CallableWithArgs<Void> movieStarted); void setMovieStopped(CallableWithArgs<Void> movieStopped); void regionUpdated(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2, int arg3, int arg4); void baselineChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1); void sizeChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1, int arg2); void currentFrameChanged(org.apache.pivot.wtk.media.Movie arg0, int arg1); void loopingChanged(org.apache.pivot.wtk.media.Movie arg0); void movieStarted(org.apache.pivot.wtk.media.Movie arg0); void movieStopped(org.apache.pivot.wtk.media.Movie arg0);  }