|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.themes.AbstractColourScheme com.atlassian.confluence.themes.ChainedColourScheme
public class ChainedColourScheme
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, 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, SPACE_NAME, TOP_BAR, TOP_BAR_MENU_ITEM_TEXT, TOP_BAR_MENU_SELECTED_BACKGROUND, TOP_BAR_MENU_SELECTED_TEXT |
Constructor Summary | |
---|---|
ChainedColourScheme(java.util.List<ColourScheme> colourSchemes)
Creates a ChainedColourScheme that selects colours from the list of ColourScheme s provided. |
Method Summary | |
---|---|
java.lang.String |
get(java.lang.String colourName)
|
Methods inherited from class com.atlassian.confluence.themes.AbstractColourScheme |
---|
get, hslToRgb, rgbToHsl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedColourScheme(java.util.List<ColourScheme> colourSchemes)
ColourScheme
s provided.
colourSchemes
- a list of colourSchemes, any nulls will be filtered out.Method Detail |
---|
public java.lang.String get(java.lang.String colourName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |