Class KdeSkin

java.lang.Object
com.l2fprod.gui.plaf.skin.impl.AbstractSkin
com.l2fprod.gui.plaf.skin.impl.kde.KdeSkin
All Implemented Interfaces:
Skin

public final class KdeSkin extends AbstractSkin
KDE (The K Desktop Environment) Skin Support.
KdeSkin can be used in conjunction with a kde.themerc file.
You can find skins at:
  • kde.themes.org

    Simply extract the skin file in a directory and use:

    SkinLookAndFeel.setSkin(new KdeSkin("c:\downloads\myskin\kde\kde.themerc"));
    UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");


    to enable skins in your application !



  • Author:
    fred
    • Constructor Details

      • KdeSkin

        public KdeSkin(String filename) throws Exception
        Construct a new KDE skin with the given filename
        Parameters:
        filename - path to a kde (themerc) skin file
        Throws:
        Exception - Description of Exception
      • KdeSkin

        public KdeSkin(URL skinURL) throws Exception
        Constructor for the KdeSkin object
        Parameters:
        skinURL - Description of Parameter
        Throws:
        Exception - Description of Exception
      • KdeSkin

        public KdeSkin(URL skinURL, InputStream input) throws Exception
        Constructor for the KdeSkin object
        Parameters:
        skinURL - Description of Parameter
        input - Description of Parameter
        Throws:
        Exception - Description of Exception
    • Method Details

      • getColors

        public String[] getColors()
        Gets the Colors attribute of the KdeSkin object
        Specified by:
        getColors in interface Skin
        Overrides:
        getColors in class AbstractSkin
        Returns:
        The Colors value