|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sciapp.common.gui.SkinManager
public class SkinManager
A SkinManager.
| Method Summary | |
|---|---|
String |
getCurrentTheme()
Returns the current theme. |
String[] |
getThemes()
Returns a list of themes. |
static SkinManager |
instance()
Returns the instance of SkinManager. |
void |
setMainComponent(Component c)
Sets the main component that will be used to update every time the LF changes. |
boolean |
setTheme(String themeName)
Sets the theme to themeName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getCurrentTheme()
public String[] getThemes()
public static SkinManager instance()
public void setMainComponent(Component c)
c - the main component to assign.public boolean setTheme(String themeName)
themeName.
themeName - the new theme to assign.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||