Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Side by Side Diff: frontend/client/src/autotest/afe/ControlTypeSelectDisplay.java

Issue 3554003: Merge remote branch 'cros/upstream' into tempbranch3 (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 package autotest.afe;
2
3 import autotest.afe.IRadioButton.RadioButtonImpl;
4
5 import com.google.gwt.user.client.ui.Composite;
6 import com.google.gwt.user.client.ui.HorizontalPanel;
7 import com.google.gwt.user.client.ui.Panel;
8
9 public class ControlTypeSelectDisplay extends Composite implements ControlTypeSe lect.Display {
10 public static final String RADIO_GROUP = "controlTypeGroup";
11
12 private RadioButtonImpl client = new RadioButtonImpl(RADIO_GROUP);
13 private RadioButtonImpl server = new RadioButtonImpl(RADIO_GROUP);
14 private Panel panel = new HorizontalPanel();
15
16 public ControlTypeSelectDisplay() {
17 panel.add(client);
18 panel.add(server);
19 client.setValue(true); // client is default
20 initWidget(panel);
21 }
22
23 public IRadioButton getClient() {
24 return client;
25 }
26
27 public IRadioButton getServer() {
28 return server;
29 }
30 }
OLDNEW
« no previous file with comments | « frontend/client/src/autotest/afe/ControlTypeSelect.java ('k') | frontend/client/src/autotest/afe/HostDetailView.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698