@Test public void testSetValue() { final boolean value = true; inputCheckbox.checked = false; view.setValue(value); assertEquals(value, inputCheckbox.checked); }
@Override public void setValue(final boolean value) { inputCheckbox.checked = value; }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public void setValue(final boolean value) { inputCheckbox.checked = value; } }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public void setValue(final boolean value) { inputCheckbox.checked = value; } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public void setValue(final boolean value) { inputCheckbox.checked = value; } @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 { @Override public void setValue(final boolean value) { inputCheckbox.checked = value; } @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);  }