|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Theme
Method Summary | |
---|---|
ColourScheme |
getColourScheme()
|
ThemedDecorator |
getDecorator(String path)
|
Collection<? extends ThemeResource> |
getJavascript()
Return the JavaScript resources for the theme. |
String |
getModuleKey()
Returns the module key of the theme plugin module, or null if this theme doesn't come from a plugin. |
String |
getPluginKey()
Return the key of the plugin which includes this theme. |
Collection<? extends ThemeResource> |
getStylesheets()
Return the stylesheets for the theme. |
void |
init(ThemeModuleDescriptor moduleDescriptor)
Initialise the theme details from the given theme module descriptor. |
boolean |
isIncludeClassicStyles()
Controls whether Confluence's 2.5 default styles will be included when rendering a theme stylesheet. |
Method Detail |
---|
ColourScheme getColourScheme()
ThemedDecorator getDecorator(String path)
Collection<? extends ThemeResource> getStylesheets()
ThemeResource
s representing custom stylesheets for this theme,
or an empty list if none exist.Collection<? extends ThemeResource> getJavascript()
ThemeResource
s representing custom JavaScript for this theme,
or an empty list if none exist.void init(ThemeModuleDescriptor moduleDescriptor)
String getPluginKey()
String getModuleKey()
boolean isIncludeClassicStyles()
StylesheetAction
continues to include
this "classic" stylesheet above theme stylesheets when this method returns true.
For new themes, it is recommended that stylesheets be independent of Confluence's styles. In this case, this
method returns false, and the StylesheetAction will only render the theme's stylesheet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |