|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ecl.datepicker.resources.Colors
public final class Colors
A color registry with ability to cache requested colors. The colors acquired
from this class are disposed on release of the default Display instance.
| Method Summary | |
|---|---|
static Color |
darker(Color source,
double percent)
|
static Color |
getBlack()
Returns the default color black. |
static Color |
getBlue()
Returns the default color blue. |
static Color |
getColor(int red,
int green,
int blue)
Returns a cached color for the given red,
green and blue values. |
static Color |
getColor(RGB rgb)
Returns a cached color for the given RGB describing the
desired red, green and blue values. |
static Color |
getCyan()
Returns the default color cyan. |
static Color |
getDarkBlue()
Returns the default color dark blue. |
static Color |
getDarkCyan()
Returns the default color dark cyan. |
static Color |
getDarkGray()
Returns the default color dark gray. |
static Color |
getDarkGreen()
Returns the default color dark green. |
static Color |
getDarkMagenta()
Returns the default color dark magenta. |
static Color |
getDarkRed()
Returns the default color dark red. |
static Color |
getDarkYellow()
Returns the default color dark yellow. |
static Color |
getGray()
Returns the default color gray. |
static Color |
getGreen()
Returns the default color green. |
static Color |
getInfoBackground()
Returns the system color used to paint tooltip background areas. |
static Color |
getInfoForeground()
Returns the system color used to paint tooltip text. |
static Color |
getListBackground()
Returns the system color used to paint list background areas. |
static Color |
getListForeground()
Returns the system color used to paint list foreground areas. |
static Color |
getListSelection()
Returns the system color used to paint list selection background areas. |
static Color |
getListSelectionText()
Returns the system color used to paint list selected text. |
static Color |
getMagenta()
Returns the default color magenta. |
static Color |
getRed()
Returns the default color red. |
static Color |
getSystemColor(int colorId)
Returns a cached system color for the given id. |
static Color |
getTitleBackground()
Returns the system color used to paint title background areas. |
static Color |
getTitleBackgroundGradient()
Returns the system color used to paint title background gradient. |
static Color |
getTitleForeground()
Returns the system color used to paint title text. |
static Color |
getTitleInactiveBackground()
Returns the system color used to paint inactive title background areas. |
static Color |
getTitleInactiveBackgroundGradient()
Returns the system color used to paint inactive title background gradient. |
static Color |
getTitleInactiveForeground()
Returns the system color used to paint inactive title text. |
static Color |
getWhite()
Returns the default color white. |
static Color |
getWidgetBackground()
Returns the system color used to paint background areas. |
static Color |
getWidgetBorder()
Returns the system color used to paint border areas. |
static Color |
getWidgetDarkShadow()
Returns the system color used to paint dark shadow areas. |
static Color |
getWidgetForeground()
Returns the system color used to paint foreground areas. |
static Color |
getWidgetHighlightShadow()
Returns the system color used to paint highlight shadow areas. |
static Color |
getWidgetLightShadow()
Returns the system color used to paint light shadow areas. |
static Color |
getWidgetNormalShadow()
Returns the system color used to paint normal shadow areas. |
static Color |
getYellow()
Returns the default color yellow. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Color darker(Color source,
double percent)
source - percent -
public static Color getBlack()
public static Color getBlue()
public static Color getColor(int red,
int green,
int blue)
red,
green and blue values.
red - the red componentgreen - the green componentblue - the blue component
public static Color getColor(RGB rgb)
RGB describing the
desired red, green and blue values.
rgb - the RGB values of the desired color
public static Color getCyan()
public static Color getDarkBlue()
public static Color getDarkCyan()
public static Color getDarkGray()
public static Color getDarkGreen()
public static Color getDarkMagenta()
public static Color getDarkRed()
public static Color getDarkYellow()
public static Color getGray()
public static Color getGreen()
public static Color getInfoBackground()
public static Color getInfoForeground()
public static Color getListBackground()
public static Color getListForeground()
public static Color getListSelection()
public static Color getListSelectionText()
public static Color getMagenta()
public static Color getRed()
public static Color getSystemColor(int colorId)
id.
colorId - the color id
public static Color getTitleBackground()
public static Color getTitleBackgroundGradient()
public static Color getTitleForeground()
public static Color getTitleInactiveBackground()
public static Color getTitleInactiveBackgroundGradient()
public static Color getTitleInactiveForeground()
public static Color getWhite()
public static Color getWidgetBackground()
public static Color getWidgetBorder()
public static Color getWidgetDarkShadow()
public static Color getWidgetForeground()
public static Color getWidgetHighlightShadow()
public static Color getWidgetLightShadow()
public static Color getWidgetNormalShadow()
public static Color getYellow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||