|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zul.theme.DesktopThemeRegistry
public class DesktopThemeRegistry
A standard implementation of ThemeRegistry, used in ZK CE/PE Used to keep track of a list of available desktop themes to apply
Constructor Summary | |
---|---|
DesktopThemeRegistry()
Initialize the registry with the default theme (a.k.a Breeze). |
Method Summary | |
---|---|
boolean |
deregister(Theme theme)
Remove a theme from the list of available desktop themes |
Theme |
getTheme(java.lang.String themeName)
Returns the desktop theme with the given name |
Theme[] |
getThemes()
Returns a list of currently registered desktop themes |
boolean |
hasTheme(java.lang.String themeName)
Check if a dekstop theme with the given name is available to use |
boolean |
register(Theme theme)
Register a desktop theme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DesktopThemeRegistry()
Method Detail |
---|
public boolean register(Theme theme)
register
in interface ThemeRegistry
theme
- an instance of StandardTheme
public boolean deregister(Theme theme)
deregister
in interface ThemeRegistry
theme
- the theme to be removed
public Theme[] getThemes()
getThemes
in interface ThemeRegistry
public boolean hasTheme(java.lang.String themeName)
hasTheme
in interface ThemeRegistry
themeName
- the name of the theme
public Theme getTheme(java.lang.String themeName)
getTheme
in interface ThemeRegistry
themeName
- theme name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |