public enum ColorRange extends Enum<ColorRange>
Enum Constant and Description |
---|
JPEG
The color range to be applied
|
MPEG
The color range to be applied
|
UNSPECIFIED
The color range to be applied
|
Modifier and Type | Method and Description |
---|---|
static ColorRange |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ColorRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorRange UNSPECIFIED
public static final ColorRange MPEG
public static final ColorRange JPEG
public static ColorRange[] values()
for (ColorRange c : ColorRange.values()) System.out.println(c);
public static ColorRange 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 getValue()
public String toString()
toString
in class Enum<ColorRange>
public static ColorRange fromValue(String text)
Copyright © 2020. All rights reserved.