com.atlassian.confluence.themes
Class ChainedColourScheme

java.lang.Object
  extended by com.atlassian.confluence.themes.AbstractColourScheme
      extended by 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, 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
ChainedColourScheme(List<ColourScheme> colourSchemes)
          Creates a ChainedColourScheme that selects colours from the list of ColourSchemes provided.
 
Method Summary
 String get(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

ChainedColourScheme

public ChainedColourScheme(List<ColourScheme> colourSchemes)
Creates a ChainedColourScheme that selects colours from the list of ColourSchemes provided.

Parameters:
colourSchemes - a list of colourSchemes, any nulls will be filtered out.
Method Detail

get

public String get(String colourName)


Copyright © 2003–2015 Atlassian. All rights reserved.