public static enum FontStyle.StandardColors extends Enum<FontStyle.StandardColors> implements INumberEnum<Byte>
Enum Constant and Description |
---|
BLACK |
BLUE |
CYAN |
DKBLUE |
DKCYAN |
DKGREEN |
DKMAGENTA |
DKRED |
DKYELLOW |
GRAY |
GREEN |
LTGRAY |
MAGENTA |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static FontStyle.StandardColors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle.StandardColors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle.StandardColors BLACK
public static final FontStyle.StandardColors WHITE
public static final FontStyle.StandardColors RED
public static final FontStyle.StandardColors GREEN
public static final FontStyle.StandardColors BLUE
public static final FontStyle.StandardColors MAGENTA
public static final FontStyle.StandardColors YELLOW
public static final FontStyle.StandardColors CYAN
public static final FontStyle.StandardColors DKRED
public static final FontStyle.StandardColors DKGREEN
public static final FontStyle.StandardColors DKBLUE
public static final FontStyle.StandardColors DKMAGENTA
public static final FontStyle.StandardColors DKYELLOW
public static final FontStyle.StandardColors DKCYAN
public static final FontStyle.StandardColors GRAY
public static final FontStyle.StandardColors LTGRAY
public static FontStyle.StandardColors[] values()
for (FontStyle.StandardColors c : FontStyle.StandardColors.values()) System.out.println(c);
public static FontStyle.StandardColors 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 long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
public Byte getValue()
getValue
in interface INumberEnum<Byte>
Copyright © 2019–2021 HCL. All rights reserved.