org.apache.myfaces.tobago.context
Class ThemeImpl

java.lang.Object
  extended by org.apache.myfaces.tobago.context.ThemeImpl
All Implemented Interfaces:
Serializable, Theme

public class ThemeImpl
extends Object
implements Theme, Serializable

See Also:
Serialized Form

Constructor Summary
ThemeImpl()
           
 
Method Summary
 void addResources(ThemeResources resources)
           
 String getDeprecatedName()
           
 String getDisplayName()
           
 ThemeImpl getFallback()
           
 List<Theme> getFallbackList()
           
 String getFallbackName()
           
 String getName()
           
 ThemeResources getProductionResources()
           
 RenderersConfig getRenderersConfig()
          For internal use only.
 String getResourcePath()
           
 ThemeResources getResources()
           
 String[] getScriptResources(boolean production)
           
 String[] getStyleResources(boolean production)
           
 void init()
           
 void resolveFallbacks()
           
 void resolveRendererConfig(RenderersConfig rendererConfigFromTobagoConfig)
           
 void resolveResources()
           
 void setDeprecatedName(String deprecatedName)
           
 void setDisplayName(String displayName)
           
 void setFallback(ThemeImpl fallback)
           
 void setFallbackName(String fallbackName)
           
 void setName(String name)
           
 void setRenderersConfig(RenderersConfigImpl renderersConfig)
           
 void setResourcePath(String resourcePath)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThemeImpl

public ThemeImpl()
Method Detail

getName

public String getName()
Specified by:
getName in interface Theme

setName

public void setName(String name)

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface Theme

setDisplayName

public void setDisplayName(String displayName)

getDeprecatedName

public String getDeprecatedName()

setDeprecatedName

public void setDeprecatedName(String deprecatedName)

getResourcePath

public String getResourcePath()
Specified by:
getResourcePath in interface Theme

setResourcePath

public void setResourcePath(String resourcePath)

getFallback

public ThemeImpl getFallback()

setFallback

public void setFallback(ThemeImpl fallback)

getFallbackName

public String getFallbackName()

setFallbackName

public void setFallbackName(String fallbackName)

getFallbackList

public List<Theme> getFallbackList()
Specified by:
getFallbackList in interface Theme

resolveFallbacks

public void resolveFallbacks()

resolveRendererConfig

public void resolveRendererConfig(RenderersConfig rendererConfigFromTobagoConfig)

resolveResources

public void resolveResources()

toString

public String toString()
Overrides:
toString in class Object

setRenderersConfig

public void setRenderersConfig(RenderersConfigImpl renderersConfig)

getRenderersConfig

public RenderersConfig getRenderersConfig()
Description copied from interface: Theme
For internal use only.

Specified by:
getRenderersConfig in interface Theme

getResources

public ThemeResources getResources()

getProductionResources

public ThemeResources getProductionResources()

addResources

public void addResources(ThemeResources resources)

init

public void init()

getScriptResources

public String[] getScriptResources(boolean production)
Specified by:
getScriptResources in interface Theme

getStyleResources

public String[] getStyleResources(boolean production)
Specified by:
getStyleResources in interface Theme


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.