1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package net.curre.prefcount.gui.theme.skin;
16
17 import java.awt.BasicStroke;
18 import java.awt.Color;
19 import java.awt.Font;
20 import java.awt.Paint;
21 import java.awt.Stroke;
22
23
24
25
26
27
28
29
30 public class AquaSkin implements PrefSkin {
31
32
33 public static final String NAME_KEY = "pref.skinMenu.aqua";
34
35
36 public static final Color COLOR_BACKGROUND_MAIN = new Color(238, 238, 238);
37
38
39 public static final Color PAINT_BACKGROUND_BOARD = new Color(252, 252, 252);
40
41
42 private static final Color COLOR_PLAYER_NAME = new Color(10, 10, 10);
43
44
45 private static final Font FONT_PLAYER_NAME = new Font("Arial Black", Font.BOLD, 16);
46
47
48 private static final Stroke STROKE_PLAYER_NAME = new BasicStroke(2);
49
50
51 private static final Color COLOR_PLAYER_SCORE = new Color(30, 30, 30);
52
53
54 private static final Font FONT_PLAYER_SCORE = new Font("SansSerif", Font.ITALIC, 16);
55
56
57 private static final Stroke STROKE_PLAYER_SCORE = new BasicStroke(2);
58
59
60 private static final Color COLOR_PLAYER_TOTALS = new Color(0, 0, 0);
61
62
63 private static final Font FONT_PLAYER_TOTALS = new Font("SansSerif", Font.BOLD, 16);
64
65
66 private static final Stroke STROKE_PLAYER_TOTALS = new BasicStroke(2);
67
68
69 private static final Color COLOR_BOARD_LINES = new Color(200, 200, 200);
70
71
72 private static final Stroke STROKE_BOARD_LINES = new BasicStroke(1);
73
74
75 private static final Paint PAINT_FINAL_SCORE_BACKGROUND = new Color(150, 150, 150, 100);
76
77
78 private static final Paint PAINT_MAIN_SECTION_LINES = new Color(120, 120, 120);
79
80
81
82
83
84
85
86 public String getSubstanceSkinClassName() {
87 return null;
88 }
89
90
91 public String getNameResourceKey() {
92 return NAME_KEY;
93 }
94
95
96 public Color getMainBackgroundColor() {
97 return COLOR_BACKGROUND_MAIN;
98 }
99
100
101 public Paint getBoardBackgroundPaint() {
102 return PAINT_BACKGROUND_BOARD;
103 }
104
105
106 public Color getPlayerNameColor() {
107 return COLOR_PLAYER_NAME;
108 }
109
110
111 public Font getPlayerNameFont() {
112 return FONT_PLAYER_NAME;
113 }
114
115
116 public Stroke getPlayerNameStroke() {
117 return STROKE_PLAYER_NAME;
118 }
119
120
121 public Color getPlayerScoreColor() {
122 return COLOR_PLAYER_SCORE;
123 }
124
125
126 public Font getPlayerScoreFont() {
127 return FONT_PLAYER_SCORE;
128 }
129
130
131 public Stroke getPlayerScoreStroke() {
132 return STROKE_PLAYER_SCORE;
133 }
134
135
136 public Color getPlayerTotalsColor() {
137 return COLOR_PLAYER_TOTALS;
138 }
139
140
141 public Font getPlayerTotalsFont() {
142 return FONT_PLAYER_TOTALS;
143 }
144
145
146 public Stroke getPlayerTotalsStroke() {
147 return STROKE_PLAYER_TOTALS;
148 }
149
150
151 public Color getBoardLineColor() {
152 return COLOR_BOARD_LINES;
153 }
154
155
156 public Stroke getBoardLineStroke() {
157 return STROKE_BOARD_LINES;
158 }
159
160
161 public Paint getFinalScoreBackgroundPaint() {
162 return PAINT_FINAL_SCORE_BACKGROUND;
163 }
164
165
166 public Paint getMainSectionLinesPain() {
167 return PAINT_MAIN_SECTION_LINES;
168 }
169
170 }