|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.themes.FragmentedThemeStore
public class FragmentedThemeStore
Constructor Summary | |
---|---|
FragmentedThemeStore(DomApplication app,
byte[] tbytes,
JSTemplate stylesheetSource,
java.util.Map<java.lang.String,java.lang.Object> themeProperties,
java.util.List<java.lang.String> themeInheritanceStack,
java.util.List<java.lang.String> iconInheritanceStack,
ResourceDependencies deps)
|
Method Summary | |
---|---|
protected java.lang.String |
findIconURLUncached(java.lang.String icon)
Uncached search for an iconized image. |
ResourceDependencies |
getDependencies()
The dependencies for this theme instance. |
java.lang.String |
getIconURL(java.lang.String icon)
Locate the specified theme resource from the theme, and return the URL needed to get it. |
java.lang.String |
getStylesheet()
Returns the stylesheet RURL to include in every page. |
byte[] |
getStyleSheetBytes()
|
JSTemplate |
getStylesheetTemplate()
|
java.lang.String |
getThemePath(java.lang.String path)
Get a resource from the theme's inheritance path. |
java.util.Map<java.lang.String,java.lang.Object> |
getThemeProperties()
Return the read-only properties for a theme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FragmentedThemeStore(DomApplication app, byte[] tbytes, JSTemplate stylesheetSource, java.util.Map<java.lang.String,java.lang.Object> themeProperties, java.util.List<java.lang.String> themeInheritanceStack, java.util.List<java.lang.String> iconInheritanceStack, ResourceDependencies deps)
Method Detail |
---|
public byte[] getStyleSheetBytes()
public java.lang.String getStylesheet()
ITheme
getStylesheet
in interface ITheme
public ResourceDependencies getDependencies()
ITheme
getDependencies
in interface ITheme
public JSTemplate getStylesheetTemplate()
public java.util.Map<java.lang.String,java.lang.Object> getThemeProperties()
ITheme
getThemeProperties
in interface ITheme
@Nonnull public java.lang.String getIconURL(@Nonnull java.lang.String icon) throws java.lang.Exception
getIconURL
in interface ITheme
icon
-
java.lang.Exception
@Nullable protected java.lang.String findIconURLUncached(java.lang.String icon) throws java.lang.Exception
icon
-
java.lang.Exception
@Nullable public java.lang.String getThemePath(java.lang.String path) throws java.lang.Exception
ITheme
getThemePath
in interface ITheme
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |