当前页面: 
在线文档首页 > 
JBoss Seam  1.1.0 API 英文版文档
ThemeSelector (JBoss Seam API Documentation) - JBoss Seam  1.1.0 API 英文版文档
org.jboss.seam.theme
Class ThemeSelector
java.lang.Object
   org.jboss.seam.core.AbstractMutable
org.jboss.seam.core.AbstractMutable
       org.jboss.seam.theme.ThemeSelector
org.jboss.seam.theme.ThemeSelector
- All Implemented Interfaces: 
- Serializable, Mutable
- @Scope(value=SESSION)
@Name(value="org.jboss.seam.theme.themeSelector")
@Intercept(value=NEVER)
@Install(precedence=0)
public class ThemeSelector 
- extends AbstractMutable- implements Serializable
Selects the current user's theme
- Author:
- Gavin King
- See Also:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ThemeSelector
public ThemeSelector()
initDefaultTheme
@Create
public void initDefaultTheme()
- 
 
- 
 
select
public void select()
- 
 
- 
 
getThemes
public List<javax.faces.model.SelectItem> getThemes()
- 
 
- 
 
getTheme
public String getTheme()
- 
 
- 
 
setTheme
public void setTheme(String themeName)
- 
 
- 
 
setAvailableThemes
public void setAvailableThemes(String[] themeNames)
- 
 
- 
 
getThemeResourceBundle
public ResourceBundle getThemeResourceBundle()
- 
 
- 
 
instance
public static ThemeSelector instance()
- 
 
- 
 
getAvailableThemes
public String[] getAvailableThemes()
- 
 
- 
 
isCookieEnabled
public boolean isCookieEnabled()
- 
 
- 
 
setCookieEnabled
public void setCookieEnabled(boolean cookieEnabled)
- 
 
- 
 
getCookieMaxAge
protected int getCookieMaxAge()
- 
 
- 
 
setCookieMaxAge
protected void setCookieMaxAge(int cookieMaxAge)
- 
 
-