Package | Description |
---|---|
org.zkoss.web.theme | |
org.zkoss.zul.theme |
Modifier and Type | Field and Description |
---|---|
static StandardTheme.ThemeOrigin |
StandardTheme.DEFAULT_ORIGIN
Origin of the default theme.
|
Modifier and Type | Method and Description |
---|---|
StandardTheme.ThemeOrigin |
StandardTheme.getOrigin() |
static StandardTheme.ThemeOrigin |
StandardTheme.ThemeOrigin.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardTheme.ThemeOrigin[] |
StandardTheme.ThemeOrigin.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
StandardTheme(java.lang.String themeName,
StandardTheme.ThemeOrigin origin)
Instantiate a standard theme
|
StandardTheme(java.lang.String themeName,
java.lang.String displayName,
int priority,
StandardTheme.ThemeOrigin origin)
Instantiate a standard theme
|
Modifier and Type | Method and Description |
---|---|
static void |
Themes.register(java.lang.String themeName,
StandardTheme.ThemeOrigin origin)
Register the theme, and specifies its origin (e.g. from JAR or from FOLDER)
Please use
Themes.register("custom", Themes.ThemeOrigin.FOLDER)
to make your custom theme available if the theme resource is inside a folder |
static void |
Themes.register(java.lang.String themeName,
java.lang.String displayName,
int priority,
StandardTheme.ThemeOrigin origin)
Register the theme, its display name, its priority; and also specifies
its origin (e.g. from JAR or from FOLDER).
|
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.