public final class GtkSkin extends AbstractSkin
SkinLookAndFeel.setSkin(new GtkSkin("c:\downloads\myskin\gtk\gtkrc"));
UIManager.setLookAndFeel("com.l2fprod.gui.plaf.skin.SkinLookAndFeel");
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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) |
getResource, getSeparator, unloadpublic GtkSkin(java.lang.String filename)
throws java.lang.Exception
filename - path to a gtk skin (gtkrc) filejava.lang.Exception - Description of Exceptionpublic GtkSkin(java.net.URL url)
throws java.lang.Exception
url - path to a gtk skin (gtkrc) filejava.lang.Exception - Description of Exceptionpublic GtkSkin(java.net.URL url,
java.io.InputStream input)
throws java.lang.Exception
url - Description of Parameterinput - Description of Parameterjava.lang.Exception - Description of Exceptionpublic GtkSkin(GtkParser parser) throws java.lang.Exception
parser - Description of Parameterjava.lang.Exception - Description of Exceptionpublic 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 AbstractSkinpublic static java.lang.String getDefaultSkinLocation()
throws GtkSkinNotFoundException
GtkSkinNotFoundException - Description of Exception