public static enum ColorComponent.Colors extends Enum<ColorComponent.Colors>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
CYAN |
GRAY |
GREEN |
MAGENTA |
RED |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getPosition() |
static ColorComponent.Colors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorComponent.Colors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorComponent.Colors GRAY
public static final ColorComponent.Colors RED
public static final ColorComponent.Colors GREEN
public static final ColorComponent.Colors BLUE
public static final ColorComponent.Colors CYAN
public static final ColorComponent.Colors MAGENTA
public static final ColorComponent.Colors YELLOW
public static final ColorComponent.Colors BLACK
public static ColorComponent.Colors[] values()
for (ColorComponent.Colors c : ColorComponent.Colors.values()) System.out.println(c);
public static ColorComponent.Colors 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 int getPosition()
public String getName()
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.