public class SkinUtils
extends java.lang.Object
Constructor and Description |
---|
SkinUtils() |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
loadColor(java.util.Properties skinProperties,
java.lang.String colorPropertyName)
Loads a skin property setting for a color.
|
javax.swing.ImageIcon |
loadIcon(java.util.Properties skinProperties,
java.lang.String iconPathPropertyName)
Loads a skin property setting for an icon image.
|
public java.awt.Color loadColor(java.util.Properties skinProperties, java.lang.String colorPropertyName)
skinProperties
- contains skin property settings.colorPropertyName
- the name of the property expected to contain a color value.public javax.swing.ImageIcon loadIcon(java.util.Properties skinProperties, java.lang.String iconPathPropertyName)
skinProperties
- contains skin property settings.iconPathPropertyName
- the name of the property expected to contain the path to an icon image resource.