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 |
---|---|
boolean |
equals(Object object) |
String |
get(String colourName,
double lightnessDelta) |
int |
hashCode() |
static int |
hslToRgb(float[] hsl)
Deprecated.
since 5.10
|
boolean |
isDefaultColourScheme() |
static void |
rgbToHsl(int rgb,
float[] hsl)
Deprecated.
since 5.10
|
clone, finalize, getClass, 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.@Deprecated public static void rgbToHsl(int rgb, float[] hsl)
rgb
- hsl
- @Deprecated public static int hslToRgb(float[] hsl)
hsl
- public boolean equals(Object object)
equals
in interface ColourScheme
equals
in class Object
public int hashCode()
hashCode
in interface ColourScheme
hashCode
in class Object
public boolean isDefaultColourScheme()
isDefaultColourScheme
in interface ColourScheme
Copyright © 2003–2016 Atlassian. All rights reserved.