org.jboss.seam.theme
Class Theme

java.lang.Object
  extended by org.jboss.seam.theme.Theme

@Scope(value=STATELESS)
@BypassInterceptors
@Name(value="org.jboss.seam.theme.themeFactory")
@Install(precedence=0)
public class Theme
extends java.lang.Object

Factory for a Map of resources that may be used for skinning the user interface.

Author:
Gavin King

Constructor Summary
Theme()
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.String> createMap()
           
 java.util.Map getTheme()
          Create a Map in the event scope.
static java.util.Map instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Theme

public Theme()
Method Detail

createMap

protected java.util.Map<java.lang.String,java.lang.String> createMap()

getTheme

@Factory(value="org.jboss.seam.theme.theme",
         autoCreate=true,
         scope=EVENT)
public java.util.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 java.util.Map instance()


Copyright © 2011 Seam Framework. All Rights Reserved.