com.atlassian.confluence.themes
Class ChainedColourScheme

java.lang.Object
  extended by com.atlassian.confluence.themes.ChainedColourScheme
All Implemented Interfaces:
ColourScheme

public class ChainedColourScheme
extends Object
implements ColourScheme

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, 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
 
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 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)
Specified by:
get in interface ColourScheme


Copyright © 2003-2012 Atlassian. All Rights Reserved.