|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUI.Run.JSci.GEVAGraphColours
public class GEVAGraphColours
Some colour fluff
| Field Summary | |
|---|---|
static int[] |
colourIndexes
|
static java.lang.String[] |
colourNames
|
| Method Summary | |
|---|---|
static java.lang.String |
getColourName(java.awt.Color colour)
Get the nearest colour that matches and return the name of that colour. |
static java.awt.Color |
getNamedColour(java.lang.String name)
Given a name, return the colour |
static boolean |
isBright(java.awt.Color colour)
Taken from http://www.w3.org/TR/AERT#color-contrast |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int[] colourIndexes
public static final java.lang.String[] colourNames
| Method Detail |
|---|
public static java.lang.String getColourName(java.awt.Color colour)
colour - Colour to find nearest match for
public static java.awt.Color getNamedColour(java.lang.String name)
name - The name of the colour
public static boolean isBright(java.awt.Color colour)
colour -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||