@Test public void testBodyChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getBodyChanged()); adapter.bodyChanged(null, null); assertFalse(invoked[0]); adapter.setBodyChanged(callable); adapter.bodyChanged(null, null); assertTrue(invoked[0]); }
public void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1) { if (bodyChanged != null) { bodyChanged.call(arg0, arg1); } }
AlertAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AlertListener { public void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1) { if (bodyChanged != null) { bodyChanged.call(arg0, arg1); } } }
AlertAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AlertListener { public void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1) { if (bodyChanged != null) { bodyChanged.call(arg0, arg1); } }  }
AlertAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AlertListener { public void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1) { if (bodyChanged != null) { bodyChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMessageTypeChanged(); CallableWithArgs<Void> getMessageChanged(); CallableWithArgs<Void> getBodyChanged(); CallableWithArgs<Void> getOptionInserted(); CallableWithArgs<Void> getOptionsRemoved(); CallableWithArgs<Void> getSelectedOptionChanged(); void setMessageTypeChanged(CallableWithArgs<Void> messageTypeChanged); void setMessageChanged(CallableWithArgs<Void> messageChanged); void setBodyChanged(CallableWithArgs<Void> bodyChanged); void setOptionInserted(CallableWithArgs<Void> optionInserted); void setOptionsRemoved(CallableWithArgs<Void> optionsRemoved); void setSelectedOptionChanged(CallableWithArgs<Void> selectedOptionChanged); void messageTypeChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.MessageType arg1); void messageChanged(org.apache.pivot.wtk.Alert arg0, java.lang.String arg1); void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1); void optionInserted(org.apache.pivot.wtk.Alert arg0, int arg1); void optionsRemoved(org.apache.pivot.wtk.Alert arg0, int arg1, org.apache.pivot.collections.Sequence<?> arg2); void selectedOptionChanged(org.apache.pivot.wtk.Alert arg0, int arg1); }
AlertAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.AlertListener { public void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1) { if (bodyChanged != null) { bodyChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMessageTypeChanged(); CallableWithArgs<Void> getMessageChanged(); CallableWithArgs<Void> getBodyChanged(); CallableWithArgs<Void> getOptionInserted(); CallableWithArgs<Void> getOptionsRemoved(); CallableWithArgs<Void> getSelectedOptionChanged(); void setMessageTypeChanged(CallableWithArgs<Void> messageTypeChanged); void setMessageChanged(CallableWithArgs<Void> messageChanged); void setBodyChanged(CallableWithArgs<Void> bodyChanged); void setOptionInserted(CallableWithArgs<Void> optionInserted); void setOptionsRemoved(CallableWithArgs<Void> optionsRemoved); void setSelectedOptionChanged(CallableWithArgs<Void> selectedOptionChanged); void messageTypeChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.MessageType arg1); void messageChanged(org.apache.pivot.wtk.Alert arg0, java.lang.String arg1); void bodyChanged(org.apache.pivot.wtk.Alert arg0, org.apache.pivot.wtk.Component arg1); void optionInserted(org.apache.pivot.wtk.Alert arg0, int arg1); void optionsRemoved(org.apache.pivot.wtk.Alert arg0, int arg1, org.apache.pivot.collections.Sequence<?> arg2); void selectedOptionChanged(org.apache.pivot.wtk.Alert arg0, int arg1);  }