|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.themes.AbstractColourScheme
public abstract class AbstractColourScheme
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, SPACE_NAME, TOP_BAR, TOP_BAR_MENU_ITEM_TEXT, TOP_BAR_MENU_SELECTED_BACKGROUND, TOP_BAR_MENU_SELECTED_TEXT |
Constructor Summary | |
---|---|
AbstractColourScheme()
|
Method Summary | |
---|---|
java.lang.String |
get(java.lang.String colourName,
double lightnessDelta)
|
static int |
hslToRgb(float[] hsl)
|
static void |
rgbToHsl(int rgb,
float[] hsl)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.themes.ColourScheme |
---|
get |
Constructor Detail |
---|
public AbstractColourScheme()
Method Detail |
---|
public java.lang.String get(java.lang.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |