org.jboss.seam.theme
Class Theme
java.lang.Object
org.jboss.seam.theme.Theme
@Scope(value=STATELESS)
@BypassInterceptors
@Name(value="org.jboss.seam.theme.themeFactory")
@Install(precedence=0)
public class Theme
- extends Object
Factory for a Map of resources that may be used for skinning the user
interface.
- Author:
- Gavin King
Constructor Summary |
Theme()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Theme
public Theme()
createMap
protected Map<String,String> createMap()
getTheme
@Factory(value="org.jboss.seam.theme.theme",
autoCreate=true,
scope=EVENT)
public Map getTheme()
- Create a Map in the event scope. When the theme is changed, ThemeSelector
is responsible for removing the Map from the event context.
instance
public static Map instance()
Copyright © 2011 Seam Framework. All Rights Reserved.