com.sun.rave.web.ui.util
Class ThemeUtilities

java.lang.Object
  extended by com.sun.rave.web.ui.util.ThemeUtilities

public class ThemeUtilities
extends java.lang.Object

Utilities needed by Sun Web Components to retrieve an appropriate Theme.


Constructor Summary
ThemeUtilities()
           
 
Method Summary
static Theme getTheme(javax.faces.context.FacesContext context)
          Use this method to retrieve a named Theme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeUtilities

public ThemeUtilities()
Method Detail

getTheme

public static Theme getTheme(javax.faces.context.FacesContext context)
Use this method to retrieve a named Theme.

Parameters:
context - The FacesContext for the request.
Returns:
A Locale-specific Theme