Last change
on this file since 346 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:
1.0 KB
|
Line | |
---|
1 | package genius.gui.tree;
|
---|
2 |
|
---|
3 | import java.awt.Color;
|
---|
4 | import java.awt.FlowLayout;
|
---|
5 |
|
---|
6 | import javax.swing.JPanel;
|
---|
7 |
|
---|
8 | import genius.core.issue.Objective;
|
---|
9 |
|
---|
10 | /**
|
---|
11 | *
|
---|
12 | * @author Richard Noorlandt
|
---|
13 | *
|
---|
14 | */
|
---|
15 |
|
---|
16 | public abstract class IssueValuePanel extends JPanel {
|
---|
17 |
|
---|
18 | private static final long serialVersionUID = 7098132974856692090L;
|
---|
19 | protected NegotiatorTreeTableModel model;
|
---|
20 |
|
---|
21 | // Attributes
|
---|
22 | static final Color BACKGROUND = Color.white;
|
---|
23 |
|
---|
24 | // Constructors
|
---|
25 | public IssueValuePanel(NegotiatorTreeTableModel model, Objective objective) {
|
---|
26 | super();
|
---|
27 | this.model = model;
|
---|
28 | this.setBackground(BACKGROUND);
|
---|
29 | this.setLayout(new FlowLayout());
|
---|
30 | }
|
---|
31 |
|
---|
32 | // Methods
|
---|
33 | /*
|
---|
34 | * No specific methods need to be implemented. The subclasses should
|
---|
35 | * implement a panel that visualizes the possible values of an issue in an
|
---|
36 | * appropriate way.
|
---|
37 | */
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * Draws the values of this Issue or Objective
|
---|
41 | *
|
---|
42 | * @param node
|
---|
43 | * The Objective or Issue to display values of.
|
---|
44 | */
|
---|
45 | public abstract void displayValues(Objective node);
|
---|
46 |
|
---|
47 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.