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
31 public class CremeSkin implements PrefSkin {
32
33
34 public static final String NAME_KEY = "pref.skinMenu.creme";
35
36
37 public static final Color COLOR_BACKGROUND_MAIN = new Color(237, 241, 229);
38
39
40 public static final Color PAINT_BACKGROUND_BOARD = new Color(255, 255, 255);
41
42
43 private static final Color COLOR_PLAYER_NAME = new Color(0, 0, 0);
44
45
46 private static final Font FONT_PLAYER_NAME = new Font("Arial Black", Font.PLAIN, 16);
47
48
49 private static final Stroke STROKE_PLAYER_NAME = new BasicStroke(2);
50
51
52 private static final Color COLOR_PLAYER_SCORE = new Color(0, 0, 0);
53
54
55 private static final Font FONT_PLAYER_SCORE = new Font("Arial Black", Font.PLAIN, 16);
56
57
58 private static final Stroke STROKE_PLAYER_SCORE = new BasicStroke(1);
59
60
61 private static final Color COLOR_PLAYER_TOTALS = new Color(0, 0, 0);
62
63
64 private static final Font FONT_PLAYER_TOTALS = new Font("Arial Black", Font.PLAIN, 16);
65
66
67 private static final Stroke STROKE_PLAYER_TOTALS = new BasicStroke(2);
68
69
70 private static final Color COLOR_BOARD_LINES = new Color(0, 0, 0);
71
72
73 private static final Stroke STROKE_BOARD_LINES = new BasicStroke(1);
74
75
76 private static final Paint PAINT_FINAL_SCORE_BACKGROUND = new Color(150, 150, 150, 60);
77
78
79 private static final Paint PAINT_MAIN_SECTION_LINES = new Color(0, 0, 0);
80
81
82 public String getSubstanceSkinClassName() {
83 return org.jvnet.substance.skin.CremeSkin.class.getName();
84 }
85
86
87 public String getNameResourceKey() {
88 return NAME_KEY;
89 }
90
91
92 public Color getMainBackgroundColor() {
93 return COLOR_BACKGROUND_MAIN;
94 }
95
96
97 public Paint getBoardBackgroundPaint() {
98 return PAINT_BACKGROUND_BOARD;
99 }
100
101
102 public Color getPlayerNameColor() {
103 return COLOR_PLAYER_NAME;
104 }
105
106
107 public Font getPlayerNameFont() {
108 return FONT_PLAYER_NAME;
109 }
110
111
112 public Stroke getPlayerNameStroke() {
113 return STROKE_PLAYER_NAME;
114 }
115
116
117 public Color getPlayerScoreColor() {
118 return COLOR_PLAYER_SCORE;
119 }
120
121
122 public Font getPlayerScoreFont() {
123 return FONT_PLAYER_SCORE;
124 }
125
126
127 public Stroke getPlayerScoreStroke() {
128 return STROKE_PLAYER_SCORE;
129 }
130
131
132 public Color getPlayerTotalsColor() {
133 return COLOR_PLAYER_TOTALS;
134 }
135
136
137 public Font getPlayerTotalsFont() {
138 return FONT_PLAYER_TOTALS;
139 }
140
141
142 public Stroke getPlayerTotalsStroke() {
143 return STROKE_PLAYER_TOTALS;
144 }
145
146
147 public Color getBoardLineColor() {
148 return COLOR_BOARD_LINES;
149 }
150
151
152 public Stroke getBoardLineStroke() {
153 return STROKE_BOARD_LINES;
154 }
155
156
157 public Paint getFinalScoreBackgroundPaint() {
158 return PAINT_FINAL_SCORE_BACKGROUND;
159 }
160
161
162 public Paint getMainSectionLinesPain() {
163 return PAINT_MAIN_SECTION_LINES;
164 }
165
166 }