org.apache.myfaces.tobago.context
Class ThemeResources

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

public final class ThemeResources
extends Object
implements Serializable

Manages the script and style files for production and development stage.

Since:
1.5.0
See Also:
Serialized Form

Constructor Summary
ThemeResources()
           
 
Method Summary
 boolean addScript(ThemeScript script)
           
 boolean addStyle(ThemeStyle style)
           
 List<ThemeScript> getScriptList()
           
 List<ThemeStyle> getStyleList()
           
 boolean isProduction()
           
 void merge(ThemeResources toAddResources)
           
 void setProduction(boolean production)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeResources

public ThemeResources()
Method Detail

merge

public void merge(ThemeResources toAddResources)

isProduction

public boolean isProduction()

setProduction

public void setProduction(boolean production)

addScript

public boolean addScript(ThemeScript script)

addStyle

public boolean addStyle(ThemeStyle style)

getScriptList

public List<ThemeScript> getScriptList()

getStyleList

public List<ThemeStyle> getStyleList()


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