|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jets3t.gui.skins.SkinUtils
Utility methods for loading skin resources from settings in skin properties.
| Constructor Summary | |
SkinUtils()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SkinUtils()
| Method Detail |
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||