com.atlassian.confluence.themes
Class BaseColourScheme

java.lang.Object
  extended by com.atlassian.confluence.themes.BaseColourScheme
All Implemented Interfaces:
ColourScheme, java.io.Serializable

public class BaseColourScheme
extends java.lang.Object
implements ColourScheme, java.io.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
protected  java.util.Map colours
           
 
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
BaseColourScheme()
           
BaseColourScheme(ColourScheme colourScheme)
          Copying Constructor.
BaseColourScheme(java.util.Map colours)
           
 
Method Summary
 java.lang.String get(java.lang.String colourName)
           
 void set(java.lang.String colourName, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colours

protected java.util.Map colours
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(java.util.Map colours)
Method Detail

set

public void set(java.lang.String colourName,
                java.lang.String value)

get

public java.lang.String get(java.lang.String colourName)
Specified by:
get in interface ColourScheme


Copyright © 2003-2010 Atlassian. All Rights Reserved.