|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.l2fprod.gui.plaf.skin.impl.AbstractSkin
|
+--com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin
GTK (The Gimp Toolkit) Skin Support.
GtkSkin can be used in conjunction with a gtkrc file.
You can find skins at:
SkinLookAndFeel.setSkin(new GtkSkin("c:\downloads\myskin\gtk\gtkrc"));
UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");
| Constructor Summary | |
GtkSkin(GtkParser parser)
|
|
GtkSkin(java.lang.String filename)
Construct a new GtkSkin using the given filename |
|
GtkSkin(java.net.URL url)
Construct a new GtkSkin using the given url |
|
| Method Summary | |
SkinButton |
getButton()
|
java.lang.String[] |
getColors()
|
static java.lang.String |
getDefaultSkinLocation()
Get the user's current GTK skin location. This could be used on a Linux platform. |
SkinFrame |
getFrame()
|
SkinPersonality |
getPersonality()
|
SkinProgress |
getProgress()
|
SkinScrollbar |
getScrollbar()
|
SkinSlider |
getSlider()
|
SkinTab |
getTab()
|
| Methods inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkin |
getResource, unload |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GtkSkin(java.lang.String filename)
throws java.lang.Exception
filename - path to a gtk skin (gtkrc) file
public GtkSkin(java.net.URL url)
throws java.lang.Exception
url - path to a gtk skin (gtkrc) filepublic GtkSkin(GtkParser parser) throws java.lang.Exception
| Method Detail |
public SkinPersonality getPersonality()
getPersonality in interface SkingetPersonality in class AbstractSkinpublic SkinButton getButton()
getButton in interface SkingetButton in class AbstractSkinpublic SkinFrame getFrame()
getFrame in interface SkingetFrame in class AbstractSkinpublic SkinTab getTab()
getTab in interface SkingetTab in class AbstractSkinpublic SkinProgress getProgress()
getProgress in interface SkingetProgress in class AbstractSkinpublic java.lang.String[] getColors()
getColors in interface SkingetColors in class AbstractSkinpublic SkinScrollbar getScrollbar()
getScrollbar in interface SkingetScrollbar in class AbstractSkinpublic SkinSlider getSlider()
getSlider in interface SkingetSlider in class AbstractSkin
public static java.lang.String getDefaultSkinLocation()
throws GtkSkinNotFoundException
GtkSkinNotFoundException
|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||