public static enum ImageBanner.PixelMode extends java.lang.Enum<ImageBanner.PixelMode>
Enum Constant and Description |
---|
BLOCK
Use unicode block chars for pixels.
|
TEXT
Use text chars for pixels.
|
Modifier and Type | Method and Description |
---|---|
static ImageBanner.PixelMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageBanner.PixelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageBanner.PixelMode TEXT
public static final ImageBanner.PixelMode BLOCK
public static ImageBanner.PixelMode[] values()
for (ImageBanner.PixelMode c : ImageBanner.PixelMode.values()) System.out.println(c);
public static ImageBanner.PixelMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null