@Test public void testOnDaysInputBlurEvent() { final BlurEvent blurEvent = mock(BlurEvent.class); doNothing().when(view).onBlurHandler(any()); view.onDaysInputBlurEvent(blurEvent); verify(view).onBlurHandler(blurEvent); }
@EventHandler("days-input") public void onDaysInputBlurEvent(final BlurEvent blurEvent) { onBlurHandler(blurEvent); }
DayTimeSelectorView implements DayTimeSelector.View { @EventHandler("days-input") public void onDaysInputBlurEvent(final BlurEvent blurEvent) { onBlurHandler(blurEvent); } }
DayTimeSelectorView implements DayTimeSelector.View { @EventHandler("days-input") public void onDaysInputBlurEvent(final BlurEvent blurEvent) { onBlurHandler(blurEvent); } @Inject  DayTimeSelectorView(final HTMLInputElement daysInput,
                               final HTMLInputElement hoursInput,
                               final HTMLInputElement minutesInput,
                               final HTMLInputElement secondsInput); }
DayTimeSelectorView implements DayTimeSelector.View { @EventHandler("days-input") public void onDaysInputBlurEvent(final BlurEvent blurEvent) { onBlurHandler(blurEvent); } @Inject  DayTimeSelectorView(final HTMLInputElement daysInput,
                               final HTMLInputElement hoursInput,
                               final HTMLInputElement minutesInput,
                               final HTMLInputElement secondsInput); @Override void init(final DayTimeSelector presenter); @PostConstruct void setupEventHandlers(); @Override DayTimeValue getValue(); @Override void setValue(final DayTimeValue value); @Override void setOnValueChanged(final Consumer<Event> onValueChangedConsumer); @Override void setOnValueInputBlur(final Consumer<BlurEvent> onValueInputBlurConsumer); @EventHandler("days-input") void onDaysInputBlurEvent(final BlurEvent blurEvent); @EventHandler("hours-input") void onHoursInputBlurEvent(final BlurEvent blurEvent); @EventHandler("minutes-input") void onMinutesInputBlurEvent(final BlurEvent blurEvent); @EventHandler("seconds-input") void onSecondsInputBlurEvent(final BlurEvent blurEvent); @Override void select(); }
DayTimeSelectorView implements DayTimeSelector.View { @EventHandler("days-input") public void onDaysInputBlurEvent(final BlurEvent blurEvent) { onBlurHandler(blurEvent); } @Inject  DayTimeSelectorView(final HTMLInputElement daysInput,
                               final HTMLInputElement hoursInput,
                               final HTMLInputElement minutesInput,
                               final HTMLInputElement secondsInput); @Override void init(final DayTimeSelector presenter); @PostConstruct void setupEventHandlers(); @Override DayTimeValue getValue(); @Override void setValue(final DayTimeValue value); @Override void setOnValueChanged(final Consumer<Event> onValueChangedConsumer); @Override void setOnValueInputBlur(final Consumer<BlurEvent> onValueInputBlurConsumer); @EventHandler("days-input") void onDaysInputBlurEvent(final BlurEvent blurEvent); @EventHandler("hours-input") void onHoursInputBlurEvent(final BlurEvent blurEvent); @EventHandler("minutes-input") void onMinutesInputBlurEvent(final BlurEvent blurEvent); @EventHandler("seconds-input") void onSecondsInputBlurEvent(final BlurEvent blurEvent); @Override void select();  }