@Test public void testRequiredChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getRequiredChanged()); adapter.requiredChanged(null, null); assertFalse(invoked[0]); adapter.setRequiredChanged(callable); adapter.requiredChanged(null, null); assertTrue(invoked[0]); }
public void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1) { if (requiredChanged != null) { requiredChanged.call(arg0, arg1); } }
FormAttributeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormAttributeListener { public void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1) { if (requiredChanged != null) { requiredChanged.call(arg0, arg1); } } }
FormAttributeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormAttributeListener { public void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1) { if (requiredChanged != null) { requiredChanged.call(arg0, arg1); } }  }
FormAttributeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormAttributeListener { public void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1) { if (requiredChanged != null) { requiredChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getLabelChanged(); CallableWithArgs<Void> getRequiredChanged(); CallableWithArgs<Void> getFlagChanged(); void setLabelChanged(CallableWithArgs<Void> labelChanged); void setRequiredChanged(CallableWithArgs<Void> requiredChanged); void setFlagChanged(CallableWithArgs<Void> flagChanged); void labelChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1, java.lang.String arg2); void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1); void flagChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1, org.apache.pivot.wtk.Form.Flag arg2); }
FormAttributeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FormAttributeListener { public void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1) { if (requiredChanged != null) { requiredChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getLabelChanged(); CallableWithArgs<Void> getRequiredChanged(); CallableWithArgs<Void> getFlagChanged(); void setLabelChanged(CallableWithArgs<Void> labelChanged); void setRequiredChanged(CallableWithArgs<Void> requiredChanged); void setFlagChanged(CallableWithArgs<Void> flagChanged); void labelChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1, java.lang.String arg2); void requiredChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1); void flagChanged(org.apache.pivot.wtk.Form arg0, org.apache.pivot.wtk.Component arg1, org.apache.pivot.wtk.Form.Flag arg2);  }