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