@Test public void testMovieChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getMovieChanged()); adapter.movieChanged(null, null); assertFalse(invoked[0]); adapter.setMovieChanged(callable); adapter.movieChanged(null, null); assertTrue(invoked[0]); }
public void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1) { if (movieChanged != null) { movieChanged.call(arg0, arg1); } }
MovieViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MovieViewListener { public void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1) { if (movieChanged != null) { movieChanged.call(arg0, arg1); } } }
MovieViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MovieViewListener { public void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1) { if (movieChanged != null) { movieChanged.call(arg0, arg1); } }  }
MovieViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MovieViewListener { public void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1) { if (movieChanged != null) { movieChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMovieChanged(); void setMovieChanged(CallableWithArgs<Void> movieChanged); void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1); }
MovieViewAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MovieViewListener { public void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1) { if (movieChanged != null) { movieChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMovieChanged(); void setMovieChanged(CallableWithArgs<Void> movieChanged); void movieChanged(org.apache.pivot.wtk.MovieView arg0, org.apache.pivot.wtk.media.Movie arg1);  }