@Test public void testPanelInserted() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getPanelInserted()); adapter.panelInserted(null, 0); assertFalse(invoked[0]); adapter.setPanelInserted(callable); adapter.panelInserted(null, 0); assertTrue(invoked[0]); }
public void panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1) { if (panelInserted != null) { panelInserted.call(arg0, arg1); } }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1) { if (panelInserted != null) { panelInserted.call(arg0, arg1); } } }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1) { if (panelInserted != null) { panelInserted.call(arg0, arg1); } }  }
AccordionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AccordionListener { public void panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1) { if (panelInserted != null) { panelInserted.call(arg0, arg1); } }  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 panelInserted(org.apache.pivot.wtk.Accordion arg0, int arg1) { if (panelInserted != null) { panelInserted.call(arg0, arg1); } }  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);  }