public enum ImageColor extends Enum<ImageColor>
| Enum Constant and Description |
|---|
BLACK_AND_WHITE |
COLOR |
SINGLE_COLOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static ImageColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageColor COLOR
public static final ImageColor BLACK_AND_WHITE
public static final ImageColor SINGLE_COLOR
public static ImageColor[] values()
for (ImageColor c : ImageColor.values()) System.out.println(c);
public static ImageColor 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 String getName()
Copyright © 2014. All rights reserved.