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.*;
18
19
20
21
22
23
24
25
26
27 public class DefaultSkin implements PrefSkin {
28
29
30 public static final String NAME_KEY = "pref.skinMenu.default";
31
32
33 public static final Color COLOR_BACKGROUND_MAIN = new Color(238, 238, 238);
34
35
36 public static final Color PAINT_BACKGROUND_BOARD = new Color(252, 252, 252);
37
38
39 private static final Color COLOR_PLAYER_NAME = new Color(10, 10, 10);
40
41
42 private static final Font FONT_PLAYER_NAME = new Font("Arial Black", Font.BOLD, 16);
43
44
45 private static final Stroke STROKE_PLAYER_NAME = new BasicStroke(2);
46
47
48 private static final Color COLOR_PLAYER_SCORE = new Color(30, 30, 30);
49
50
51 private static final Font FONT_PLAYER_SCORE = new Font("SansSerif", Font.ITALIC, 16);
52
53
54 private static final Stroke STROKE_PLAYER_SCORE = new BasicStroke(2);
55
56
57 private static final Color COLOR_PLAYER_TOTALS = new Color(0, 0, 0);
58
59
60 private static final Font FONT_PLAYER_TOTALS = new Font("SansSerif", Font.BOLD, 16);
61
62
63 private static final Stroke STROKE_PLAYER_TOTALS = new BasicStroke(2);
64
65
66 private static final Color COLOR_BOARD_LINES = new Color(200, 200, 200);
67
68
69 private static final Stroke STROKE_BOARD_LINES = new BasicStroke(1);
70
71
72
73
74
75
76
77 public String getSubstanceSkinClassName() {
78 return null;
79 }
80
81
82 public String getNameResourceKey() {
83 return NAME_KEY;
84 }
85
86
87 public Color getMainBackgroundColor() {
88 return COLOR_BACKGROUND_MAIN;
89 }
90
91
92 public Paint getBoardBackgroundPaint() {
93 return PAINT_BACKGROUND_BOARD;
94 }
95
96
97 public Color getPlayerNameColor() {
98 return COLOR_PLAYER_NAME;
99 }
100
101
102 public Font getPlayerNameFont() {
103 return FONT_PLAYER_NAME;
104 }
105
106
107 public Stroke getPlayerNameStroke() {
108 return STROKE_PLAYER_NAME;
109 }
110
111
112 public Color getPlayerScoreColor() {
113 return COLOR_PLAYER_SCORE;
114 }
115
116
117 public Font getPlayerScoreFont() {
118 return FONT_PLAYER_SCORE;
119 }
120
121
122 public Stroke getPlayerScoreStroke() {
123 return STROKE_PLAYER_SCORE;
124 }
125
126
127 public Color getPlayerTotalsColor() {
128 return COLOR_PLAYER_TOTALS;
129 }
130
131
132 public Font getPlayerTotalsFont() {
133 return FONT_PLAYER_TOTALS;
134 }
135
136
137 public Stroke getPlayerTotalsStroke() {
138 return STROKE_PLAYER_TOTALS;
139 }
140
141
142 public Color getBoardLineColor() {
143 return COLOR_BOARD_LINES;
144 }
145
146
147 public Stroke getBoardLineStroke() {
148 return STROKE_BOARD_LINES;
149 }
150
151 }