|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.util.ThemeManager
public class ThemeManager
Manages the libraries themes. The BLUE and GRAY themes are registered when the application is initialized.
Constructor Summary | |
---|---|
ThemeManager()
|
Method Summary | |
---|---|
static Theme |
findTheme(java.lang.String id)
Returns the theme with the given id. |
static Theme |
getTheme(int index)
Returns the theme at the given index. |
static java.util.List<Theme> |
getThemes()
Returns all registered themes. |
static void |
register(Theme theme)
Registers a theme. |
static void |
unregister(Theme theme)
Unregisters a theme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThemeManager()
Method Detail |
---|
public static Theme findTheme(java.lang.String id)
id
- the theme id
public static Theme getTheme(int index)
index
- the index
public static java.util.List<Theme> getThemes()
public static void register(Theme theme)
theme
- the theme to register.public static void unregister(Theme theme)
theme
- the theme to unregister
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |