public enum OperaColors extends Enum<OperaColors>
| Enum Constant and Description |
|---|
AQUA |
BLACK |
BLUE |
FUSCHIA |
GRAY |
GREEN |
LIME |
MAROON |
NAVY |
OLIVE |
PURPLE |
RED |
SILVER |
TEAL |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
OperaColor |
getColour() |
static OperaColors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperaColors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperaColors AQUA
public static final OperaColors BLACK
public static final OperaColors BLUE
public static final OperaColors FUSCHIA
public static final OperaColors GRAY
public static final OperaColors GREEN
public static final OperaColors LIME
public static final OperaColors MAROON
public static final OperaColors NAVY
public static final OperaColors OLIVE
public static final OperaColors PURPLE
public static final OperaColors RED
public static final OperaColors SILVER
public static final OperaColors TEAL
public static final OperaColors WHITE
public static final OperaColors YELLOW
public static OperaColors[] values()
for (OperaColors c : OperaColors.values()) System.out.println(c);
public static OperaColors valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic OperaColor getColour()
Copyright © 2012. All Rights Reserved.