Class ThemeResources
- java.lang.Object
-
- 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
Constructors Constructor Description ThemeResources(boolean production)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addScript(ThemeScript script, boolean exclude)
boolean
addStyle(ThemeStyle style, boolean exclude)
List<ThemeScript>
getScriptList()
List<ThemeStyle>
getStyleList()
boolean
isProduction()
void
merge(ThemeResources toAddResources)
-
-
-
Method Detail
-
merge
public void merge(ThemeResources toAddResources)
-
isProduction
public boolean isProduction()
-
addScript
public boolean addScript(ThemeScript script, boolean exclude)
-
addStyle
public boolean addStyle(ThemeStyle style, boolean exclude)
-
getScriptList
public List<ThemeScript> getScriptList()
-
getStyleList
public List<ThemeStyle> getStyleList()
-
-