public final class ThemeResources extends Object implements Serializable
Constructor and Description |
---|
ThemeResources() |
ThemeResources(boolean production)
Deprecated.
since 5.0.0
|
Modifier and Type | Method and Description |
---|---|
boolean |
addExcludeScript(ThemeScript script) |
boolean |
addExcludeStyle(ThemeStyle style) |
boolean |
addIncludeScript(ThemeScript script) |
boolean |
addIncludeStyle(ThemeStyle style) |
boolean |
addScript(ThemeScript script,
boolean exclude)
Deprecated.
|
boolean |
addStyle(ThemeStyle style,
boolean exclude)
Deprecated.
|
List<ThemeScript> |
getScriptList() |
List<ThemeStyle> |
getStyleList() |
boolean |
isProduction()
Deprecated.
since 5.0.0
|
void |
merge(ThemeResources fallback)
Deprecated.
since 5.0.0, use static
merge(org.apache.myfaces.tobago.context.ThemeResources) |
static ThemeResources |
merge(ThemeResources base,
ThemeResources add) |
public ThemeResources()
@Deprecated public ThemeResources(boolean production)
@Deprecated public void merge(ThemeResources fallback)
merge(org.apache.myfaces.tobago.context.ThemeResources)
public static ThemeResources merge(ThemeResources base, ThemeResources add)
@Deprecated public boolean isProduction()
public boolean addIncludeScript(ThemeScript script)
public boolean addExcludeScript(ThemeScript script)
@Deprecated public boolean addScript(ThemeScript script, boolean exclude)
addIncludeScript(org.apache.myfaces.tobago.context.ThemeScript)
or addExcludeScript(org.apache.myfaces.tobago.context.ThemeScript)
public boolean addIncludeStyle(ThemeStyle style)
public boolean addExcludeStyle(ThemeStyle style)
@Deprecated public boolean addStyle(ThemeStyle style, boolean exclude)
addIncludeStyle(org.apache.myfaces.tobago.context.ThemeStyle)
or addExcludeStyle(org.apache.myfaces.tobago.context.ThemeStyle)
public List<ThemeScript> getScriptList()
public List<ThemeStyle> getStyleList()
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.