Last change
on this file since 345 was 127, checked in by Wouter Pasman, 6 years ago |
#41 ROLL BACK of rev.126 . So this version is equal to rev. 125
|
File size:
678 bytes
|
Line | |
---|
1 | package genius.gui.tree;
|
---|
2 |
|
---|
3 | import javax.swing.*;
|
---|
4 |
|
---|
5 | import genius.core.issue.*;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | *
|
---|
9 | * @author Richard Noorlandt
|
---|
10 | *
|
---|
11 | */
|
---|
12 |
|
---|
13 | public class IssueRealValuePanel extends IssueValuePanel {
|
---|
14 |
|
---|
15 | //Attributes
|
---|
16 | private static final long serialVersionUID = 28688258478356130L;
|
---|
17 |
|
---|
18 | //Constructors
|
---|
19 | public IssueRealValuePanel(NegotiatorTreeTableModel model, IssueReal issue) {
|
---|
20 | super(model, issue);
|
---|
21 |
|
---|
22 | init(issue);
|
---|
23 | }
|
---|
24 |
|
---|
25 | //Methods
|
---|
26 | private void init(IssueReal issue) {
|
---|
27 | this.add(new JLabel("Min: " + issue.getLowerBound() + "\tMax: " + issue.getUpperBound()));
|
---|
28 | }
|
---|
29 |
|
---|
30 | public void displayValues(Objective node){
|
---|
31 | this.removeAll();
|
---|
32 | init(((IssueReal)node));
|
---|
33 | }
|
---|
34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.