Class ThemeImpl
java.lang.Object
org.apache.myfaces.tobago.context.ThemeImpl
- All Implemented Interfaces:
Serializable
,Theme
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTagDefault
(String tag, String attribute, String defaultValue) getName()
Deprecated.since 5.0.0getScriptResources
(boolean production) getStyleResources
(boolean production) getTagAttributeDefault
(Tags tag, String attribute) void
init()
void
lock()
Lock the configuration, so it cannot be modified any more.static ThemeImpl
void
void
void
setDisplayName
(String displayName) void
setFallback
(ThemeImpl fallback) void
setFallbackName
(String fallbackName) void
void
setVersion
(String version) toString()
-
Constructor Details
-
ThemeImpl
public ThemeImpl()
-
-
Method Details
-
merge
-
lock
public void lock()Lock the configuration, so it cannot be modified any more. -
getName
-
setName
-
getDisplayName
- Specified by:
getDisplayName
in interfaceTheme
-
setDisplayName
-
getFallback
-
setFallback
-
getFallbackName
-
setFallbackName
-
getFallbackList
- Specified by:
getFallbackList
in interfaceTheme
-
resolveFallbacks
public void resolveFallbacks() -
resolveResources
public void resolveResources() -
getResources
Deprecated.since 5.0.0 -
getDevelopmentResources
- Since:
- 5.0.0
-
getProductionResources
-
init
public void init() -
getScriptResources
- Specified by:
getScriptResources
in interfaceTheme
-
getStyleResources
- Specified by:
getStyleResources
in interfaceTheme
-
getVersion
- Specified by:
getVersion
in interfaceTheme
-
setVersion
-
addTagDefault
-
getTagAttributeDefault
- Specified by:
getTagAttributeDefault
in interfaceTheme
-
toString
-