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

Side by Side Diff: frontend/client/src/autotest/common/ui/RadioChooserDisplay.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.common.ui;
2
3 import autotest.afe.IRadioButton;
4 import autotest.afe.IRadioButton.RadioButtonImpl;
5
6 import com.google.gwt.user.client.ui.Composite;
7 import com.google.gwt.user.client.ui.HorizontalPanel;
8 import com.google.gwt.user.client.ui.Panel;
9
10 public class RadioChooserDisplay extends Composite implements RadioChooser.Displ ay {
11 private Panel container = new HorizontalPanel();
12
13 public RadioChooserDisplay() {
14 initWidget(container);
15 setStyleName("radio-chooser");
16 }
17
18 public IRadioButton generateRadioButton(String groupName, String choice) {
19 RadioButtonImpl radioButton = new RadioButtonImpl(groupName, choice);
20 container.add(radioButton);
21 return radioButton;
22 }
23 }
OLDNEW
« no previous file with comments | « frontend/client/src/autotest/common/ui/RadioChooser.java ('k') | frontend/client/src/autotest/common/ui/SimplifiedList.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698