@Test public void testOnInputCheckBoxChange() { final ChangeEvent event = mock(ChangeEvent.class); view.onInputCheckBoxChange(event); verify(view).callOnValueChanged(); }
@EventHandler("input-checkbox") public void onInputCheckBoxChange(final ChangeEvent e) { callOnValueChanged(); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @EventHandler("input-checkbox") public void onInputCheckBoxChange(final ChangeEvent e) { callOnValueChanged(); } }
SmallSwitchComponentView implements SmallSwitchComponent.View { @EventHandler("input-checkbox") public void onInputCheckBoxChange(final ChangeEvent e) { callOnValueChanged(); } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @EventHandler("input-checkbox") public void onInputCheckBoxChange(final ChangeEvent e) { callOnValueChanged(); } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); @Override void init(final SmallSwitchComponent presenter); @EventHandler("input-checkbox") void onInputCheckBoxChange(final ChangeEvent e); @Override boolean getValue(); @Override void setValue(final boolean value); @Override void setOnValueChanged(final Consumer<Boolean> onValueChanged); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @EventHandler("input-checkbox") public void onInputCheckBoxChange(final ChangeEvent e) { callOnValueChanged(); } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); @Override void init(final SmallSwitchComponent presenter); @EventHandler("input-checkbox") void onInputCheckBoxChange(final ChangeEvent e); @Override boolean getValue(); @Override void setValue(final boolean value); @Override void setOnValueChanged(final Consumer<Boolean> onValueChanged);  }