Package org.zkoss.web.theme
Class Theme
- java.lang.Object
-
- org.zkoss.web.theme.Theme
-
- Direct Known Subclasses:
StandardTheme
public abstract class Theme extends java.lang.Object
A Theme encapsulates theme-specific attributes. Each theme should have at least a name, which helps the web application to identify it. A Theme should be subclassed to define other attributes associated with concrete themes, such as file paths included in a theme, or variables that could be used to parameterize a theme.- Since:
- 6.5.2
- Author:
- Neil
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
void
setName(java.lang.String themeName)
Rename the themejava.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- name used to identify the theme
-
setName
public void setName(java.lang.String themeName)
Rename the theme- Parameters:
themeName
- new name used by the theme
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- name of the theme
-
-