|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.themes.DefaultTheme
public class DefaultTheme
Represents the default Confluence theme with stylesheets.
| Field Summary | |
|---|---|
static java.lang.String |
PLUGIN_KEY
|
static java.lang.String |
STYLESHEET_MODULE_KEY
|
static java.lang.String |
STYLESHEET_NAME
|
| Method Summary | |
|---|---|
ColourScheme |
getColourScheme()
Returns null because this object doesn't represent a colour scheme. |
ThemedDecorator |
getDecorator(java.lang.String path)
Returns null because this object doesn't attempt to list the default decorators, which are still loaded directly from the classpath. |
static Theme |
getInstance()
|
java.lang.String |
getPluginKey()
Return the key of the plugin which includes this theme. |
java.util.Collection<? extends ThemeStylesheet> |
getStylesheets()
Return the stylesheets for the theme. |
void |
init(ThemeModuleDescriptor moduleDescriptor)
|
boolean |
isIncludeClassicStyles()
Controls whether Confluence's 2.5 default styles will be included when rendering a theme stylesheet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STYLESHEET_NAME
public static final java.lang.String PLUGIN_KEY
public static final java.lang.String STYLESHEET_MODULE_KEY
| Method Detail |
|---|
public ColourScheme getColourScheme()
getColourScheme in interface Themepublic ThemedDecorator getDecorator(java.lang.String path)
getDecorator in interface Themepublic java.util.Collection<? extends ThemeStylesheet> getStylesheets()
Theme
getStylesheets in interface ThemeThemeStylesheets representing custom stylesheets for this theme,
or an empty list if none exist.public void init(ThemeModuleDescriptor moduleDescriptor)
init in interface Themepublic java.lang.String getPluginKey()
Theme
getPluginKey in interface Themepublic boolean isIncludeClassicStyles()
ThemeStylesheetAction 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.
isIncludeClassicStyles in interface Themepublic static Theme getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||