@Test public void testScrollTopChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getScrollTopChanged()); adapter.scrollTopChanged(null, 0); assertFalse(invoked[0]); adapter.setScrollTopChanged(callable); adapter.scrollTopChanged(null, 0); assertTrue(invoked[0]); }
public void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1) { if (scrollTopChanged != null) { scrollTopChanged.call(arg0, arg1); } }
ViewportAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ViewportListener { public void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1) { if (scrollTopChanged != null) { scrollTopChanged.call(arg0, arg1); } } }
ViewportAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ViewportListener { public void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1) { if (scrollTopChanged != null) { scrollTopChanged.call(arg0, arg1); } }  }
ViewportAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ViewportListener { public void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1) { if (scrollTopChanged != null) { scrollTopChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getScrollTopChanged(); CallableWithArgs<Void> getScrollLeftChanged(); CallableWithArgs<Void> getViewChanged(); void setScrollTopChanged(CallableWithArgs<Void> scrollTopChanged); void setScrollLeftChanged(CallableWithArgs<Void> scrollLeftChanged); void setViewChanged(CallableWithArgs<Void> viewChanged); void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1); void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1); void viewChanged(org.apache.pivot.wtk.Viewport arg0, org.apache.pivot.wtk.Component arg1); }
ViewportAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ViewportListener { public void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1) { if (scrollTopChanged != null) { scrollTopChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getScrollTopChanged(); CallableWithArgs<Void> getScrollLeftChanged(); CallableWithArgs<Void> getViewChanged(); void setScrollTopChanged(CallableWithArgs<Void> scrollTopChanged); void setScrollLeftChanged(CallableWithArgs<Void> scrollLeftChanged); void setViewChanged(CallableWithArgs<Void> viewChanged); void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1); void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1); void viewChanged(org.apache.pivot.wtk.Viewport arg0, org.apache.pivot.wtk.Component arg1);  }