|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Histogram.HistogramType>
adams.data.jai.flattener.Histogram.HistogramType
public static enum Histogram.HistogramType
The type of histogram to generate.
| Enum Constant Summary | |
|---|---|
EIGHT_BIT
8-bit. |
|
RGB
RGB. |
|
| Method Summary | |
|---|---|
Histogram.HistogramType |
parse(String s)
Parses the given string and returns the associated enum. |
String |
toDisplay()
Returns the display string. |
String |
toRaw()
Returns the raw enum string. |
String |
toString()
Returns the display string. |
static String |
toString(AbstractOption option,
Object object)
Returns the enum as string. |
static Histogram.HistogramType |
valueOf(AbstractOption option,
String str)
Returns an enum generated from the string. |
static Histogram.HistogramType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Histogram.HistogramType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Histogram.HistogramType EIGHT_BIT
public static final Histogram.HistogramType RGB
| Method Detail |
|---|
public static Histogram.HistogramType[] values()
for (Histogram.HistogramType c : Histogram.HistogramType.values()) System.out.println(c);
public static Histogram.HistogramType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toDisplay()
toDisplay in interface EnumWithCustomDisplay<Histogram.HistogramType>public String toRaw()
toRaw in interface EnumWithCustomDisplay<Histogram.HistogramType>public String toString()
toString in class Enum<Histogram.HistogramType>public Histogram.HistogramType parse(String s)
parse in interface EnumWithCustomDisplay<Histogram.HistogramType>s - the string to parse
public static String toString(AbstractOption option,
Object object)
option - the current optionobject - the enum object to convert
public static Histogram.HistogramType valueOf(AbstractOption option,
String str)
option - the current optionstr - the string to convert to an enum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||