|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.web.theme.Theme
public abstract class Theme
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.
Constructor Summary | |
---|---|
Theme()
Instantiate a theme |
|
Theme(java.lang.String themeName)
Instantiate a theme with the given name |
Method Summary | |
---|---|
java.lang.String |
getName()
|
void |
setName(java.lang.String themeName)
Rename the theme |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Theme()
public Theme(java.lang.String themeName)
themeName
- name used to identify the themeMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String themeName)
themeName
- new name used by the themepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |