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