|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.themes.BasicTheme
public class BasicTheme
A theme that is loaded from a Confluence plugin.
| Constructor Summary | |
|---|---|
BasicTheme()
|
|
| 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()
Deprecated. Since 3.5. Themes should include their own stylesheets and not rely on Confluence's legacy styles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicTheme()
| Method Detail |
|---|
public ColourScheme getColourScheme()
getColourScheme in interface Themepublic ThemedDecorator getDecorator(String path)
getDecorator in interface Themepublic Collection<? extends ThemeResource> getStylesheets()
Theme
getStylesheets in interface ThemeThemeResources representing custom stylesheets for this theme,
or an empty list if none exist.public Collection<? extends ThemeResource> getJavascript()
Theme
getJavascript in interface ThemeThemeResources representing custom JavaScript for this theme,
or an empty list if none exist.public String getPluginKey()
Theme
getPluginKey in interface Theme@Deprecated public boolean isIncludeClassicStyles()
isIncludeClassicStyles in interface Themepublic void init(ThemeModuleDescriptor moduleDescriptor)
Theme
init in interface Themepublic String getModuleKey()
Theme
getModuleKey in interface Theme
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||