Last change
on this file since 84 was 83, checked in by Wouter Pasman, 7 years ago |
#28 added first version of uncertainty panel. Not yet attached to save
|
File size:
737 bytes
|
Line | |
---|
1 | package genius.gui.tree;
|
---|
2 |
|
---|
3 | import javax.swing.JLabel;
|
---|
4 |
|
---|
5 | import genius.gui.panels.CheckboxPanel;
|
---|
6 | import genius.gui.panels.SpinnerPanel;
|
---|
7 | import genius.gui.panels.VflowPanelWithBorder;
|
---|
8 |
|
---|
9 | @SuppressWarnings("serial")
|
---|
10 | public class UncertaintySettingsPanel extends VflowPanelWithBorder {
|
---|
11 | public UncertaintySettingsPanel(UncertaintySettingsModel model) {
|
---|
12 | super("Uncertainty settings");
|
---|
13 | add(new CheckboxPanel("enable uncertainty", model.getIsEnabled()));
|
---|
14 | add(new JLabel(
|
---|
15 | "(Maximum number of rankings = " + model.getTotalBids() + ")"));
|
---|
16 | add(new SpinnerPanel("Nr. of rankings", model.getComparisons()));
|
---|
17 | add(new SpinnerPanel("Nr.of errors", model.getErrors()));
|
---|
18 | add(new CheckboxPanel("Experimental", model.getIsExperimental()));
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.