@Test public void testHeadingChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getHeadingChanged()); adapter.headingChanged(null, null); assertFalse(invoked[0]); adapter.setHeadingChanged(callable); adapter.headingChanged(null, null); assertTrue(invoked[0]); }
public void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1) { if (headingChanged != null) { headingChanged.call(arg0, arg1); } }
RollupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupListener { public void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1) { if (headingChanged != null) { headingChanged.call(arg0, arg1); } } }
RollupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupListener { public void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1) { if (headingChanged != null) { headingChanged.call(arg0, arg1); } }  }
RollupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupListener { public void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1) { if (headingChanged != null) { headingChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getContentChanged(); CallableWithArgs<Void> getCollapsibleChanged(); CallableWithArgs<Void> getHeadingChanged(); void setContentChanged(CallableWithArgs<Void> contentChanged); void setCollapsibleChanged(CallableWithArgs<Void> collapsibleChanged); void setHeadingChanged(CallableWithArgs<Void> headingChanged); void contentChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1); void collapsibleChanged(org.apache.pivot.wtk.Rollup arg0); void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1); }
RollupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.RollupListener { public void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1) { if (headingChanged != null) { headingChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getContentChanged(); CallableWithArgs<Void> getCollapsibleChanged(); CallableWithArgs<Void> getHeadingChanged(); void setContentChanged(CallableWithArgs<Void> contentChanged); void setCollapsibleChanged(CallableWithArgs<Void> collapsibleChanged); void setHeadingChanged(CallableWithArgs<Void> headingChanged); void contentChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1); void collapsibleChanged(org.apache.pivot.wtk.Rollup arg0); void headingChanged(org.apache.pivot.wtk.Rollup arg0, org.apache.pivot.wtk.Component arg1);  }