1 package org.opentrafficsim.gui;
2
3 import java.awt.Color;
4
5
6
7
8
9
10
11
12
13
14
15
16 public enum Appearance
17 {
18
19
20 MOTUS("Motus", new Color(236, 233, 216), Color.BLACK, Color.BLACK, "Verdana"),
21
22
23 FOSIM("Fosim", new Color(240, 240, 240), Color.BLACK, new Color(0, 128, 0), "Verdana"),
24
25
26 DARK("Dark", new Color(96, 96, 96), Color.WHITE, Color.DARK_GRAY, "Verdana"),
27
28
29 GRAY("Gray", Color.LIGHT_GRAY, Color.BLACK, new Color(96, 96, 96), "Verdana"),
30
31
32 BRIGHT("Bright", Color.LIGHT_GRAY, Color.BLACK, Color.WHITE, "Verdana"),
33
34
35 LEGACY("Legacy", new Color(238, 238, 238), Color.BLACK, Color.WHITE, "Dialog"),
36
37
38 RED("Red", new Color(208, 192, 192), Color.RED.darker().darker(), new Color(208, 192, 192).darker(), "Verdana"),
39
40
41 GREEN("Green", new Color(192, 208, 192), Color.GREEN.darker().darker(), new Color(192, 208, 192).darker(), "Verdana"),
42
43
44 BLUE("Blue", new Color(192, 192, 208), Color.BLUE.darker().darker(), new Color(192, 192, 208).darker(), "Verdana");
45
46
47 private final String name;
48
49
50 private final Color background;
51
52
53 private final Color foreground;
54
55
56 private final Color backdrop;
57
58
59 private final String font;
60
61
62
63
64
65
66
67
68
69 Appearance(final String name, final Color background, final Color foreground, final Color backdrop, final String font)
70 {
71 this.name = name;
72 this.background = background;
73 this.foreground = foreground;
74 this.backdrop = backdrop;
75 this.font = font;
76 }
77
78
79
80
81
82 public final String getName()
83 {
84 return this.name;
85 }
86
87
88
89
90
91 public final Color getBackground()
92 {
93 return this.background;
94 }
95
96
97
98
99
100 public final Color getForeground()
101 {
102 return this.foreground;
103 }
104
105
106
107
108
109 public final Color getBackdrop()
110 {
111 return this.backdrop;
112 }
113
114
115
116
117
118 public final String getFont()
119 {
120 return this.font;
121 }
122
123 }