|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpicasso.parser.language.ExpressionTreeNode
picasso.parser.language.expressions.Variable
public class Variable
Represents a variable
Constructor Summary | |
---|---|
Variable(java.lang.String name,
ExpressionTreeNode value)
|
Method Summary | |
---|---|
RGBColor |
evaluate(double x,
double y)
Evaluate this expression, given x and y |
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Variable(java.lang.String name, ExpressionTreeNode value)
Method Detail |
---|
public RGBColor evaluate(double x, double y)
ExpressionTreeNode
evaluate
in interface EvaluatableExpression
evaluate
in class ExpressionTreeNode
public java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |