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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
Index: frontend/client/src/autotest/afe/ControlTypeSelectDisplay.java
diff --git a/frontend/client/src/autotest/afe/ControlTypeSelectDisplay.java b/frontend/client/src/autotest/afe/ControlTypeSelectDisplay.java
new file mode 100644
index 0000000000000000000000000000000000000000..dd431e3e64113d0bcb02c7497c490a626468f5f9
--- /dev/null
+++ b/frontend/client/src/autotest/afe/ControlTypeSelectDisplay.java
@@ -0,0 +1,30 @@
+package autotest.afe;
+
+import autotest.afe.IRadioButton.RadioButtonImpl;
+
+import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.HorizontalPanel;
+import com.google.gwt.user.client.ui.Panel;
+
+public class ControlTypeSelectDisplay extends Composite implements ControlTypeSelect.Display {
+ public static final String RADIO_GROUP = "controlTypeGroup";
+
+ private RadioButtonImpl client = new RadioButtonImpl(RADIO_GROUP);
+ private RadioButtonImpl server = new RadioButtonImpl(RADIO_GROUP);
+ private Panel panel = new HorizontalPanel();
+
+ public ControlTypeSelectDisplay() {
+ panel.add(client);
+ panel.add(server);
+ client.setValue(true); // client is default
+ initWidget(panel);
+ }
+
+ public IRadioButton getClient() {
+ return client;
+ }
+
+ public IRadioButton getServer() {
+ return server;
+ }
+}
« 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