@Test public void testStyleChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getStyleChanged()); adapter.styleChanged(null, null); assertFalse(invoked[0]); adapter.setStyleChanged(callable); adapter.styleChanged(null, null); assertTrue(invoked[0]); }
public void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1) { if (styleChanged != null) { styleChanged.call(arg0, arg1); } }
BulletedListAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.BulletedListListener { public void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1) { if (styleChanged != null) { styleChanged.call(arg0, arg1); } } }
BulletedListAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.BulletedListListener { public void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1) { if (styleChanged != null) { styleChanged.call(arg0, arg1); } }  }
BulletedListAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.BulletedListListener { public void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1) { if (styleChanged != null) { styleChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getStyleChanged(); void setStyleChanged(CallableWithArgs<Void> styleChanged); void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1); }
BulletedListAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.BulletedListListener { public void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1) { if (styleChanged != null) { styleChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getStyleChanged(); void setStyleChanged(CallableWithArgs<Void> styleChanged); void styleChanged(org.apache.pivot.wtk.text.BulletedList arg0, org.apache.pivot.wtk.text.BulletedList.Style arg1);  }