@Test public void test_dispatchEventToHandler() { final FormItemClickHandler handler = mock(FormItemClickHandler.class); event.dispatch(handler); verify(handler).onFormItemClick(event); }
@Override protected void dispatch(FormItemClickHandler handler) { handler.onFormItemClick(this); }
FormItemIconClickEvent extends Event<FormItemClickHandler> { @Override protected void dispatch(FormItemClickHandler handler) { handler.onFormItemClick(this); } }
FormItemIconClickEvent extends Event<FormItemClickHandler> { @Override protected void dispatch(FormItemClickHandler handler) { handler.onFormItemClick(this); } FormItemIconClickEvent(DynamicForm form, FormItem item, FormItemIcon icon); }
FormItemIconClickEvent extends Event<FormItemClickHandler> { @Override protected void dispatch(FormItemClickHandler handler) { handler.onFormItemClick(this); } FormItemIconClickEvent(DynamicForm form, FormItem item, FormItemIcon icon); static Event.Type<FormItemClickHandler> getType(); @Override Event.Type<FormItemClickHandler> getAssociatedType(); DynamicForm getForm(); FormItem getItem(); FormItemIcon getIcon(); }
FormItemIconClickEvent extends Event<FormItemClickHandler> { @Override protected void dispatch(FormItemClickHandler handler) { handler.onFormItemClick(this); } FormItemIconClickEvent(DynamicForm form, FormItem item, FormItemIcon icon); static Event.Type<FormItemClickHandler> getType(); @Override Event.Type<FormItemClickHandler> getAssociatedType(); DynamicForm getForm(); FormItem getItem(); FormItemIcon getIcon();  }