|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.theme.ThemeFactory
public class ThemeFactory
Factory class responsible for setting up the Sun Web Component application's ThemeManager.
Field Summary | |
---|---|
static java.lang.String |
CLASSMAPPER
|
static java.lang.String |
COMPONENTS_SECTION
|
static java.lang.String |
DEFAULT
|
static java.lang.String |
DEFAULT_THEME
The init parameter name used to set the default theme name. |
static java.lang.String |
FILENAME
|
static java.lang.String |
IMAGES
|
static java.lang.String |
JSFILES
|
static java.lang.String |
MANIFEST
|
static java.lang.String |
MESSAGES
|
static java.lang.String |
MESSAGES_PARAM
The init parameter name used to override the default message bundle location. |
static java.lang.String |
NAME
|
static java.lang.String |
PREFIX
|
static java.lang.String |
STYLESHEETS
|
static java.lang.String |
THEME_SECTION
|
static java.lang.String |
THEME_VERSION
|
static java.lang.String |
THEME_VERSION_REQUIRED
|
Method Summary | |
---|---|
java.util.Iterator |
getThemeAttributes()
|
static ThemeManager |
initializeThemeManager(javax.faces.context.ExternalContext context)
Initializes a ThemeManager based on an External Context. |
static ThemeManager |
initializeThemeManager(javax.servlet.ServletContext context,
java.util.Set locales)
This method initializes the ThemeManager for the Sun Web Component's application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_THEME
public static final java.lang.String MESSAGES_PARAM
public static final java.lang.String MANIFEST
public static final java.lang.String FILENAME
public static final java.lang.String COMPONENTS_SECTION
public static final java.lang.String THEME_SECTION
public static final java.lang.String THEME_VERSION_REQUIRED
public static final java.lang.String THEME_VERSION
public static final java.lang.String NAME
public static final java.lang.String PREFIX
public static final java.lang.String DEFAULT
public static final java.lang.String STYLESHEETS
public static final java.lang.String JSFILES
public static final java.lang.String CLASSMAPPER
public static final java.lang.String IMAGES
public static final java.lang.String MESSAGES
Method Detail |
---|
public static ThemeManager initializeThemeManager(javax.servlet.ServletContext context, java.util.Set locales)
context
- the ServletContext in which the applicationlocales
- a Set of locales supported by the application
If this parameter is null, the supported locales will be
retrieved from the JSF runtime.
is runningpublic static ThemeManager initializeThemeManager(javax.faces.context.ExternalContext context)
context
- The ExternalContext used to access Session and Context attributes
public java.util.Iterator getThemeAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |