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()ThemeResources(boolean production)Deprecated.since 5.0.0
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanaddExcludeScript(ThemeScript script)booleanaddExcludeStyle(ThemeStyle style)booleanaddIncludeScript(ThemeScript script)booleanaddIncludeStyle(ThemeStyle style)booleanaddScript(ThemeScript script, boolean exclude)Deprecated.booleanaddStyle(ThemeStyle style, boolean exclude)Deprecated.List<ThemeScript>getScriptList()List<ThemeStyle>getStyleList()booleanisProduction()Deprecated.since 5.0.0voidmerge(ThemeResources fallback)Deprecated.since 5.0.0, use staticmerge(org.apache.myfaces.tobago.context.ThemeResources)static ThemeResourcesmerge(ThemeResources base, ThemeResources add)
-
-
-
Constructor Detail
-
ThemeResources
public ThemeResources()
-
ThemeResources
@Deprecated public ThemeResources(boolean production)
Deprecated.since 5.0.0
-
-
Method Detail
-
merge
@Deprecated public void merge(ThemeResources fallback)
Deprecated.since 5.0.0, use staticmerge(org.apache.myfaces.tobago.context.ThemeResources)
-
merge
public static ThemeResources merge(ThemeResources base, ThemeResources add)
- Since:
- 5.0.0
-
isProduction
@Deprecated public boolean isProduction()
Deprecated.since 5.0.0
-
addIncludeScript
public boolean addIncludeScript(ThemeScript script)
- Since:
- 5.0.0
-
addExcludeScript
public boolean addExcludeScript(ThemeScript script)
- Since:
- 5.0.0
-
addScript
@Deprecated public boolean addScript(ThemeScript script, boolean exclude)
Deprecated.
-
addIncludeStyle
public boolean addIncludeStyle(ThemeStyle style)
- Since:
- 5.0.0
-
addExcludeStyle
public boolean addExcludeStyle(ThemeStyle style)
- Since:
- 5.0.0
-
addStyle
@Deprecated public boolean addStyle(ThemeStyle style, boolean exclude)
Deprecated.
-
getScriptList
public List<ThemeScript> getScriptList()
-
getStyleList
public List<ThemeStyle> getStyleList()
-
-