Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
jxl.format.Colour
public class Colour
extends java.lang.Object
Field Summary | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour | |
static Colour |
Method Summary | |
static Colour[] |
|
int |
|
int |
|
RGB |
|
int |
|
String |
|
static Colour |
|
int |
|
public static Colour[] getAllColours()
Returns all available colours - used when generating the default palette
- Returns:
- all available colours
public int getDefaultBlue()
Deprecated. use getDefaultRGB instead
Gets the default blue content of this colour. Used when writing the default colour palette
- Returns:
- the blue content of this colour
public int getDefaultGreen()
Deprecated. use getDefaultRGB instead
Gets the default green content of this colour. Used when writing the default colour palette
- Returns:
- the green content of this colour
public RGB getDefaultRGB()
Returns the default RGB of the colour
- Returns:
- the default RGB
public int getDefaultRed()
Deprecated. use getDefaultRGB instead
Gets the default red content of this colour. Used when writing the default colour palette
- Returns:
- the red content of this colour
public String getDescription()
Gets the string description for display purposes
- Returns:
- the string description
public static Colour getInternalColour(int val)
Gets the internal colour from the value
- Parameters:
val
-
- Returns:
- the colour with that value
public int getValue()
Gets the value of this colour. This is the value that is written to the generated Excel file
- Returns:
- the binary value