Package com.atlassian.confluence.themes
Class ChainedColourScheme
- java.lang.Object
-
- com.atlassian.confluence.themes.AbstractColourScheme
-
- com.atlassian.confluence.themes.ChainedColourScheme
-
- All Implemented Interfaces:
ColourScheme
public class ChainedColourScheme extends AbstractColourScheme
A simple colour scheme that looks through a list of colour schemes until it finds a matching colour (or null if none found).
-
-
Field Summary
-
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 ChainedColourScheme(List<ColourScheme> colourSchemes)
Creates a ChainedColourScheme that selects colours from the list ofColourScheme
s provided.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String colourName)
-
Methods inherited from class com.atlassian.confluence.themes.AbstractColourScheme
equals, get, hashCode, hslToRgb, isDefaultColourScheme, rgbToHsl
-
-
-
-
Constructor Detail
-
ChainedColourScheme
public ChainedColourScheme(List<ColourScheme> colourSchemes)
Creates a ChainedColourScheme that selects colours from the list ofColourScheme
s provided.- Parameters:
colourSchemes
- a list of colourSchemes, any nulls will be filtered out.
-
-