|
||||||||||
| 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.gtk.GtkSkin
public final class 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");
| 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 | |
|---|---|
GtkSkin(GtkParser parser)
Constructor for the GtkSkin object |
|
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 |
|
GtkSkin(java.net.URL url,
java.io.InputStream input)
Constructor for the GtkSkin object |
|
| Method Summary | |
|---|---|
SkinButton |
getButton()
Gets the Button attribute of the GtkSkin object |
java.lang.String[] |
getColors()
Gets the Colors attribute of the GtkSkin object |
static java.lang.String |
getDefaultSkinLocation()
Get the user's current GTK skin location. This could be used on a Linux platform. |
SkinFrame |
getFrame()
Gets the Frame attribute of the GtkSkin object |
SkinPersonality |
getPersonality()
Gets the Personality attribute of the GtkSkin object |
SkinProgress |
getProgress()
Gets the Progress attribute of the GtkSkin object |
SkinScrollbar |
getScrollbar()
Gets the Scrollbar attribute of the GtkSkin object |
SkinSlider |
getSlider()
Gets the Slider attribute of the GtkSkin object |
SkinSplitPane |
getSplitPane()
Gets the SplitPane attribute of the GtkSkin object |
SkinTab |
getTab()
Gets the Tab attribute of the GtkSkin object |
void |
initComponentDefaults(javax.swing.UIDefaults table)
|
| Methods inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkin |
|---|
getResource, getSeparator, unload |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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
java.lang.Exception - Description of Exception
public GtkSkin(java.net.URL url)
throws java.lang.Exception
url - path to a gtk skin (gtkrc) file
java.lang.Exception - Description of Exception
public GtkSkin(java.net.URL url,
java.io.InputStream input)
throws java.lang.Exception
url - Description of Parameterinput - Description of Parameter
java.lang.Exception - Description of Exceptionpublic GtkSkin(GtkParser parser) throws java.lang.Exception
parser - Description of Parameter
java.lang.Exception - Description of 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 SkinSplitPane getSplitPane()
getSplitPane in interface SkingetSplitPane in class AbstractSkinpublic SkinSlider getSlider()
getSlider in interface SkingetSlider in class AbstractSkinpublic void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults in interface SkininitComponentDefaults in class AbstractSkin
public static java.lang.String getDefaultSkinLocation()
throws GtkSkinNotFoundException
GtkSkinNotFoundException - Description of Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||