@Test public void testRangeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getRangeChanged()); adapter.rangeChanged(null, 0, 0); assertFalse(invoked[0]); adapter.setRangeChanged(callable); adapter.rangeChanged(null, 0, 0); assertTrue(invoked[0]); }
public void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2) { if (rangeChanged != null) { rangeChanged.call(arg0, arg1, arg2); } }
SliderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SliderListener { public void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2) { if (rangeChanged != null) { rangeChanged.call(arg0, arg1, arg2); } } }
SliderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SliderListener { public void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2) { if (rangeChanged != null) { rangeChanged.call(arg0, arg1, arg2); } }  }
SliderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SliderListener { public void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2) { if (rangeChanged != null) { rangeChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getOrientationChanged(); CallableWithArgs<Void> getRangeChanged(); void setOrientationChanged(CallableWithArgs<Void> orientationChanged); void setRangeChanged(CallableWithArgs<Void> rangeChanged); void orientationChanged(org.apache.pivot.wtk.Slider arg0); void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2); }
SliderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SliderListener { public void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2) { if (rangeChanged != null) { rangeChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getOrientationChanged(); CallableWithArgs<Void> getRangeChanged(); void setOrientationChanged(CallableWithArgs<Void> orientationChanged); void setRangeChanged(CallableWithArgs<Void> rangeChanged); void orientationChanged(org.apache.pivot.wtk.Slider arg0); void rangeChanged(org.apache.pivot.wtk.Slider arg0, int arg1, int arg2);  }