public class DefaultColourSchemeManager extends Object implements ColourSchemeManager
| Constructor and Description |
|---|
DefaultColourSchemeManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColourSchemeSetting(Space space) |
ColourScheme |
getDefaultColourScheme()
Retrieve only the default color scheme, useful for the superbatch.
|
ColourScheme |
getGlobalColourScheme()
Method returns a ChainedColour Scheme.
|
ColourScheme |
getGlobalColourSchemeCustom()
Retrieve the global colour scheme for editing - with system defaults.
|
BaseColourScheme |
getGlobalColourSchemeIsolated()
Retrieve the isolated global colour scheme for editing - no global defaults.
|
SettingsManager |
getSettingsManager() |
ColourScheme |
getSpaceColourScheme(Space space)
Retrieve the colour scheme for a space - for display, complete with global defaults.
|
ColourScheme |
getSpaceColourScheme(String spaceKey)
Method returns a ChainedColour Scheme for a specific space.
|
ColourScheme |
getSpaceColourSchemeCustom(String spaceKey)
Retrieve the custom colour scheme for a space - for editing, complete with global defaults and system defaults.
|
BaseColourScheme |
getSpaceColourSchemeIsolated(String spaceKey)
Retrieve the isolated colour scheme for a space for editing - no global defaults.
|
ColourScheme |
getSpaceThemeColourScheme(String spaceKey) |
ColourScheme |
getThemeColourScheme() |
void |
resetColourScheme(Space space) |
void |
saveGlobalColourScheme(BaseColourScheme colourScheme) |
void |
saveSpaceColourScheme(Space space,
BaseColourScheme colourScheme) |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) |
void |
setColourSchemeSetting(Space space,
String value) |
void |
setEventManager(com.atlassian.event.EventManager eventManager) |
void |
setSettingsManager(SettingsManager settingsManager) |
void |
setThemeManager(ThemeManager themeManager) |
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setThemeManager(ThemeManager themeManager)
public ColourScheme getDefaultColourScheme()
ColourSchemeManagergetDefaultColourScheme in interface ColourSchemeManagerpublic ColourScheme getSpaceColourScheme(Space space)
ColourSchemeManagerFor editing, use ColourSchemeManager.getSpaceColourScheme(String) ()}.
getSpaceColourScheme in interface ColourSchemeManagerpublic ColourScheme getSpaceColourScheme(String spaceKey)
getSpaceColourScheme in interface ColourSchemeManagerpublic ColourScheme getGlobalColourScheme()
getGlobalColourScheme in interface ColourSchemeManagerpublic ColourScheme getThemeColourScheme()
getThemeColourScheme in interface ColourSchemeManagerpublic ColourScheme getSpaceThemeColourScheme(String spaceKey)
getSpaceThemeColourScheme in interface ColourSchemeManagerpublic BaseColourScheme getSpaceColourSchemeIsolated(String spaceKey)
ColourSchemeManagerFor display, use ColourSchemeManager.getSpaceColourScheme(com.atlassian.confluence.spaces.Space).
getSpaceColourSchemeIsolated in interface ColourSchemeManagerColourScheme that does not have any backing ColourSchemes.public ColourScheme getSpaceColourSchemeCustom(String spaceKey)
ColourSchemeManagergetSpaceColourSchemeCustom in interface ColourSchemeManagerpublic BaseColourScheme getGlobalColourSchemeIsolated()
ColourSchemeManagerFor display, use ColourSchemeManager.getGlobalColourScheme().
getGlobalColourSchemeIsolated in interface ColourSchemeManagerColourScheme that does not have any backing ColourSchemes.public ColourScheme getGlobalColourSchemeCustom()
ColourSchemeManagergetGlobalColourSchemeCustom in interface ColourSchemeManagerpublic void resetColourScheme(Space space)
resetColourScheme in interface ColourSchemeManagerpublic void saveSpaceColourScheme(Space space, BaseColourScheme colourScheme)
saveSpaceColourScheme in interface ColourSchemeManagerpublic void saveGlobalColourScheme(BaseColourScheme colourScheme)
saveGlobalColourScheme in interface ColourSchemeManagerpublic void setColourSchemeSetting(Space space, String value)
setColourSchemeSetting in interface ColourSchemeManagerpublic String getColourSchemeSetting(Space space)
getColourSchemeSetting in interface ColourSchemeManagerpublic SettingsManager getSettingsManager()
public void setSettingsManager(SettingsManager settingsManager)
public void setEventManager(com.atlassian.event.EventManager eventManager)
Copyright © 2003–2019 Atlassian. All rights reserved.