@Test public void testOrientationChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getOrientationChanged()); adapter.orientationChanged(null); assertFalse(invoked[0]); adapter.setOrientationChanged(callable); adapter.orientationChanged(null); assertTrue(invoked[0]); }
public void orientationChanged(org.apache.pivot.wtk.Meter arg0) { if (orientationChanged != null) { orientationChanged.call(arg0); } }
MeterAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MeterListener { public void orientationChanged(org.apache.pivot.wtk.Meter arg0) { if (orientationChanged != null) { orientationChanged.call(arg0); } } }
MeterAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MeterListener { public void orientationChanged(org.apache.pivot.wtk.Meter arg0) { if (orientationChanged != null) { orientationChanged.call(arg0); } }  }
MeterAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MeterListener { public void orientationChanged(org.apache.pivot.wtk.Meter arg0) { if (orientationChanged != null) { orientationChanged.call(arg0); } }  CallableWithArgs<Void> getTextChanged(); CallableWithArgs<Void> getOrientationChanged(); CallableWithArgs<Void> getPercentageChanged(); void setTextChanged(CallableWithArgs<Void> textChanged); void setOrientationChanged(CallableWithArgs<Void> orientationChanged); void setPercentageChanged(CallableWithArgs<Void> percentageChanged); void textChanged(org.apache.pivot.wtk.Meter arg0, java.lang.String arg1); void orientationChanged(org.apache.pivot.wtk.Meter arg0); void percentageChanged(org.apache.pivot.wtk.Meter arg0, double arg1); }
MeterAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.MeterListener { public void orientationChanged(org.apache.pivot.wtk.Meter arg0) { if (orientationChanged != null) { orientationChanged.call(arg0); } }  CallableWithArgs<Void> getTextChanged(); CallableWithArgs<Void> getOrientationChanged(); CallableWithArgs<Void> getPercentageChanged(); void setTextChanged(CallableWithArgs<Void> textChanged); void setOrientationChanged(CallableWithArgs<Void> orientationChanged); void setPercentageChanged(CallableWithArgs<Void> percentageChanged); void textChanged(org.apache.pivot.wtk.Meter arg0, java.lang.String arg1); void orientationChanged(org.apache.pivot.wtk.Meter arg0); void percentageChanged(org.apache.pivot.wtk.Meter arg0, double arg1);  }