cz.cuni.jagrlib.piece
Enum ImageTransition.FieldType

java.lang.Object
  extended by java.lang.Enum<ImageTransition.FieldType>
      extended by cz.cuni.jagrlib.piece.ImageTransition.FieldType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageTransition.FieldType>
Enclosing class:
ImageTransition

protected static enum ImageTransition.FieldType
extends java.lang.Enum<ImageTransition.FieldType>

Image field function: R2 -> <0,1> mapping.


Enum Constant Summary
FIELD_EXTERNAL
          External field value.
FIELD_NONE
          Constant value: 1/2.
FIELD_RAMP
          Linear ramp, see ImageTransition.Direction.
FIELD_RANDOM
          Random field.
 
Method Summary
static ImageTransition.FieldType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageTransition.FieldType[] 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

FIELD_NONE

public static final ImageTransition.FieldType FIELD_NONE
Constant value: 1/2.


FIELD_EXTERNAL

public static final ImageTransition.FieldType FIELD_EXTERNAL
External field value.


FIELD_RAMP

public static final ImageTransition.FieldType FIELD_RAMP
Linear ramp, see ImageTransition.Direction.


FIELD_RANDOM

public static final ImageTransition.FieldType FIELD_RANDOM
Random field.

Method Detail

values

public static ImageTransition.FieldType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ImageTransition.FieldType c : ImageTransition.FieldType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ImageTransition.FieldType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null