@Test public void testSetOnInputChangeCallback() { final Consumer<Event> onValueChanged = (e) -> { }; dayTimeSelector.setOnInputChangeCallback(onValueChanged); verify(view).setOnValueChanged(onValueChanged); }
@Override public void setOnInputChangeCallback(final Consumer<Event> onValueChanged) { view.setOnValueChanged(onValueChanged); }
DayTimeSelector implements TypedValueSelector { @Override public void setOnInputChangeCallback(final Consumer<Event> onValueChanged) { view.setOnValueChanged(onValueChanged); } }
DayTimeSelector implements TypedValueSelector { @Override public void setOnInputChangeCallback(final Consumer<Event> onValueChanged) { view.setOnValueChanged(onValueChanged); } @Inject  DayTimeSelector(final DayTimeSelector.View view,
                           final DayTimeValueConverter converter); }
DayTimeSelector implements TypedValueSelector { @Override public void setOnInputChangeCallback(final Consumer<Event> onValueChanged) { view.setOnValueChanged(onValueChanged); } @Inject  DayTimeSelector(final DayTimeSelector.View view,
                           final DayTimeValueConverter converter); @Override String getValue(); @Override void setValue(final String value); @Override void setPlaceholder(final String placeholder); @Override Element getElement(); @Override void setOnInputChangeCallback(final Consumer<Event> onValueChanged); @Override void setOnInputBlurCallback(final Consumer<BlurEvent> onValueInputBlur); @Override void select(); @Override String toDisplay(final String rawValue); }
DayTimeSelector implements TypedValueSelector { @Override public void setOnInputChangeCallback(final Consumer<Event> onValueChanged) { view.setOnValueChanged(onValueChanged); } @Inject  DayTimeSelector(final DayTimeSelector.View view,
                           final DayTimeValueConverter converter); @Override String getValue(); @Override void setValue(final String value); @Override void setPlaceholder(final String placeholder); @Override Element getElement(); @Override void setOnInputChangeCallback(final Consumer<Event> onValueChanged); @Override void setOnInputBlurCallback(final Consumer<BlurEvent> onValueInputBlur); @Override void select(); @Override String toDisplay(final String rawValue);  }