@Test public void testSectionsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSectionsRemoved()); adapter.sectionsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setSectionsRemoved(callable); adapter.sectionsRemoved(null, 0, null); assertTrue(invoked[0]); }
public void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2) { if (sectionsRemoved != null) { sectionsRemoved.call(arg0, arg1, arg2); } }
FormAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormListener { public void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2) { if (sectionsRemoved != null) { sectionsRemoved.call(arg0, arg1, arg2); } } }
FormAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormListener { public void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2) { if (sectionsRemoved != null) { sectionsRemoved.call(arg0, arg1, arg2); } }  }
FormAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormListener { public void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2) { if (sectionsRemoved != null) { sectionsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getSectionInserted(); CallableWithArgs<Void> getSectionsRemoved(); CallableWithArgs<Void> getSectionHeadingChanged(); CallableWithArgs<Void> getFieldInserted(); CallableWithArgs<Void> getFieldsRemoved(); void setSectionInserted(CallableWithArgs<Void> sectionInserted); void setSectionsRemoved(CallableWithArgs<Void> sectionsRemoved); void setSectionHeadingChanged(CallableWithArgs<Void> sectionHeadingChanged); void setFieldInserted(CallableWithArgs<Void> fieldInserted); void setFieldsRemoved(CallableWithArgs<Void> fieldsRemoved); void sectionInserted(org.apache.pivot.wtk.Form arg0, int arg1); void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2); void sectionHeadingChanged(org.apache.pivot.wtk.Form.Section arg0); void fieldInserted(org.apache.pivot.wtk.Form.Section arg0, int arg1); void fieldsRemoved(org.apache.pivot.wtk.Form.Section arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); }
FormAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormListener { public void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2) { if (sectionsRemoved != null) { sectionsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getSectionInserted(); CallableWithArgs<Void> getSectionsRemoved(); CallableWithArgs<Void> getSectionHeadingChanged(); CallableWithArgs<Void> getFieldInserted(); CallableWithArgs<Void> getFieldsRemoved(); void setSectionInserted(CallableWithArgs<Void> sectionInserted); void setSectionsRemoved(CallableWithArgs<Void> sectionsRemoved); void setSectionHeadingChanged(CallableWithArgs<Void> sectionHeadingChanged); void setFieldInserted(CallableWithArgs<Void> fieldInserted); void setFieldsRemoved(CallableWithArgs<Void> fieldsRemoved); void sectionInserted(org.apache.pivot.wtk.Form arg0, int arg1); void sectionsRemoved(org.apache.pivot.wtk.Form arg0, int arg1, org.apache.pivot.collections.Sequence<Form.Section> arg2); void sectionHeadingChanged(org.apache.pivot.wtk.Form.Section arg0); void fieldInserted(org.apache.pivot.wtk.Form.Section arg0, int arg1); void fieldsRemoved(org.apache.pivot.wtk.Form.Section arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2);  }