/Users/lyon/j4p/src/graphics/graph/ColorPanel.java
|
1 package graphics.graph;
2
3 import java.awt.*;
4
5 public class ColorPanel {
6 private final Color fixedColor = Color.red;
7 private final Color selectColor = Color.pink;
8 private final Color edgeColor = Color.black;
9 private final Color nodeColor
10 = new Color(250, 220, 100);
11 private final Color stressColor = Color.darkGray;
12 private final Color arcColor1 = Color.black;
13 private final Color arcColor2 = Color.pink;
14 private final Color arcColor3 = Color.red;
15
16 public Color getFixedColor() {
17 return fixedColor;
18 }
19
20 public Color getSelectColor() {
21 return selectColor;
22 }
23
24 public Color getEdgeColor() {
25 return edgeColor;
26 }
27
28 public Color getNodeColor() {
29 return nodeColor;
30 }
31
32 public Color getStressColor() {
33 return stressColor;
34 }
35
36 public Color getArcColor1() {
37 return arcColor1;
38 }
39
40 public Color getArcColor2() {
41 return arcColor2;
42 }
43
44 public Color getArcColor3() {
45 return arcColor3;
46 }
47 }
48