-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelLegend.java
More file actions
43 lines (32 loc) · 751 Bytes
/
Copy pathModelLegend.java
File metadata and controls
43 lines (32 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package Charts;
import java.awt.Color;
public class ModelLegend {
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Color getColor1() {
return color1;
}
public void setColor1(Color color1) {
this.color1 = color1;
}
public Color getColor2() {
return color2;
}
public void setColor2(Color color2) {
this.color2 = color2;
}
public ModelLegend(String name, Color color1, Color color2) {
this.name = name;
this.color1 = color1;
this.color2 = color2;
}
public ModelLegend() {
}
private String name;
private Color color1;
private Color color2;
}