/Users/20800/Desktop/IA_Final_Submission_000307-0050/Product/IA_Netbeans_Project/src/mainPackage/FunctionSettings.java |
1
2
3
4
5
6 package mainPackage;
7
8
9
10 @author
11
12
13
14
15 public class FunctionSettings {
16 private String name = "default";
17 private String functionType = "Square";
18 private double xWindowMin = -10.0;
19 private double xWindowMax = 10.0;
20 private double yWindowMin = -10.0;
21 private double yWindowMax = 10.0;
22 private String color = "Blue";
23
24 public FunctionSettings(){
25
26 }
27
28 public FunctionSettings(String name, String functionType, double xWindowMin, double xWindowMax, double yWindowMin,
29 double yWindowMax, String color){
30 this.name = name;
31 this.functionType = functionType;
32 this.xWindowMin = xWindowMin;
33 this.xWindowMax = xWindowMax;
34 this.yWindowMin = yWindowMin;
35 this.yWindowMax = yWindowMax;
36 this.color = color;
37 }
38
39 public String getName() {
40 return name;
41 }
42
43 public String getFunctionType() {
44 return functionType;
45 }
46
47 public double getxWindowMin() {
48 return xWindowMin;
49 }
50
51 public double getxWindowMax() {
52 return xWindowMax;
53 }
54
55 public double getyWindowMin() {
56 return yWindowMin;
57 }
58
59 public double getyWindowMax() {
60 return yWindowMax;
61 }
62
63 public String getColor() {
64 return color;
65 }
66
67 public void setName(String name) {
68 this.name = name;
69 }
70
71 public void setFunctionType(String functionType) {
72 this.functionType = functionType;
73 }
74
75 public void setxWindowMin(double xWindowMin) {
76 this.xWindowMin = xWindowMin;
77 }
78
79 public void setxWindowMax(double xWindowMax) {
80 this.xWindowMax = xWindowMax;
81 }
82
83 public void setyWindowMin(double yWindowMin) {
84 this.yWindowMin = yWindowMin;
85 }
86
87 public void setyWindowMax(double yWindowMax) {
88 this.yWindowMax = yWindowMax;
89 }
90
91 public void setColor(String color) {
92 this.color = color;
93 }
94 }
95