|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.l2fprod.gui.plaf.skin.impl.AbstractSkin
com.l2fprod.gui.plaf.skin.impl.kde.KdeSkin
public final class KdeSkin
KDE (The K Desktop Environment) Skin Support.
KdeSkin can be used in conjunction with a kde.themerc file.
You can find skins at:
SkinLookAndFeel.setSkin(new KdeSkin("c:\downloads\myskin\kde\kde.themerc"));
UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");
Field Summary |
---|
Fields inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkin |
---|
button, frame, personality, progress, resources, scrollbar, separator, slider, splitpane, tab |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
java.lang.String[] |
getColors()
Gets the Colors attribute of the KdeSkin object |
Methods inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkin |
---|
getButton, getFrame, getPersonality, getProgress, getResource, getScrollbar, getSeparator, getSlider, getSplitPane, getTab, initComponentDefaults, unload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KdeSkin(java.lang.String filename) throws java.lang.Exception
filename
- path to a kde (themerc) skin file
java.lang.Exception
- Description of Exceptionpublic KdeSkin(java.net.URL skinURL) throws java.lang.Exception
skinURL
- Description of Parameter
java.lang.Exception
- Description of Exceptionpublic KdeSkin(java.net.URL skinURL, java.io.InputStream input) throws java.lang.Exception
skinURL
- Description of Parameterinput
- Description of Parameter
java.lang.Exception
- Description of ExceptionMethod Detail |
---|
public java.lang.String[] getColors()
getColors
in interface Skin
getColors
in class AbstractSkin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |