View Javadoc

1   package org.sat4j.sat.visu;
2   
3   import java.awt.Color;
4   
5   public class GnuplotDataFile {
6       private String filename;
7       private Color color;
8       private String title;
9       private String style;
10  
11      public GnuplotDataFile(String filename) {
12          this(filename, Color.red, filename);
13      }
14  
15      public GnuplotDataFile(String filename, Color color, String title) {
16          this(filename, color, title, "");
17      }
18  
19      public GnuplotDataFile(String filename, Color color, String title,
20              String style) {
21          this.filename = filename;
22          this.color = color;
23          this.title = title;
24          this.style = style;
25      }
26  
27      public String getFilename() {
28          return this.filename;
29      }
30  
31      public void setFilename(String filename) {
32          this.filename = filename;
33      }
34  
35      public Color getColor() {
36          return this.color;
37      }
38  
39      public void setColor(Color color) {
40          this.color = color;
41      }
42  
43      public String getTitle() {
44          return this.title;
45      }
46  
47      public void setTitle(String title) {
48          this.title = title;
49      }
50  
51      public String getStyle() {
52          return this.style;
53      }
54  
55      public void setStyle(String style) {
56          this.style = style;
57      }
58  
59  }