bad.robot.excel.style
Enum Colour

java.lang.Object
  extended by java.lang.Enum<Colour>
      extended by bad.robot.excel.style.Colour
All Implemented Interfaces:
Serializable, Comparable<Colour>

public enum Colour
extends Enum<Colour>


Enum Constant Summary
Black
           
Blue
           
BrightGreen
           
Brown
           
Coral
           
DarkGrey
           
DarkRed
           
DarkYellow
           
Green
           
Grey
           
Lavender
           
Maroon
           
Olive
           
Orange
           
Pink
           
Plum
           
Red
           
Rose
           
Teal
           
Turquoise
           
Violet
           
White
           
Yellow
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.