tecgraf.javautils.excel.v1
Enum ExcelColor

java.lang.Object
  extended by java.lang.Enum<ExcelColor>
      extended by tecgraf.javautils.excel.v1.ExcelColor
All Implemented Interfaces:
Serializable, Comparable<ExcelColor>

public enum ExcelColor
extends Enum<ExcelColor>

Classe que guarda todas as cores

Author:
bbreder

Enum Constant Summary
BLACK
          Preto
BLUE
          Azul
BROWN
          Marrom
GRAY_25
          Cinza claro
GRAY_50
          Cinza
GRAY_75
          Cinza escuro
GREEN
          Verde
LIGHT_BLUE
          Azul claro
LIGHT_GREEN
          Verde claro
LIGHT_ORANGE
          Laranja claro
LIGHT_PINK
          Rosa claro
LIGHT_RED
          Vermelho claro
LIGHT_YELLOW
          Amarelo claro
ORANGE
          Laranja
PINK
          Rosa
RED
          Vermelho
WHITE
          Branco
YELLOW
          Amarelo
 
Method Summary
static ExcelColor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExcelColor[] 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

BLACK

public static final ExcelColor BLACK
Preto


LIGHT_BLUE

public static final ExcelColor LIGHT_BLUE
Azul claro


BLUE

public static final ExcelColor BLUE
Azul


LIGHT_GREEN

public static final ExcelColor LIGHT_GREEN
Verde claro


GREEN

public static final ExcelColor GREEN
Verde


BROWN

public static final ExcelColor BROWN
Marrom


LIGHT_RED

public static final ExcelColor LIGHT_RED
Vermelho claro


RED

public static final ExcelColor RED
Vermelho


LIGHT_YELLOW

public static final ExcelColor LIGHT_YELLOW
Amarelo claro


YELLOW

public static final ExcelColor YELLOW
Amarelo


GRAY_25

public static final ExcelColor GRAY_25
Cinza claro


GRAY_50

public static final ExcelColor GRAY_50
Cinza


GRAY_75

public static final ExcelColor GRAY_75
Cinza escuro


LIGHT_ORANGE

public static final ExcelColor LIGHT_ORANGE
Laranja claro


ORANGE

public static final ExcelColor ORANGE
Laranja


LIGHT_PINK

public static final ExcelColor LIGHT_PINK
Rosa claro


PINK

public static final ExcelColor PINK
Rosa


WHITE

public static final ExcelColor WHITE
Branco

Method Detail

values

public static ExcelColor[] 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 (ExcelColor c : ExcelColor.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExcelColor 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


Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.