OLD | NEW |
1 // Copyright 2009 Google Inc. All Rights Reserved. | 1 // Copyright 2009 Google Inc. All Rights Reserved. |
2 | 2 |
3 package autotest.common.ui; | 3 package autotest.common.ui; |
4 | 4 |
5 import com.google.gwt.event.dom.client.ChangeHandler; | 5 import com.google.gwt.event.dom.client.ChangeHandler; |
6 import com.google.gwt.event.shared.HandlerRegistration; | 6 import com.google.gwt.event.shared.HandlerRegistration; |
7 | 7 |
8 public interface SimplifiedList { | 8 public interface SimplifiedList { |
9 public void clear(); | 9 public void clear(); |
10 public void addItem(String name, String value); | 10 public void addItem(String name, String value); |
11 public String getSelectedName(); | 11 public String getSelectedName(); |
12 public void selectByName(String name); | 12 public void selectByName(String name); |
13 public HandlerRegistration addChangeHandler(ChangeHandler handler); | 13 public HandlerRegistration addChangeHandler(ChangeHandler handler); |
14 public void setEnabled(boolean enabled); | |
15 } | 14 } |
OLD | NEW |