bad.robot.excel.style
Enum Colour
java.lang.Object
java.lang.Enum<Colour>
bad.robot.excel.style.Colour
- All Implemented Interfaces:
- Serializable, Comparable<Colour>
public enum Colour
- extends Enum<Colour>
Method Summary |
short |
getPoiStyle()
|
static Colour |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Colour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Brown
public static final Colour Brown
Blue
public static final Colour Blue
DarkRed
public static final Colour DarkRed
DarkGrey
public static final Colour DarkGrey
DarkYellow
public static final Colour DarkYellow
Red
public static final Colour Red
Black
public static final Colour Black
Grey
public static final Colour Grey
White
public static final Colour White
BrightGreen
public static final Colour BrightGreen
Yellow
public static final Colour Yellow
Pink
public static final Colour Pink
Turquoise
public static final Colour Turquoise
Green
public static final Colour Green
Violet
public static final Colour Violet
Teal
public static final Colour Teal
Maroon
public static final Colour Maroon
Coral
public static final Colour Coral
Rose
public static final Colour Rose
Lavender
public static final Colour Lavender
Orange
public static final Colour Orange
Olive
public static final Colour Olive
Plum
public static final Colour Plum
values
public static Colour[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Colour c : Colour.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Colour valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getPoiStyle
public short getPoiStyle()
Copyright © 2013. All Rights Reserved.