@Test public void testComponentsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getComponentsRemoved()); adapter.componentsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setComponentsRemoved(callable); adapter.componentsRemoved(null, 0, null); assertTrue(invoked[0]); }
public void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (componentsRemoved != null) { componentsRemoved.call(arg0, arg1, arg2); } }
ContainerAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerListener { public void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (componentsRemoved != null) { componentsRemoved.call(arg0, arg1, arg2); } } }
ContainerAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerListener { public void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (componentsRemoved != null) { componentsRemoved.call(arg0, arg1, arg2); } }  }
ContainerAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerListener { public void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (componentsRemoved != null) { componentsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getComponentInserted(); CallableWithArgs<Void> getComponentsRemoved(); CallableWithArgs<Void> getFocusTraversalPolicyChanged(); CallableWithArgs<Void> getComponentMoved(); void setComponentInserted(CallableWithArgs<Void> componentInserted); void setComponentsRemoved(CallableWithArgs<Void> componentsRemoved); void setFocusTraversalPolicyChanged(CallableWithArgs<Void> focusTraversalPolicyChanged); void setComponentMoved(CallableWithArgs<Void> componentMoved); void componentInserted(org.apache.pivot.wtk.Container arg0, int arg1); void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void focusTraversalPolicyChanged(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.FocusTraversalPolicy arg1); void componentMoved(org.apache.pivot.wtk.Container arg0, int arg1, int arg2); }
ContainerAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ContainerListener { public void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (componentsRemoved != null) { componentsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getComponentInserted(); CallableWithArgs<Void> getComponentsRemoved(); CallableWithArgs<Void> getFocusTraversalPolicyChanged(); CallableWithArgs<Void> getComponentMoved(); void setComponentInserted(CallableWithArgs<Void> componentInserted); void setComponentsRemoved(CallableWithArgs<Void> componentsRemoved); void setFocusTraversalPolicyChanged(CallableWithArgs<Void> focusTraversalPolicyChanged); void setComponentMoved(CallableWithArgs<Void> componentMoved); void componentInserted(org.apache.pivot.wtk.Container arg0, int arg1); void componentsRemoved(org.apache.pivot.wtk.Container arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void focusTraversalPolicyChanged(org.apache.pivot.wtk.Container arg0, org.apache.pivot.wtk.FocusTraversalPolicy arg1); void componentMoved(org.apache.pivot.wtk.Container arg0, int arg1, int arg2);  }