org.zkoss.zk.ui.util
Interface ThemeProvider
- All Known Implementing Classes:
- FontSizeThemeProvider
public interface ThemeProvider
Used to replace the theme defined in the language definitions
(lang.xml and lang-addon.xml) and the configuration
(the theme-uri elements in web.xml).
- Since:
- 3.0.0
- Author:
- tomyeh
|
Method Summary |
java.util.Collection |
getThemeURIs(Execution exec,
java.util.List uris)
Returns a list of the theme's URIs (Collection<String>) of the specified execution,
or null if no theme shall be generated. |
getThemeURIs
java.util.Collection getThemeURIs(Execution exec,
java.util.List uris)
- Returns a list of the theme's URIs (Collection<String>) of the specified execution,
or null if no theme shall be generated.
- Parameters:
exec - the current execution (never null), where you can retrieve
the current desktop, request and response.
Note: if your Web application supports multiple devices, you have
to check Desktop.getDevice().uris - the default set of theme's URIs (List<String>),
i.e., the themes defined in language definitions (lang.xml and lang-addon.xml)
and the configuration (the theme-uri elements in web.xml).
Each URI is a String instance.
- Returns:
- the collection of the theme's URIs (Collection<String>)
that the current desktop shall use.
Each URI is a String instance.
Copyright © 2005-2009 Potix Corporation. All Rights Reserved.