|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.themes.DefaultColourSchemeManager
public class DefaultColourSchemeManager
Constructor Summary | |
---|---|
DefaultColourSchemeManager()
|
Method Summary | |
---|---|
java.lang.String |
getColourSchemeSetting(Space space)
|
ColourScheme |
getGlobalColourScheme()
Method returns a ChainedColour Scheme. |
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(java.lang.String spaceKey)
Method returns a ChainedColour Scheme for a specific space. |
BaseColourScheme |
getSpaceColourSchemeIsolated(java.lang.String spaceKey)
Retrieve the isolated colour scheme for a space for editing - no global defaults. |
ColourScheme |
getSpaceThemeColourScheme(java.lang.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,
java.lang.String value)
|
void |
setEventManager(com.atlassian.event.EventManager eventManager)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
setThemeManager(ThemeManager themeManager)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultColourSchemeManager()
Method Detail |
---|
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setThemeManager(ThemeManager themeManager)
public ColourScheme getSpaceColourScheme(Space space)
ColourSchemeManager
For editing, use ColourSchemeManager.getSpaceColourScheme(String)
()}.
getSpaceColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceColourScheme(java.lang.String spaceKey)
getSpaceColourScheme
in interface ColourSchemeManager
public ColourScheme getGlobalColourScheme()
getGlobalColourScheme
in interface ColourSchemeManager
public ColourScheme getThemeColourScheme()
getThemeColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceThemeColourScheme(java.lang.String spaceKey)
getSpaceThemeColourScheme
in interface ColourSchemeManager
public BaseColourScheme getSpaceColourSchemeIsolated(java.lang.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 BaseColourScheme getGlobalColourSchemeIsolated()
ColourSchemeManager
For display, use ColourSchemeManager.getGlobalColourScheme()
.
getGlobalColourSchemeIsolated
in interface ColourSchemeManager
ColourScheme
that does not have any backing ColourScheme
s.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, java.lang.String value)
setColourSchemeSetting
in interface ColourSchemeManager
public java.lang.String getColourSchemeSetting(Space space)
getColourSchemeSetting
in interface ColourSchemeManager
public SettingsManager getSettingsManager()
public void setSettingsManager(SettingsManager settingsManager)
public void setEventManager(com.atlassian.event.EventManager eventManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |