1 package autotest.common.ui; 2 3 import com.google.gwt.event.dom.client.ClickHandler; 4 import com.google.gwt.event.dom.client.HasClickHandlers; 5 import com.google.gwt.event.shared.HandlerRegistration; 6 7 public interface ToggleControl extends HasClickHandlers { isActive()8 public boolean isActive(); setActive(boolean active)9 public void setActive(boolean active); addClickHandler(ClickHandler handler)10 public HandlerRegistration addClickHandler(ClickHandler handler); 11 } 12