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()
ColourSchemeManager
getDefaultColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceColourScheme(Space space)
ColourSchemeManager
For editing, use ColourSchemeManager.getSpaceColourScheme(String)
()}.
getSpaceColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceColourScheme(String spaceKey)
getSpaceColourScheme
in interface ColourSchemeManager
public ColourScheme getGlobalColourScheme()
getGlobalColourScheme
in interface ColourSchemeManager
public ColourScheme getThemeColourScheme()
getThemeColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceThemeColourScheme(String spaceKey)
getSpaceThemeColourScheme
in interface ColourSchemeManager
public BaseColourScheme getSpaceColourSchemeIsolated(String spaceKey)
ColourSchemeManager
For display, use ColourSchemeManager.getSpaceColourScheme(com.atlassian.confluence.spaces.Space)
.
getSpaceColourSchemeIsolated
in interface ColourSchemeManager
ColourScheme
that does not have any backing ColourScheme
s.public ColourScheme getSpaceColourSchemeCustom(String spaceKey)
ColourSchemeManager
getSpaceColourSchemeCustom
in interface ColourSchemeManager
public BaseColourScheme getGlobalColourSchemeIsolated()
ColourSchemeManager
For display, use ColourSchemeManager.getGlobalColourScheme()
.
getGlobalColourSchemeIsolated
in interface ColourSchemeManager
ColourScheme
that does not have any backing ColourScheme
s.public ColourScheme getGlobalColourSchemeCustom()
ColourSchemeManager
getGlobalColourSchemeCustom
in interface ColourSchemeManager
public void resetColourScheme(Space space)
resetColourScheme
in interface ColourSchemeManager
public void saveSpaceColourScheme(Space space, BaseColourScheme colourScheme)
saveSpaceColourScheme
in interface ColourSchemeManager
public void saveGlobalColourScheme(BaseColourScheme colourScheme)
saveGlobalColourScheme
in interface ColourSchemeManager
public void setColourSchemeSetting(Space space, String value)
setColourSchemeSetting
in interface ColourSchemeManager
public String getColourSchemeSetting(Space space)
getColourSchemeSetting
in interface ColourSchemeManager
public SettingsManager getSettingsManager()
public void setSettingsManager(SettingsManager settingsManager)
public void setEventManager(com.atlassian.event.EventManager eventManager)
Copyright © 2003–2017 Atlassian. All rights reserved.