public abstract class AbstractColourScheme extends Object implements 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 and Description |
---|
AbstractColourScheme() |
Modifier and Type | Method and Description |
---|---|
String |
get(String colourName,
double lightnessDelta) |
static int |
hslToRgb(float[] hsl) |
static void |
rgbToHsl(int rgb,
float[] hsl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public String get(String colourName, double lightnessDelta)
get
in interface ColourScheme
colourName
- name of the colour to retrievelightnessDelta
- value to add or deduct from the current lightness of the colour. Can be negative.public static void rgbToHsl(int rgb, float[] hsl)
public static int hslToRgb(float[] hsl)
Copyright © 2003–2016 Atlassian. All rights reserved.