|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.LookAndFeel
|
+--javax.swing.plaf.basic.BasicLookAndFeel
|
+--com.l2fprod.gui.plaf.skin.SkinLookAndFeel
Skin Look And Feel Main Class.
Use this class to set the current skin or to load skins.
See L2FProd.com website for
the complete description of a theme pack.
| Field Summary | |
static java.lang.String |
VERSION
|
| Constructor Summary | |
SkinLookAndFeel()
|
|
| Method Summary | |
static void |
checkRequiredVersion(java.lang.String required)
|
java.lang.String |
getDescription()
|
java.lang.String |
getID()
|
java.lang.String |
getName()
|
static Skin |
getSkin()
Return the current skin. |
boolean |
isNativeLookAndFeel()
|
boolean |
isSupportedLookAndFeel()
|
static Skin |
loadDefaultThemePack()
Load the default theme pack. Skin Look And Feel will look for the resource file named skinlf-themepack.xml
in the user classpath (using SkinLookAndFeel.class.getResource("/skinlf-themepack.xml")). |
static Skin |
loadSkin(java.lang.String filename)
Load a skin from the given filename. SkinLF will use the filename to guess which theme to instanciate |
static Skin |
loadSkin(java.net.URL url)
Load a skin from the given url. SkinLF will use the url filename to guess which theme to instanciate |
static Skin |
loadThemePack(java.lang.String filename)
Load a Theme Pack from the given zip file. |
static Skin |
loadThemePack(java.net.URL url)
Load a Theme Pack from the given zip url. |
static Skin |
loadThemePackDefinition(java.net.URL url)
Load a Theme Pack from the given theme pack definition. |
static void |
setSkin(Skin skin)
Set the skin used by the Skin Look And Feel |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
getDefaults |
| Methods inherited from class javax.swing.LookAndFeel |
getDesktopPropertyValue, getSupportsWindowDecorations, initialize, installBorder, installColors, installColorsAndFont, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninitialize, uninstallBorder |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String VERSION
| Constructor Detail |
public SkinLookAndFeel()
| Method Detail |
public java.lang.String getName()
getName in class javax.swing.LookAndFeelpublic java.lang.String getDescription()
getDescription in class javax.swing.LookAndFeelpublic java.lang.String getID()
getID in class javax.swing.LookAndFeelpublic boolean isNativeLookAndFeel()
isNativeLookAndFeel in class javax.swing.LookAndFeelpublic boolean isSupportedLookAndFeel()
isSupportedLookAndFeel in class javax.swing.LookAndFeelpublic static void setSkin(Skin skin)
skin - a skinpublic static Skin getSkin()
public static Skin loadSkin(java.lang.String filename)
throws java.lang.Exception
filename - the given filename
java.lang.Exception
public static Skin loadSkin(java.net.URL url)
throws java.lang.Exception
java.lang.Exception
public static Skin loadDefaultThemePack()
throws java.lang.Exception
skinlf-themepack.xml
in the user classpath (using SkinLookAndFeel.class.getResource("/skinlf-themepack.xml")).
java.lang.Exception
public static Skin loadThemePack(java.lang.String filename)
throws java.lang.Exception
filename - the theme pack filename
java.lang.Exception
public static Skin loadThemePack(java.net.URL url)
throws java.lang.Exception
url - the theme pack url
java.lang.Exception
public static Skin loadThemePackDefinition(java.net.URL url)
throws java.lang.Exception
url - the theme pack definition url
java.lang.Exception
public static void checkRequiredVersion(java.lang.String required)
throws java.lang.Exception
java.lang.Exception
|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||