View Javadoc

1   package org.catacomb.graph.gui;
2   
3   import java.awt.Color;
4   
5   public class GraphColors {
6   
7       Color borderBg;
8       Color borderFg;
9       Color graphBg;
10  
11  
12  
13      public GraphColors() {
14          borderBg = new Color(60, 60, 60);
15          graphBg = new Color(40, 40, 40);
16          borderFg = new Color(255, 255, 255);
17  
18      }
19  
20  
21      public void setBorderBg(Color c) {
22          borderBg = c;
23      }
24  
25      public Color getBorderBg() {
26          return borderBg;
27      }
28  
29      public void setBorderFg(Color c) {
30          borderFg = c;
31      }
32  
33      public Color getBorderFg() {
34          return borderFg;
35      }
36  
37      public void setGraphBg(Color c) {
38          graphBg = c;
39      }
40  
41      public Color getGraphBg() {
42          return graphBg;
43      }
44  
45  
46  
47  
48  }