40 |
|
|
41 |
import javax.swing.UIDefaults; |
import javax.swing.UIDefaults; |
42 |
import javax.swing.plaf.ColorUIResource; |
import javax.swing.plaf.ColorUIResource; |
43 |
|
import javax.swing.plaf.FontUIResource; |
44 |
import javax.swing.plaf.basic.BasicLookAndFeel; |
import javax.swing.plaf.basic.BasicLookAndFeel; |
45 |
|
|
46 |
public class MetalLookAndFeel extends BasicLookAndFeel |
public class MetalLookAndFeel extends BasicLookAndFeel |
143 |
return theme.getControlTextColor(); |
return theme.getControlTextColor(); |
144 |
} |
} |
145 |
|
|
146 |
|
public static FontUIResource getControlTextFont() |
147 |
|
{ |
148 |
|
return theme.getControlTextFont(); |
149 |
|
} |
150 |
|
|
151 |
public static ColorUIResource getDesktopColor() |
public static ColorUIResource getDesktopColor() |
152 |
{ |
{ |
153 |
return theme.getDesktopColor(); |
return theme.getDesktopColor(); |
198 |
return theme.getMenuSelectedForeground(); |
return theme.getMenuSelectedForeground(); |
199 |
} |
} |
200 |
|
|
201 |
|
public static FontUIResource getMenuTextFont() |
202 |
|
{ |
203 |
|
return theme.getMenuTextFont(); |
204 |
|
} |
205 |
|
|
206 |
public static ColorUIResource getPrimaryControl() |
public static ColorUIResource getPrimaryControl() |
207 |
{ |
{ |
208 |
return theme.getPrimaryControl(); |
return theme.getPrimaryControl(); |
238 |
return theme.getSeparatorForeground(); |
return theme.getSeparatorForeground(); |
239 |
} |
} |
240 |
|
|
241 |
|
public static FontUIResource getSubTextFont() |
242 |
|
{ |
243 |
|
return theme.getSubTextFont(); |
244 |
|
} |
245 |
|
|
246 |
public static ColorUIResource getSystemTextColor() |
public static ColorUIResource getSystemTextColor() |
247 |
{ |
{ |
248 |
return theme.getSystemTextColor(); |
return theme.getSystemTextColor(); |
249 |
} |
} |
250 |
|
|
251 |
|
public static FontUIResource getSystemTextFont() |
252 |
|
{ |
253 |
|
return theme.getSystemTextFont(); |
254 |
|
} |
255 |
|
|
256 |
public static ColorUIResource getTextHighlightColor() |
public static ColorUIResource getTextHighlightColor() |
257 |
{ |
{ |
258 |
return theme.getTextHighlightColor(); |
return theme.getTextHighlightColor(); |
263 |
return theme.getUserTextColor(); |
return theme.getUserTextColor(); |
264 |
} |
} |
265 |
|
|
266 |
|
public static FontUIResource getUserTextFont() |
267 |
|
{ |
268 |
|
return theme.getUserTextFont(); |
269 |
|
} |
270 |
|
|
271 |
public static ColorUIResource getWhite() |
public static ColorUIResource getWhite() |
272 |
{ |
{ |
273 |
return theme.getWhite(); |
return theme.getWhite(); |
283 |
return theme.getWindowTitleBackground(); |
return theme.getWindowTitleBackground(); |
284 |
} |
} |
285 |
|
|
286 |
|
public static FontUIResource getWindowTitleFont() |
287 |
|
{ |
288 |
|
return theme.getWindowTitleFont(); |
289 |
|
} |
290 |
|
|
291 |
public static ColorUIResource getWindowTitleForeground() |
public static ColorUIResource getWindowTitleForeground() |
292 |
{ |
{ |
293 |
return theme.getWindowTitleForeground(); |
return theme.getWindowTitleForeground(); |