picasso.parser.language.expressions
Enum ReferenceForExpressionEvaluations

java.lang.Object
  extended by java.lang.Enum<ReferenceForExpressionEvaluations>
      extended by picasso.parser.language.expressions.ReferenceForExpressionEvaluations
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReferenceForExpressionEvaluations>

public enum ReferenceForExpressionEvaluations
extends java.lang.Enum<ReferenceForExpressionEvaluations>

This is the original implementation. Will probably want to refactor to fit within framework. Enumeration to evaluate binary operations and methods


Enum Constant Summary
COS
           
DIVIDE
           
INVERT
           
MINUS
           
PERLINBW
           
PERLINCOLOR
           
PLUS
           
RGB2YCRCR
           
TIMES
           
X
           
Y
           
YCRC2RGBR
           
 
Method Summary
abstract  RGBColor evaluate(RGBColor left, RGBColor right)
           
static ReferenceForExpressionEvaluations valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReferenceForExpressionEvaluations[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X

public static final ReferenceForExpressionEvaluations X

Y

public static final ReferenceForExpressionEvaluations Y

PLUS

public static final ReferenceForExpressionEvaluations PLUS

MINUS

public static final ReferenceForExpressionEvaluations MINUS

TIMES

public static final ReferenceForExpressionEvaluations TIMES

DIVIDE

public static final ReferenceForExpressionEvaluations DIVIDE

COS

public static final ReferenceForExpressionEvaluations COS

PERLINCOLOR

public static final ReferenceForExpressionEvaluations PERLINCOLOR

PERLINBW

public static final ReferenceForExpressionEvaluations PERLINBW

RGB2YCRCR

public static final ReferenceForExpressionEvaluations RGB2YCRCR

YCRC2RGBR

public static final ReferenceForExpressionEvaluations YCRC2RGBR

INVERT

public static final ReferenceForExpressionEvaluations INVERT
Method Detail

values

public static ReferenceForExpressionEvaluations[] 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 (ReferenceForExpressionEvaluations c : ReferenceForExpressionEvaluations.values())
    System.out.println(c);

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

valueOf

public static ReferenceForExpressionEvaluations 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

evaluate

public abstract RGBColor evaluate(RGBColor left,
                                  RGBColor right)