com.atlassian.confluence.themes
Class BaseColourScheme
java.lang.Object
com.atlassian.confluence.themes.BaseColourScheme
- All Implemented Interfaces:
- ColourScheme, Serializable
public class BaseColourScheme
- extends Object
- implements ColourScheme, Serializable
A Confluence L&F colour-scheme that is editable - colours are stored in a map in memory.
Generally this class should only be used when creating or editing colour-schemes,
the ColourSchemeManager
should be used when retrieving schemes to use.
- See Also:
- Serialized Form
Fields inherited from interface com.atlassian.confluence.themes.ColourScheme |
BORDER, BREADCRUMBS_TEXT, HEADING_TEXT, LINK, MENU_ITEM_SELECTED_BACKGROUND, MENU_ITEM_SELECTED_TEXT, MENU_ITEM_TEXT, MENU_SELECTED_BACKGROUND, NAV_BACKGROUND, NAV_SELECTED_BACKGROUND, NAV_SELECTED_TEXT, NAV_TEXT, ORDERED_KEYS, SPACE_NAME, TOP_BAR, TOP_BAR_MENU_ITEM_TEXT, TOP_BAR_MENU_SELECTED_BACKGROUND |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
colours
protected Map colours
BaseColourScheme
public BaseColourScheme()
BaseColourScheme
public BaseColourScheme(ColourScheme colourScheme)
- Copying Constructor. Allows a base colour scheme (that is editable due to setter methods) to be created from a
non-editable colour scheme (such as the default colour scheme)
- Parameters:
colourScheme
-
BaseColourScheme
public BaseColourScheme(Map colours)
set
public void set(String colourName,
String value)
get
public String get(String colourName)
- Specified by:
get
in interface ColourScheme