@Test public void testPanelsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getPanelsRemoved()); adapter.panelsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setPanelsRemoved(callable); adapter.panelsRemoved(null, 0, null); assertTrue(invoked[0]); }
public void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (panelsRemoved != null) { panelsRemoved.call(arg0, arg1, arg2); } }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (panelsRemoved != null) { panelsRemoved.call(arg0, arg1, arg2); } } }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (panelsRemoved != null) { panelsRemoved.call(arg0, arg1, arg2); } }  }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (panelsRemoved != null) { panelsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getPanelsRemoved(); CallableWithArgs<Void> getPanelInserted(); CallableWithArgs<Void> getHeaderDataRendererChanged(); void setPanelsRemoved(CallableWithArgs<Void> panelsRemoved); void setPanelInserted(CallableWithArgs<Void> panelInserted); void setHeaderDataRendererChanged(CallableWithArgs<Void> headerDataRendererChanged); void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1); void headerDataRendererChanged(org.apache.pivot.wtk.Accordion arg0, org.apache.pivot.wtk.Button.DataRenderer arg1); }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (panelsRemoved != null) { panelsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getPanelsRemoved(); CallableWithArgs<Void> getPanelInserted(); CallableWithArgs<Void> getHeaderDataRendererChanged(); void setPanelsRemoved(CallableWithArgs<Void> panelsRemoved); void setPanelInserted(CallableWithArgs<Void> panelInserted); void setHeaderDataRendererChanged(CallableWithArgs<Void> headerDataRendererChanged); void panelsRemoved(org.apache.pivot.wtk.Accordion arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1); void headerDataRendererChanged(org.apache.pivot.wtk.Accordion arg0, org.apache.pivot.wtk.Button.DataRenderer arg1);  }