Skin
public final class KdeSkin extends AbstractSkin
SkinLookAndFeel.setSkin(new KdeSkin("c:\downloads\myskin\kde\kde.themerc"));
UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");
Constructor | Description |
---|---|
KdeSkin(java.lang.String filename) |
Construct a new KDE skin with the given filename
|
KdeSkin(java.net.URL skinURL) |
Constructor for the KdeSkin object
|
KdeSkin(java.net.URL skinURL,
java.io.InputStream input) |
Constructor for the KdeSkin object
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getColors() |
Gets the Colors attribute of the KdeSkin object
|
getButton, getFrame, getPersonality, getProgress, getResource, getScrollbar, getSeparator, getSlider, getSplitPane, getTab, initComponentDefaults, unload
public KdeSkin(java.lang.String filename) throws java.lang.Exception
filename
- path to a kde (themerc) skin filejava.lang.Exception
- Description of Exceptionpublic KdeSkin(java.net.URL skinURL) throws java.lang.Exception
skinURL
- Description of Parameterjava.lang.Exception
- Description of Exceptionpublic KdeSkin(java.net.URL skinURL, java.io.InputStream input) throws java.lang.Exception
skinURL
- Description of Parameterinput
- Description of Parameterjava.lang.Exception
- Description of Exceptionpublic java.lang.String[] getColors()
getColors
in interface Skin
getColors
in class AbstractSkin