Package com.atlassian.confluence.themes
Class BaseColourScheme
- java.lang.Object
-
- com.atlassian.confluence.themes.AbstractColourScheme
-
- com.atlassian.confluence.themes.BaseColourScheme
-
- All Implemented Interfaces:
ColourScheme
,Serializable
public class BaseColourScheme extends AbstractColourScheme implements 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
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
colours
-
Fields inherited from interface com.atlassian.confluence.themes.ColourScheme
BORDER, BREADCRUMBS_TEXT, DEPRECATED_KEYS, HEADER_BUTTON_BASE_BACKGROUND, HEADER_BUTTON_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, SEARCH_FIELD_BACKGROUND, SEARCH_FIELD_TEXT, SPACE_NAME, TOP_BAR, TOP_BAR_MENU_ITEM_TEXT, TOP_BAR_MENU_SELECTED_BACKGROUND, TOP_BAR_MENU_SELECTED_TEXT
-
-
Constructor Summary
Constructors Constructor Description BaseColourScheme()
BaseColourScheme(ColourScheme colourScheme)
Copying Constructor.BaseColourScheme(Map colours)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String colourName)
void
set(String colourName, String value)
-
Methods inherited from class com.atlassian.confluence.themes.AbstractColourScheme
equals, get, hashCode, hslToRgb, isDefaultColourScheme, rgbToHsl
-
-
-
-
Constructor Detail
-
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)
-
-