| com.atlassian.confluence.themes.Theme |
Known Indirect Subclasses
|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the JavaScript resources for the theme.
| |||||||||||
Returns the module key of the theme plugin module, or null if this theme doesn't come
from a plugin.
| |||||||||||
Return the key of the plugin which includes this theme.
| |||||||||||
Return the stylesheets for the theme.
| |||||||||||
Initialise the theme details from the given theme module descriptor.
| |||||||||||
This method is deprecated.
Since 3.5. Themes should include their own stylesheets and not rely on Confluence's legacy styles.
| |||||||||||
Return the JavaScript resources for the theme.
ThemeResources representing custom JavaScript for this theme,
or an empty list if none exist.
Returns the module key of the theme plugin module, or null if this theme doesn't come from a plugin.
Return the key of the plugin which includes this theme. May return null if the theme doesn't come from a plugin.
Return the stylesheets for the theme.
ThemeResources representing custom stylesheets for this theme,
or an empty list if none exist.
Initialise the theme details from the given theme module descriptor.
This method is deprecated.
Since 3.5. Themes should include their own stylesheets and not rely on Confluence's legacy styles.
Controls whether Confluence's 2.5 default styles will be included when rendering a theme stylesheet.
Old themes (prior to 2.6) provided stylesheets to be used in conjuction with the default stylesheet in Confluence 2.5. To facilitate this, the com.atlassian.confluence.core.actions.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.