|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Substitutable
Interface for any class that wishes to perform a dynamic variable or function substitution.
Method Summary | |
---|---|
Object |
doFunction(Vector function)
Should substitute the given function with an appropriate value. |
int |
getReturnType()
Should report the type of value returned by a call to getValue . |
Object |
getValue(String varName)
Should substitute the given variable name with an appropriate value. |
void |
setFocalModifier(double xOffset,
double yOffset)
Should allow a focal modifier (relative spatial offset) to be set. |
Method Detail |
---|
Object getValue(String varName)
varName
- Name of variable to substitute.
int getReturnType()
getValue
.
This should be one of MatheEvaluator.EXPR_STRING
,
MatheEvaluator.EXPR_VARIABLE
, MatheEvaluator.EXPR_NUMERIC
,
MatheEvaluator.EXPR_SPATIAL
, or MatheEvaluator.EXPR_OTHER
.
MatheEvaluator.EXPR_OTHER
can also be used if type is not known or used.
Object doFunction(Vector function)
function
- Name and parameters of function to call.
void setFocalModifier(double xOffset, double yOffset)
xOffset
- Offset in the x direction.yOffset
- Offset in the y direction.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |