1 package autotest.afe; 2 3 import com.google.gwt.event.dom.client.HasClickHandlers; 4 import com.google.gwt.user.client.ui.CheckBox; 5 import com.google.gwt.user.client.ui.HasText; 6 import com.google.gwt.user.client.ui.HasValue; 7 8 public interface ICheckBox extends HasText, HasValue<Boolean>, HasClickHandlers { setEnabled(boolean enabled)9 public void setEnabled(boolean enabled); setVisible(boolean visible)10 public void setVisible(boolean visible); isVisible()11 public boolean isVisible(); 12 13 public static class CheckBoxImpl extends CheckBox implements ICheckBox { CheckBoxImpl()14 public CheckBoxImpl() {} 15 CheckBoxImpl(String label)16 public CheckBoxImpl(String label) { 17 super(label); 18 } 19 } 20 } 21