|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.format.Colour
Enumeration class which contains the various colours available within the standard Excel colour palette
Constructor Summary | |
protected |
Colour(int val,
java.lang.String s,
int r,
int g,
int b)
Private constructor |
Method Summary | |
static Colour[] |
getAllColours()
Returns all available colours - used when generating the default palette |
int |
getDefaultBlue()
Gets the default blue content of this colour. |
int |
getDefaultGreen()
Gets the default green content of this colour. |
int |
getDefaultRed()
Gets the default red content of this colour. |
java.lang.String |
getDescription()
Gets the string description for display purposes |
static Colour |
getInternalColour(int val)
Gets the internal colour from the value |
int |
getValue()
Gets the value of this colour. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int value
private int red
private int green
private int blue
private java.lang.String string
private boolean initialized
private static Colour[] colours
public static final Colour UNKNOWN
public static final Colour BLACK
public static final Colour WHITE
public static final Colour DEFAULT_BACKGROUND1
public static final Colour DEFAULT_BACKGROUND
public static final Colour PALETTE_BLACK
public static final Colour RED
public static final Colour BRIGHT_GREEN
public static final Colour BLUE
public static final Colour YELLOW
public static final Colour PINK
public static final Colour TURQUOISE
public static final Colour DARK_RED
public static final Colour GREEN
public static final Colour DARK_BLUE
public static final Colour DARK_YELLOW
public static final Colour VIOLET
public static final Colour TEAL
public static final Colour GREY_25_PERCENT
public static final Colour GREY_50_PERCENT
public static final Colour PERIWINKLE
public static final Colour PLUM2
public static final Colour IVORY
public static final Colour LIGHT_TURQUOISE2
public static final Colour DARK_PURPLE
public static final Colour CORAL
public static final Colour OCEAN_BLUE
public static final Colour ICE_BLUE
public static final Colour DARK_BLUE2
public static final Colour PINK2
public static final Colour YELLOW2
public static final Colour TURQOISE2
public static final Colour VIOLET2
public static final Colour DARK_RED2
public static final Colour TEAL2
public static final Colour BLUE2
public static final Colour SKY_BLUE
public static final Colour LIGHT_TURQUOISE
public static final Colour LIGHT_GREEN
public static final Colour VERY_LIGHT_YELLOW
public static final Colour PALE_BLUE
public static final Colour ROSE
public static final Colour LAVENDER
public static final Colour TAN
public static final Colour LIGHT_BLUE
public static final Colour AQUA
public static final Colour LIME
public static final Colour GOLD
public static final Colour LIGHT_ORANGE
public static final Colour ORANGE
public static final Colour BLUE_GREY
public static final Colour GREY_40_PERCENT
public static final Colour DARK_TEAL
public static final Colour SEA_GREEN
public static final Colour DARK_GREEN
public static final Colour OLIVE_GREEN
public static final Colour BROWN
public static final Colour PLUM
public static final Colour INDIGO
public static final Colour GREY_80_PERCENT
public static final Colour GRAY_80
public static final Colour GRAY_50
public static final Colour GRAY_25
Constructor Detail |
protected Colour(int val, java.lang.String s, int r, int g, int b)
val
- s
- the display stringr
- the default red valueg
- the default green valueb
- the default blue valueMethod Detail |
public int getValue()
public java.lang.String getDescription()
public int getDefaultRed()
public int getDefaultGreen()
public int getDefaultBlue()
public static Colour getInternalColour(int val)
val
- public static Colour[] getAllColours()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |