|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RadiosityHierarch.Colors>
cz.cuni.jagrlib.testing.RadiosityHierarch.Colors
public static enum RadiosityHierarch.Colors
Supported colors.
Enum Constant Summary | |
---|---|
BLUE
Compute with blue component (only blue component is used). |
|
BLUE_GRAY
Compute with blue component (all components are the same -> result is gray). |
|
GREEN
Compute with green component (only green component is used). |
|
GREEN_GRAY
Compute with green component (all components are the same -> result is gray). |
|
RED
Compute with red component (only red component is used). |
|
RED_GRAY
Compute with red component (all components are the same -> result is gray). |
|
RGB
Use all three components (R - red, G - green, B - blue). |
Method Summary | |
---|---|
static RadiosityHierarch.Colors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RadiosityHierarch.Colors[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RadiosityHierarch.Colors RGB
public static final RadiosityHierarch.Colors RED
public static final RadiosityHierarch.Colors GREEN
public static final RadiosityHierarch.Colors BLUE
public static final RadiosityHierarch.Colors RED_GRAY
public static final RadiosityHierarch.Colors GREEN_GRAY
public static final RadiosityHierarch.Colors BLUE_GRAY
Method Detail |
---|
public static RadiosityHierarch.Colors[] values()
for (RadiosityHierarch.Colors c : RadiosityHierarch.Colors.values()) System.out.println(c);
public static RadiosityHierarch.Colors 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |