| java.lang.Object sun.awt.X11.MotifColorUtilities
MotifColorUtilities | class MotifColorUtilities (Code) | | This class contains code that is need to mimic the
Motif Color selection and color defaults code.
Portions of this code have been ported to java from
Motif sources (Color.c) (ColorP.h) etc.
Author: Bino George
|
Method Summary | |
static int | brightness(int red, int green, int blue) | static int | calculateBottomShadowFromBackground(int r, int g, int b) | static int | calculateForegroundFromBackground(int r, int g, int b) | static int | calculateSelectFromBackground(int r, int g, int b) | static int | calculateTopShadowFromBackground(int r, int g, int b) | static void | loadMotifDefaultColors(int[] systemColors) | static void | loadSystemColors(int[] systemColors) | static void | loadSystemColorsForCDE(int[] systemColors) |
BLACK | final static int BLACK(Code) | | |
DEFAULT_COLOR | final static int DEFAULT_COLOR(Code) | | |
MOTIF_WINDOW_COLOR | final static int MOTIF_WINDOW_COLOR(Code) | | |
WHITE | final static int WHITE(Code) | | |
XmBLUE_LUMINOSITY | final static float XmBLUE_LUMINOSITY(Code) | | |
XmCOLOR_DARK_BS_FACTOR | final static int XmCOLOR_DARK_BS_FACTOR(Code) | | |
XmCOLOR_DARK_SEL_FACTOR | final static int XmCOLOR_DARK_SEL_FACTOR(Code) | | |
XmCOLOR_DARK_THRESHOLD | final static int XmCOLOR_DARK_THRESHOLD(Code) | | |
XmCOLOR_DARK_TS_FACTOR | final static int XmCOLOR_DARK_TS_FACTOR(Code) | | |
XmCOLOR_HI_BS_FACTOR | final static int XmCOLOR_HI_BS_FACTOR(Code) | | |
XmCOLOR_HI_SEL_FACTOR | final static int XmCOLOR_HI_SEL_FACTOR(Code) | | |
XmCOLOR_HI_TS_FACTOR | final static int XmCOLOR_HI_TS_FACTOR(Code) | | |
XmCOLOR_LITE_BS_FACTOR | final static int XmCOLOR_LITE_BS_FACTOR(Code) | | |
XmCOLOR_LITE_SEL_FACTOR | final static int XmCOLOR_LITE_SEL_FACTOR(Code) | | |
XmCOLOR_LITE_THRESHOLD | final static int XmCOLOR_LITE_THRESHOLD(Code) | | |
XmCOLOR_LITE_TS_FACTOR | final static int XmCOLOR_LITE_TS_FACTOR(Code) | | |
XmCOLOR_LO_BS_FACTOR | final static int XmCOLOR_LO_BS_FACTOR(Code) | | |
XmCOLOR_LO_SEL_FACTOR | final static int XmCOLOR_LO_SEL_FACTOR(Code) | | |
XmCOLOR_LO_TS_FACTOR | final static int XmCOLOR_LO_TS_FACTOR(Code) | | |
XmCOLOR_PERCENTILE | final static int XmCOLOR_PERCENTILE(Code) | | |
XmDEFAULT_DARK_THRESHOLD | final static int XmDEFAULT_DARK_THRESHOLD(Code) | | |
XmDEFAULT_FOREGROUND_THRESHOLD | final static int XmDEFAULT_FOREGROUND_THRESHOLD(Code) | | |
XmDEFAULT_LIGHT_THRESHOLD | final static int XmDEFAULT_LIGHT_THRESHOLD(Code) | | |
XmFOREGROUND_THRESHOLD | final static int XmFOREGROUND_THRESHOLD(Code) | | |
XmGREEN_LUMINOSITY | final static float XmGREEN_LUMINOSITY(Code) | | |
XmINTENSITY_FACTOR | final static int XmINTENSITY_FACTOR(Code) | | |
XmLIGHT_FACTOR | final static int XmLIGHT_FACTOR(Code) | | |
XmLUMINOSITY_FACTOR | final static int XmLUMINOSITY_FACTOR(Code) | | |
XmMAX_SHORT | final static int XmMAX_SHORT(Code) | | |
XmRED_LUMINOSITY | final static float XmRED_LUMINOSITY(Code) | | |
brightness | static int brightness(int red, int green, int blue)(Code) | | |
calculateBottomShadowFromBackground | static int calculateBottomShadowFromBackground(int r, int g, int b)(Code) | | |
calculateForegroundFromBackground | static int calculateForegroundFromBackground(int r, int g, int b)(Code) | | |
calculateSelectFromBackground | static int calculateSelectFromBackground(int r, int g, int b)(Code) | | |
calculateTopShadowFromBackground | static int calculateTopShadowFromBackground(int r, int g, int b)(Code) | | |
loadMotifDefaultColors | static void loadMotifDefaultColors(int[] systemColors)(Code) | | |
loadSystemColors | static void loadSystemColors(int[] systemColors)(Code) | | |
loadSystemColorsForCDE | static void loadSystemColorsForCDE(int[] systemColors) throws Exception(Code) | | |
|
|